Pagini recente »
Borderou de evaluare (job #135163)
|
Borderou de evaluare (job #632574)
|
Borderou de evaluare (job #103910)
|
Borderou de evaluare (job #415120)
|
Borderou de evaluare (job #681462)
Borderou de evaluare (job #681462)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:24:17: warning: array subscript has type 'char' [-Wchar-subscripts]
24 | if(last[ch]==0){
| ^~
main.cpp:25:18: warning: array subscript has type 'char' [-Wchar-subscripts]
25 | last[ch]=n;
| ^~
main.cpp:28:28: warning: array subscript has type 'char' [-Wchar-subscripts]
28 | sum+=1LL*(last[ch]-before_last[ch])*(n-last[ch]);
| ^~
main.cpp:28:44: warning: array subscript has type 'char' [-Wchar-subscripts]
28 | sum+=1LL*(last[ch]-before_last[ch])*(n-last[ch]);
| ^~
main.cpp:28:57: warning: array subscript has type 'char' [-Wchar-subscripts]
28 | sum+=1LL*(last[ch]-before_last[ch])*(n-last[ch]);
| ^~
main.cpp:29:25: warning: array subscript has type 'char' [-Wchar-subscripts]
29 | before_last[ch]=last[ch];
| ^~
main.cpp:29:34: warning: array subscript has type 'char' [-Wchar-subscripts]
29 | before_last[ch]=last[ch];
| ^~
main.cpp:30:18: warning: array subscript has type 'char' [-Wchar-subscripts]
30 | last[ch]=n;
| ^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
114 kb
|
OK
|
10
|
2
|
1 ms
|
114 kb
|
OK
|
10
|
3
|
1 ms
|
114 kb
|
OK
|
10
|
4
|
1 ms
|
245 kb
|
OK
|
10
|
5
|
1 ms
|
114 kb
|
OK
|
10
|
6
|
10 ms
|
118 kb
|
OK
|
10
|
7
|
34 ms
|
114 kb
|
OK
|
10
|
8
|
45 ms
|
114 kb
|
OK
|
10
|
9
|
48 ms
|
118 kb
|
OK
|
10
|
10
|
58 ms
|
118 kb
|
OK
|
10
|
Punctaj total
|
100
|