Pagini recente »
Borderou de evaluare (job #333181)
|
Borderou de evaluare (job #578008)
|
Borderou de evaluare (job #126854)
|
Borderou de evaluare (job #239305)
|
Borderou de evaluare (job #802528)
Borderou de evaluare (job #802528)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:14:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
14 | if(p[x-1]==0)
| ^~
main.cpp:16:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
16 | u[x-1]=i+1;
| ^
main.cpp:24:7: warning: 'l' may be used uninitialized [-Wmaybe-uninitialized]
24 | if(l>lmax)
| ^~
main.cpp:9:18: note: 'l' was declared here
9 | int x,lmax=0,l,n,c,cmax;
| ^
main.cpp:30:42: warning: 'cmax' may be used uninitialized [-Wmaybe-uninitialized]
30 | fout<<lmax<<endl<<cmax+1<<endl<<p[cmax]-1<<endl<<n-u[cmax];
| ~~~~~~^
main.cpp:9:24: note: 'cmax' was declared here
9 | int x,lmax=0,l,n,c,cmax;
| ^~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
249 kb
|
OK
|
10
|
2
|
1 ms
|
266 kb
|
OK
|
10
|
3
|
1 ms
|
245 kb
|
OK
|
10
|
4
|
1 ms
|
245 kb
|
OK
|
10
|
5
|
1 ms
|
245 kb
|
OK
|
10
|
6
|
1 ms
|
245 kb
|
OK
|
10
|
7
|
1 ms
|
245 kb
|
OK
|
10
|
8
|
1 ms
|
512 kb
|
OK
|
10
|
9
|
1 ms
|
270 kb
|
OK
|
10
|
10
|
1 ms
|
249 kb
|
OK
|
10
|
Punctaj total
|
100
|