Borderou de evaluare (job #3284589)

Utilizator robert111Peter Robert robert111 Data 11 martie 2025 22:03:26
Problema Polihroniade Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In function 'bool cer1(int)': main.cpp:12:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 12 | for(int i=0;i<n;i++) | ^~~ main.cpp:23:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 23 | if(cnt1!=n)return 0; | ^~ main.cpp: In function 'int cer23(int)': main.cpp:63:9: warning: unused variable 'cnt1' [-Wunused-variable] 63 | int cnt1=0,cnt0=1; | ^~~~ main.cpp:63:16: warning: unused variable 'cnt0' [-Wunused-variable] 63 | int cnt1=0,cnt0=1; | ^~~~ main.cpp: In function 'int main()': main.cpp:91:18: warning: unused variable 'ok' [-Wunused-variable] 91 | bool ok=0; | ^~ main.cpp:120:24: warning: division by zero [-Wdiv-by-zero] 120 | cout<<1/0; | ~^~ main.cpp:108:18: warning: unused variable 'ok' [-Wunused-variable] 108 | bool ok=0; | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms557kbCorect!14
24ms1605kbCorect!13
39ms2396kbCorect!13
40ms303kbGresit!0
51ms303kbGresit!0
61ms303kbGresit!0
73ms557kbGresit!0
84ms557kbGresit!0
99ms1343kbGresit!0
103ms430kbKilled by Signal 40
113ms462kbKilled by Signal 40
123ms512kbKilled by Signal 40
133ms610kbKilled by Signal 40
144ms811kbKilled by Signal 40
1510ms1413kbKilled by Signal 40
Punctaj total40

Ceva nu functioneaza?