Pagini recente » Borderou de evaluare (job #2212848) | Borderou de evaluare (job #1985800) | Borderou de evaluare (job #905713) | Borderou de evaluare (job #2615260) | Borderou de evaluare (job #2865852)
Borderou de evaluare (job #2865852)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:49:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
49 | for (int i = 1; i <= n; i++)
| ^~~
main.cpp:71:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
71 | for (int i = 1; i <= TURNS; i++)
| ^~~
main.cpp:47:16: warning: iteration 7 invokes undefined behavior [-Waggressive-loop-optimizations]
47 | check[i] = 1;
| ~~~~~~~~~^~~
main.cpp:46:23: note: within this loop
46 | for (int i = 1; i <= TURNS; i++)
| ^
main.cpp:72:20: warning: iteration 7 invokes undefined behavior [-Waggressive-loop-optimizations]
72 | if (check[i])
| ~~~~~~~^
main.cpp:71:25: note: within this loop
71 | for (int i = 1; i <= TURNS; i++)
| ^
main.cpp:68:18: warning: array subscript 8 is above array bounds of 'int [8]' [-Warray-bounds]
68 | check[8] = 0;
| ~~~~~~~^
main.cpp:8:5: note: while referencing 'check'
8 | int check[TURNS];
| ^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 184kb | Incorect | 0 | 0 |
2 | 2ms | 184kb | Incorect | 0 |
3 | 2ms | 184kb | Incorect | 0 |
4 | 6ms | 200kb | Incorect | 0 |
5 | 6ms | 274kb | Incorect | 0 |
6 | 6ms | 200kb | Incorect | 0 | 0 |
7 | 11ms | 200kb | Incorect | 0 |
8 | 11ms | 200kb | Incorect | 0 |
9 | 16ms | 200kb | Incorect | 0 |
10 | 30ms | 200kb | Incorect | 0 |
Punctaj total | 0 |