Pagini recente »
Borderou de evaluare (job #757824)
Borderou de evaluare (job #757824)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:57:26: warning: array subscript has type 'char' [-Wchar-subscripts]
57 | cin>>p[cha[i3]];
| ~~~~~~^
main.cpp:58:24: warning: array subscript has type 'char' [-Wchar-subscripts]
58 | if(p[cha[i3]]>maxx)
| ~~~~~~^
main.cpp:60:30: warning: array subscript has type 'char' [-Wchar-subscripts]
60 | maxx=p[cha[i3]];
| ~~~~~~^
main.cpp:71:24: warning: array subscript has type 'char' [-Wchar-subscripts]
71 | v[i].pu=p[v[i].l];
| ~~~~~^
main.cpp:91:20: warning: array subscript has type 'char' [-Wchar-subscripts]
91 | f[v[i].l]=v[i].sf-v[i].in+1;
| ~~~~~^
main.cpp:43:29: warning: unused variable 'maxl' [-Wunused-variable]
43 | int n,i,s=1,m,i3,maxx=0,maxl=0,s1=0;
| ^~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
245 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
|
249 kb
|
OK
|
10
|
9
|
1 ms
|
507 kb
|
OK
|
10
|
10
|
1 ms
|
507 kb
|
OK
|
10
|
Punctaj total
|
100
|