Pagini recente »
Borderou de evaluare (job #155818)
|
Borderou de evaluare (job #54655)
|
Borderou de evaluare (job #719538)
|
Borderou de evaluare (job #687206)
|
Borderou de evaluare (job #600158)
Borderou de evaluare (job #600158)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:20:14: warning: array subscript has type 'char' [-Wchar-subscripts]
20 | f[t[i]]=1;
| ~~~^
main.cpp:35:17: warning: array subscript has type 'char' [-Wchar-subscripts]
35 | if(f[t[i]]>maxi)
| ~~~^
main.cpp:37:23: warning: array subscript has type 'char' [-Wchar-subscripts]
37 | maxi=f[t[i]];
| ~~~^
main.cpp:40:22: warning: array subscript has type 'char' [-Wchar-subscripts]
40 | else if(f[t[i]]==maxi)
| ~~~^
main.cpp:42:39: warning: array subscript has type 'char' [-Wchar-subscripts]
42 | if ( c[j = i + 100 + 1 + f[t[i]]] < (m = i + 100 + 1 - f[t[i]]) )
| ~~~^
main.cpp:42:69: warning: array subscript has type 'char' [-Wchar-subscripts]
42 | if ( c[j = i + 100 + 1 + f[t[i]]] < (m = i + 100 + 1 - f[t[i]]) )
| ~~~^
main.cpp:53:16: warning: 'nmax' may be used uninitialized in this function [-Wmaybe-uninitialized]
53 | out<<nmax<<'\n'<<m;
| ^~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
253 kb
|
OK
|
10
|
2
|
1 ms
|
262 kb
|
OK
|
10
|
3
|
1 ms
|
389 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
|
393 kb
|
OK
|
10
|
9
|
1 ms
|
393 kb
|
OK
|
10
|
10
|
1 ms
|
393 kb
|
OK
|
10
|
Punctaj total
|
100
|