Borderou de evaluare (job #700355)

Utilizator avatar Anton Boicea Anton Matei Anton IP ascuns
Problemă Plus (clasa a 5-a) Compilator cpp-32
Rundă locala2014 Status evaluat
Dată 3 mar. 2023 11:53:34 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:12:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 12 | while(x>=10) | ^~~~~ main.cpp:14:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 14 | if(x=0) | ^~ main.cpp:14:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 14 | if(x=0) | ~^~ main.cpp:8:9: warning: unused variable 'ok' [-Wunused-variable] 8 | int n,x,ok=1,uc=0,a=x; | ^~ main.cpp:8:14: warning: unused variable 'uc' [-Wunused-variable] 8 | int n,x,ok=1,uc=0,a=x; | ^~ main.cpp:8:19: warning: 'x' is used uninitialized [-Wuninitialized] 8 | int n,x,ok=1,uc=0,a=x; | ^ main.cpp:8:7: note: 'x' declared here 8 | int n,x,ok=1,uc=0,a=x; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb 1) linie incorecta; 2) linie incorecta; 0
2 909 ms 249 kb 1) linie incorecta; 2) linie incorecta; 0
3 1 ms 245 kb 1) linie incorecta; 2) linie incorecta; 0
4 499 ms 249 kb 1) linie incorecta; 2) linie incorecta; 0
5 1 ms 245 kb 1) linie incorecta; 2) linie incorecta; 0
6 1 ms 245 kb 1) linie incorecta; 2) linie incorecta; 0
7 1 ms 245 kb 1) linie incorecta; 2) linie incorecta; 0
8 9 ms 249 kb 1) linie incorecta; 2) linie incorecta; 0
9 1009 ms 249 kb Time limit exceeded 0
10 129 ms 249 kb 1) linie incorecta; 2) linie incorecta; 0
Punctaj total 0