Borderou de evaluare (job #2865852)

Utilizator Luca_Miscocilucainfoarena Luca_Miscoci Data 9 martie 2022 11:11:32
Problema Cartele Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

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
12ms184kbIncorect00
22ms184kbIncorect0
32ms184kbIncorect0
46ms200kbIncorect0
56ms274kbIncorect0
66ms200kbIncorect00
711ms200kbIncorect0
811ms200kbIncorect0
916ms200kbIncorect0
1030ms200kbIncorect0
Punctaj total0

Ceva nu functioneaza?