Borderou de evaluare (job #580216)

Utilizator avatar Ricardo14 Olaru Ricardo Ricardo14 IP ascuns
Problemă Abc (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 29 ian. 2021 16:45:07 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:20:7: warning: array subscript has type 'char' [-Wchar-subscripts] 20 | v[ch]++; | ^~ main.cpp:34:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 34 | while(cin.get(ch)) | ^~~~~ main.cpp:36:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 36 | return 0; | ^~~~~~ main.cpp:10:13: warning: variable 'cx' set but not used [-Wunused-but-set-variable] 10 | int n,x,cx,i=0,h,j=0,a,b; | ^~ main.cpp:10:16: warning: unused variable 'i' [-Wunused-variable] 10 | int n,x,cx,i=0,h,j=0,a,b; | ^ main.cpp:10:20: warning: variable 'h' set but not used [-Wunused-but-set-variable] 10 | int n,x,cx,i=0,h,j=0,a,b; | ^ main.cpp:10:22: warning: unused variable 'j' [-Wunused-variable] 10 | int n,x,cx,i=0,h,j=0,a,b; | ^ main.cpp:10:26: warning: unused variable 'a' [-Wunused-variable] 10 | int n,x,cx,i=0,h,j=0,a,b; | ^ main.cpp:10:28: warning: unused variable 'b' [-Wunused-variable] 10 | int n,x,cx,i=0,h,j=0,a,b; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb OK 10
2 1 ms 262 kb OK 10
3 9 ms 393 kb OK 10
4 1 ms 262 kb OK 10
5 1 ms 262 kb OK 10
6 11 ms 393 kb OK 10
7 9 ms 393 kb OK 10
8 12 ms 393 kb OK 10
9 15 ms 393 kb OK 10
10 17 ms 389 kb OK 10
Punctaj total 100