Borderou de evaluare (job #741269)

Utilizator avatar DeakDarius HackerPrime DeakDarius IP ascuns
Problemă Panglica (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 29 oct. 2023 18:24:29 Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:16:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 16 | if(v[i]==v[j]) | ^~ main.cpp:18:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 18 | if(l>lm){ | ^~ main.cpp:18:5: warning: 'l' may be used uninitialized [-Wmaybe-uninitialized] 18 | if(l>lm){ | ^~ main.cpp:6:5: note: 'l' was declared here 6 | int l,lm=0,cul,st,dr,v[101]; | ^ main.cpp:30:6: warning: 'cul' may be used uninitialized [-Wmaybe-uninitialized] 30 | out<<cul<<endl; | ^~~ main.cpp:6:12: note: 'cul' was declared here 6 | int l,lm=0,cul,st,dr,v[101]; | ^~~ main.cpp:31:6: warning: 'st' may be used uninitialized [-Wmaybe-uninitialized] 31 | out<<st<<endl; | ^~ main.cpp:6:16: note: 'st' was declared here 6 | int l,lm=0,cul,st,dr,v[101]; | ^~ main.cpp:32:6: warning: 'dr' may be used uninitialized [-Wmaybe-uninitialized] 32 | out<<dr<<endl; | ^~ main.cpp:6:19: note: 'dr' was declared here 6 | int l,lm=0,cul,st,dr,v[101]; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 249 kb Killed by Signal 11 0
2 2 ms 245 kb OK 10
3 1 ms 245 kb Killed by Signal 11 0
4 1 ms 245 kb Killed by Signal 11 0
5 1 ms 245 kb Killed by Signal 11 0
6 1 ms 249 kb Killed by Signal 11 0
7 1 ms 249 kb Killed by Signal 11 0
8 2 ms 249 kb Killed by Signal 11 0
9 1 ms 249 kb Killed by Signal 11 0
10 1 ms 249 kb Killed by Signal 11 0
Punctaj total 10