Pagini recente » Borderou de evaluare (job #28881) | Borderou de evaluare (job #554422) | Borderou de evaluare (job #1286135) | Borderou de evaluare (job #515498) | Borderou de evaluare (job #2306894)
Borderou de evaluare (job #2306894)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:17:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < s.size(); i++) {
~~^~~~~~~~~~
main.cpp:18:12: warning: array subscript has type 'char' [-Wchar-subscripts]
dp[s[i]][1] = max(dp[s[i]][1], 1);
^
main.cpp:18:30: warning: array subscript has type 'char' [-Wchar-subscripts]
dp[s[i]][1] = max(dp[s[i]][1], 1);
^
main.cpp:20:14: warning: array subscript has type 'char' [-Wchar-subscripts]
dp[s[i]][0] = max(dp[s[i]][0], dp[j][1] + 1);
^
main.cpp:20:32: warning: array subscript has type 'char' [-Wchar-subscripts]
dp[s[i]][0] = max(dp[s[i]][0], dp[j][1] + 1);
^
main.cpp:22:14: warning: array subscript has type 'char' [-Wchar-subscripts]
dp[s[i]][1] = max(dp[s[i]][1], dp[j][0] + 1);
^
main.cpp:22:32: warning: array subscript has type 'char' [-Wchar-subscripts]
dp[s[i]][1] = max(dp[s[i]][1], dp[j][0] + 1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Incorect | 0 |
2 | 3ms | 131kb | Incorect | 0 |
3 | 3ms | 131kb | OK | 10 |
4 | 4ms | 131kb | Incorect | 0 |
5 | 6ms | 131kb | Incorect | 0 |
6 | 15ms | 131kb | Incorect | 0 |
7 | 82ms | 393kb | Incorect | 0 |
8 | 253ms | 782kb | Incorect | 0 |
9 | 363ms | 782kb | Incorect | 0 |
10 | 348ms | 782kb | Incorect | 0 |
Punctaj total | 10 |