Run Code  | Code Wall  | Users  | Misc  | Feedback  | About  | Login  | Theme  | Privacy 

GraphBase

Language: Editor: Layout:
+ ] Compiler args + ] Show input
Compilation time: 1.12 sec, absolute running time: 0.14 sec, cpu time: 0 sec, memory peak: 3 Mb, absolute service time: 1,27 sec  
edit mode |  history  | discussion
Dense graph:
 0: 1  2  5  6 
 1: 0 
 2: 0 
 3: 4  5 
 4: 3  5  6 
 5: 0  3  4 
 6: 0  4 
 7: 8 
 8: 7 
 9:10 11 12 
10: 9 
11: 9 12 
12: 9 11 

Sparse graph:
 0: 1  2  5  6 
 1: 0 
 2: 0 
 3: 4  5 
 4: 3  5  6 
 5: 0  3  4 
 6: 0  4 
 7: 8 
 8: 7 
 9:10 11 12 
10: 9 
11: 9 12 
12: 9 11