This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
conky.config = { | |
alignment = 'bottom_right', | |
background = true, | |
update_interval = 1.5, | |
cpu_avg_samples = 2, | |
net_avg_samples = 2, | |
out_to_console = false, | |
override_utf8_locale = true, | |
double_buffer = true, | |
no_buffers = true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Scanner; | |
public class Dijkstra { | |
private static final Integer INF = Integer.MAX_VALUE; | |
private static final Integer[][] GRAPH = { | |
{ 0, 4, INF, 2, INF, INF }, | |
{ 4, 0, 5, 1, INF, INF }, | |
{ INF, 5, 0, 8, 2, 6 }, | |
{ 2, 1, 8, 0, 10, INF }, | |
{ INF, INF, 2, 10, 0, 3 }, |