Search found 1 match

by acao11
Fri May 09, 2008 9:59 pm
Forum: Volume 113 (11300-11399)
Topic: 11387 - The 3-Regular Graph
Replies: 8
Views: 4732

11387 - The 3-Regular Graph

I dont know why it is wrong... What case doesnt it get ?... #include <iostream> int main() { int n ; while (scanf("%d\n", &n)) { if (n == 0) break ; if ( n >= 1 && n <= 100 ) { int ** m = new int*[n] ; int * d = new int[n] ; for (int i = 0; i < n; i++) { m[i] = new int[n] ; d[i] = 0 ; for (int j = 0...

Go to advanced search