Borderou de evaluare (job #580238)

Utilizator avatar ClauditaBatinas Batinas Claudia ClauditaBatinas IP ascuns
Problemă Minnr (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 29 ian. 2021 20:43:44 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:15:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 15 | for(int i=1;i<=9;i++) | ^~~ main.cpp:22:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 22 | for(int i=0;i<=9;i++) | ^~~ main.cpp:24:25: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 24 | for(int j=1;j<=fr[i];j++) | ~^~~~~~~ main.cpp:25:19: warning: 'rez' may be used uninitialized in this function [-Wmaybe-uninitialized] 25 | rez=rez*10+i; | ~~~^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 262 kb OK 10
2 1 ms 262 kb OK 10
3 1 ms 262 kb OK 10
4 1 ms 262 kb OK 10
5 1 ms 262 kb OK 10
6 1 ms 262 kb OK 10
7 1 ms 262 kb OK 10
8 1 ms 262 kb OK 10
9 1 ms 262 kb OK 10
10 1 ms 262 kb OK 10
Punctaj total 100