Borderou de evaluare (job #730256)

Utilizator avatar Cornea_Alexandru Cornea Alexandru Cornea_Alexandru IP ascuns
Problemă Cartier2 (clasa a 8-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 29 aug. 2023 15:51:31 Scor 12

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:23:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 23 | if (h[i]==hmax) | ^~ main.cpp:25:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 25 | s+=l[i]; | ^ main.cpp:27:16: warning: 'cnt' may be used uninitialized [-Wmaybe-uninitialized] 27 | fout<<cnt<<'\n'<<s<<'\n'; | ^~~~ main.cpp:9:20: note: 'cnt' was declared here 9 | int n,x,hmax=0,cnt,s=0; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb a) rezultat incorect; b) OK; c) lipsa 1
2 9 ms 249 kb a) rezultat incorect; b) OK; c) lipsa 1
3 2 ms 249 kb a) rezultat incorect; b) OK; c) lipsa 1
4 1 ms 249 kb a) rezultat incorect; b) OK; c) lipsa 1
5 1 ms 249 kb a) rezultat incorect; b) OK; c) lipsa 1
6 1 ms 249 kb a) rezultat incorect; b) OK; c) lipsa 1
7 1 ms 249 kb a) rezultat incorect; b) OK; c) lipsa 1
8 1 ms 249 kb a) rezultat incorect; b) OK; c) lipsa 1
9 1005 ms 770 kb Time limit exceeded 0
10 9 ms 249 kb a) rezultat incorect; b) OK; c) lipsa 1
11 1009 ms 774 kb Time limit exceeded 0
12 49 ms 1552 kb a) OK; b) OK; c) lipsa 2
13 1009 ms 774 kb Time limit exceeded 0
14 869 ms 1818 kb a) rezultat incorect; b) OK; c) lipsa 1
15 1009 ms 770 kb Time limit exceeded 0
16 1006 ms 774 kb Time limit exceeded 0
17 1009 ms 774 kb Time limit exceeded 0
18 1005 ms 774 kb Time limit exceeded 0
19 1005 ms 774 kb Time limit exceeded 0
20 1009 ms 512 kb Time limit exceeded 0
Punctaj total 12