Pagini recente »
Borderou de evaluare (job #730259)
Borderou de evaluare (job #730259)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:24:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
24 | if (h[i]==hmax)
| ^~
main.cpp:26:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
26 | s+=l[i];
| ^
main.cpp:28:16: warning: 'cnt' may be used uninitialized [-Wmaybe-uninitialized]
28 | 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) OK; b) OK; c) lipsa
|
2
|
2
|
1 ms
|
249 kb
|
a) OK; b) OK; c) lipsa
|
2
|
3
|
1 ms
|
249 kb
|
a) OK; b) OK; c) lipsa
|
2
|
4
|
2 ms
|
249 kb
|
a) OK; b) OK; c) lipsa
|
2
|
5
|
9 ms
|
245 kb
|
a) OK; b) OK; c) lipsa
|
2
|
6
|
1 ms
|
249 kb
|
a) OK; b) OK; c) lipsa
|
2
|
7
|
1 ms
|
249 kb
|
a) OK; b) OK; c) lipsa
|
2
|
8
|
8 ms
|
245 kb
|
a) OK; b) OK; c) lipsa
|
2
|
9
|
1009 ms
|
774 kb
|
Time limit exceeded
|
0
|
10
|
9 ms
|
249 kb
|
a) OK; b) OK; c) lipsa
|
2
|
11
|
1006 ms
|
770 kb
|
Time limit exceeded
|
0
|
12
|
49 ms
|
1552 kb
|
a) OK; b) OK; c) lipsa
|
2
|
13
|
1009 ms
|
770 kb
|
Time limit exceeded
|
0
|
14
|
876 ms
|
1818 kb
|
a) OK; b) OK; c) lipsa
|
2
|
15
|
1006 ms
|
770 kb
|
Time limit exceeded
|
0
|
16
|
1004 ms
|
770 kb
|
Time limit exceeded
|
0
|
17
|
1009 ms
|
770 kb
|
Time limit exceeded
|
0
|
18
|
1007 ms
|
770 kb
|
Time limit exceeded
|
0
|
19
|
1008 ms
|
765 kb
|
Time limit exceeded
|
0
|
20
|
1004 ms
|
507 kb
|
Time limit exceeded
|
0
|
Punctaj total
|
22
|