Borderou de evaluare (job #597440)

Utilizator avatar guzgandemunte Ionescu Laura guzgandemunte IP ascuns
Problemă Magic1 (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 5 mai 2021 08:43:00 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:20:10: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null] 20 | c[i]=NULL; | ^~~~ main.cpp:21:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 21 | for (int j=0;j<i;j++) fout<<c[j]; fout<<endl; | ^~~ main.cpp:21:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 21 | for (int j=0;j<i;j++) fout<<c[j]; fout<<endl; | ^~~~
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