Borderou de evaluare (job #2884054)

Utilizator C_R_I_S_T_I_2_3Cristi Gavrila C_R_I_S_T_I_2_3 Data 2 aprilie 2022 12:29:37
Problema Intrus Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 45

Raport evaluator

Compilare: main.cpp: In function 'void citire()': main.cpp:84:20: warning: unused variable 'aux' [-Wunused-variable] 84 | intrus aux; | ^~~ main.cpp:81:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 81 | for(int i = 1; i <= n; i ++) | ^~~ main.cpp:92:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 92 | sol += nr; | ^~~ main.cpp: In function 'void ciur()': main.cpp:38:14: warning: iteration 499998 invokes undefined behavior [-Waggressive-loop-optimizations] 38 | c[i] = 1; | ~~~~~^~~ main.cpp:37:22: note: within this loop 37 | for(int i = 4; i <= 1000000; i += 2) | ~~^~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
110ms3186kbIncorect0
212ms5292kbIncorect0
323ms6025kbIncorect0
430ms5341kbOK5
534ms4825kbOK5
6253ms4841kbOK5
753ms5238kbIncorect0
871ms5210kbIncorect0
9145ms5369kbOK5
10145ms5201kbIncorect0
11503ms22495kbTime limit exceeded0
12503ms24576kbTime limit exceeded0
13235ms4812kbOK5
14115ms5369kbOK5
15259ms5406kbIncorect0
1615ms5238kbIncorect0
17236ms5357kbOK5
18384ms5296kbIncorect0
19330ms5341kbOK5
20294ms5341kbOK5
Punctaj total45

Ceva nu functioneaza?