Pagini recente » Borderou de evaluare (job #1164733) | Borderou de evaluare (job #1499344) | Borderou de evaluare (job #1044987) | Borderou de evaluare (job #755332) | Borderou de evaluare (job #2809546)
Borderou de evaluare (job #2809546)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:20:21: warning: array subscript has type 'char' [-Wchar-subscripts]
20 | while (!lit[ch].empty() && i - lit[ch].front() > k)
| ^~
main.cpp:20:44: warning: array subscript has type 'char' [-Wchar-subscripts]
20 | while (!lit[ch].empty() && i - lit[ch].front() > k)
| ^~
main.cpp:22:17: warning: array subscript has type 'char' [-Wchar-subscripts]
22 | lit[ch].pop();
| ^~
main.cpp:24:18: warning: array subscript has type 'char' [-Wchar-subscripts]
24 | if (!lit[ch].empty())
| ^~
main.cpp:25:28: warning: array subscript has type 'char' [-Wchar-subscripts]
25 | dp[i] = dp[lit[ch].front()] + 1;
| ^~
main.cpp:30:28: warning: array subscript has type 'char' [-Wchar-subscripts]
30 | lit[s[s.size() - 1]].push(i);
| ^
main.cpp:12:25: warning: unused variable 'j' [-Wunused-variable]
12 | int n, k, maxx = 0, j, i;
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 188kb | OK | 5 | 0 |
2 | 2ms | 184kb | OK | 5 |
3 | 2ms | 184kb | Incorect | 0 |
4 | 2ms | 184kb | OK | 5 |
5 | 2ms | 184kb | Incorect | 0 |
6 | 2ms | 184kb | OK | 5 |
7 | 11ms | 565kb | Incorect | 0 |
8 | 6ms | 512kb | OK | 5 |
9 | 15ms | 684kb | Incorect | 0 |
10 | 16ms | 634kb | OK | 5 |
11 | 25ms | 815kb | Incorect | 0 |
12 | 25ms | 843kb | OK | 5 |
13 | 54ms | 1404kb | Incorect | 0 |
14 | 49ms | 1400kb | OK | 5 |
15 | 78ms | 1826kb | Incorect | 0 |
16 | 74ms | 1859kb | OK | 5 |
17 | 107ms | 2330kb | Incorect | 0 |
18 | 97ms | 2363kb | OK | 5 |
19 | 131ms | 2822kb | Incorect | 0 |
20 | 117ms | 2818kb | OK | 5 |
Punctaj total | 0 |