Borderou de evaluare (job #2979526)

Utilizator siliviuSilion Liviu siliviu Data 15 februarie 2023 12:55:23
Problema Copii2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void scan()': main.cpp:38:28: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses] 38 | #define FOR(i,a,b) for(int (i)=(a);(i)<=(b);++(i)) | ^ main.cpp:80:2: note: in expansion of macro 'FOR' 80 | FOR(i,1,N) | ^~~ main.cpp:38:28: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses] 38 | #define FOR(i,a,b) for(int (i)=(a);(i)<=(b);++(i)) | ^ main.cpp:81:2: note: in expansion of macro 'FOR' 81 | FOR(j,1,N) | ^~~ main.cpp: In function 'int cost(int, int)': main.cpp:39:28: warning: unnecessary parentheses in declaration of 'k1' [-Wparentheses] 39 | #define REP(i, N) for (int (i)=0;(i)<(int)(N);++(i)) | ^ main.cpp:96:2: note: in expansion of macro 'REP' 96 | REP(k1,2) | ^~~ main.cpp:39:28: warning: unnecessary parentheses in declaration of 'k2' [-Wparentheses] 39 | #define REP(i, N) for (int (i)=0;(i)<(int)(N);++(i)) | ^ main.cpp:97:2: note: in expansion of macro 'REP' 97 | REP(k2,2) | ^~~ main.cpp: In function 'void BFS(int, int, int, int, int (*)[1010][1010])': main.cpp:39:28: warning: unnecessary parentheses in declaration of 'k' [-Wparentheses] 39 | #define REP(i, N) for (int (i)=0;(i)<(int)(N);++(i)) | ^ main.cpp:117:2: note: in expansion of macro 'REP' 117 | REP(k,4) | ^~~ main.cpp:39:28: warning: unnecessary parentheses in declaration of 'k' [-Wparentheses] 39 | #define REP(i, N) for (int (i)=0;(i)<(int)(N);++(i)) | ^ main.cpp:141:4: note: in expansion of macro 'REP' 141 | REP(k,4) | ^~~ main.cpp:142:73: warning: array subscript has type 'char' [-Wchar-subscripts] 142 | if( ok(x + xx[k],y + yy[k]) && C[k & 1][x + xx[k] ][y + yy[k] ] > C[dir][x][y] + (dir != (k & 1)) ) | ^~~ main.cpp:145:44: warning: array subscript has type 'char' [-Wchar-subscripts] 145 | C[newdir][x + xx[k] ][y + yy[k] ] = C[dir][x][y] + (dir != newdir); | ^~~ main.cpp: In function 'void solve()': main.cpp:39:28: warning: unnecessary parentheses in declaration of 'k' [-Wparentheses] 39 | #define REP(i, N) for (int (i)=0;(i)<(int)(N);++(i)) | ^ main.cpp:165:2: note: in expansion of macro 'REP'
Test Timp executie Memorie folosita Mesaj Punctaj/test
118ms294kbKilled by Signal 110
220ms294kbKilled by Signal 110
314ms286kbKilled by Signal 110
414ms290kbKilled by Signal 110
513ms282kbKilled by Signal 110
615ms294kbKilled by Signal 110
713ms184kbKilled by Signal 110
820ms299kbKilled by Signal 110
913ms290kbKilled by Signal 110
1012ms290kbKilled by Signal 110
1112ms282kbKilled by Signal 110
1215ms286kbKilled by Signal 110
1314ms278kbKilled by Signal 110
1415ms278kbKilled by Signal 110
1512ms290kbKilled by Signal 110
1614ms184kbKilled by Signal 110
1712ms282kbKilled by Signal 110
1814ms286kbKilled by Signal 110
1912ms290kbKilled by Signal 110
2020ms299kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?