Pagini recente » Borderou de evaluare (job #2473848) | Borderou de evaluare (job #1025314) | Borderou de evaluare (job #2357739) | Borderou de evaluare (job #1143099) | Borderou de evaluare (job #3306667)
Borderou de evaluare (job #3306667)
Raport evaluator
Compilare:
main.cpp: In function 'void init()':
main.cpp:31:19: warning: array subscript has type 'char' [-Wchar-subscripts]
31 | f[ch] = 1 + f[ch - 1];
| ^~
main.cpp: In function 'int main()':
main.cpp:49:53: warning: array subscript has type 'char' [-Wchar-subscripts]
49 | while (i <= n - 2 && !(f[s[i]] > f[s[i + 1]] && f[s[i + 1]] < f[s[i + 2]]))
| ~~~^
main.cpp:49:67: warning: array subscript has type 'char' [-Wchar-subscripts]
49 | while (i <= n - 2 && !(f[s[i]] > f[s[i + 1]] && f[s[i + 1]] < f[s[i + 2]]))
| ~~~~~~~^
main.cpp:49:82: warning: array subscript has type 'char' [-Wchar-subscripts]
49 | while (i <= n - 2 && !(f[s[i]] > f[s[i + 1]] && f[s[i + 1]] < f[s[i + 2]]))
| ~~~~~~~^
main.cpp:49:96: warning: array subscript has type 'char' [-Wchar-subscripts]
49 | while (i <= n - 2 && !(f[s[i]] > f[s[i + 1]] && f[s[i + 1]] < f[s[i + 2]]))
| ~~~~~~~^
main.cpp:56:50: warning: array subscript has type 'char' [-Wchar-subscripts]
56 | if (i <= j && !(f[s[j - 2]] > f[s[j - 1]] && f[s[j - 1]] < f[s[j]]))
| ~~~~~~~^
main.cpp:56:64: warning: array subscript has type 'char' [-Wchar-subscripts]
56 | if (i <= j && !(f[s[j - 2]] > f[s[j - 1]] && f[s[j - 1]] < f[s[j]]))
| ~~~~~~~^
main.cpp:56:79: warning: array subscript has type 'char' [-Wchar-subscripts]
56 | if (i <= j && !(f[s[j - 2]] > f[s[j - 1]] && f[s[j - 1]] < f[s[j]]))
| ~~~~~~~^
main.cpp:56:89: warning: array subscript has type 'char' [-Wchar-subscripts]
56 | if (i <= j && !(f[s[j - 2]] > f[s[j - 1]] && f[s[j - 1]] < f[s[j]]))
| ~~~^
main.cpp:62:53: warning: array subscript has type 'char' [-Wchar-subscripts]
62 | while (i <= n - 2 && !(f[s[i]] > f[s[i + 1]] && f[s[i + 1]] < f[s[i + 2]]))
| ~~~^
main.cpp:62:67: warning: array subscript has type 'char' [-Wchar-subscripts]
62 | while (i <= n - 2 && !(f[s[i]] > f[s[i + 1]] && f[s[i + 1]] < f[s[i + 2]]))
| ~~~~~~~^
main.cpp:62:82: warning: array subscript has type 'char' [-Wchar-subscripts]
62 | while (i <= n - 2 && !(f[s[i]] > f[s[i + 1]] && f[s[i + 1]] < f[s[i + 2]]))
| ~~~~~~~^
main.cpp:62:96: warning: array subscript has type 'char' [-Wchar-subscripts]
62 | while (i <= n - 2 && !(f[s[i]] > f[s[i + 1]] && f[s[i + 1]] < f[s[i + 2]]))
| ~~~~~~~^
main.cpp:69:50: warning: array subscript has type 'char' [-Wchar-subscripts]
69 | if (i <= j && !(f[s[j - 2]] > f[s[j - 1]] && f[s[j - 1]] < f[s[j]]))
| ~~~~~~~^
main.cpp:69:64: warning: array subscript has type 'char' [-Wchar-subscripts]
69 | if (i <= j && !(f[s[j - 2]] > f[s[j - 1]] && f[s[j - 1]] < f[s[j]]))
| ~~~~~~~^
main.cpp:69:79: warning: array subscript has type 'char' [-Wchar-subscripts]
69 | if (i <= j && !(f[s[j - 2]] > f[s[j - 1]] && f[s[j - 1]] < f[s[j]]))
| ~~~~~~~^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | OK | 5 |
| 2 | 0ms | 303kb | OK | 5 |
| 3 | 0ms | 303kb | OK | 5 |
| 4 | 1ms | 303kb | OK | 5 |
| 5 | 1ms | 303kb | OK | 5 |
| 6 | 0ms | 303kb | OK | 5 |
| 7 | 0ms | 303kb | OK | 5 |
| 8 | 0ms | 303kb | OK | 5 |
| 9 | 1ms | 557kb | OK | 5 |
| 10 | 3ms | 819kb | OK | 5 |
| 11 | 6ms | 1990kb | OK | 5 |
| 12 | 4ms | 1343kb | OK | 5 |
| 13 | 6ms | 1732kb | OK | 5 |
| 14 | 9ms | 1732kb | OK | 5 |
| 15 | 4ms | 1343kb | OK | 5 |
| 16 | 6ms | 1470kb | OK | 5 |
| 17 | 6ms | 1470kb | OK | 5 |
| 18 | 9ms | 1732kb | OK | 5 |
| 19 | 9ms | 1732kb | OK | 5 |
| 20 | 0ms | 303kb | OK | 5 |
| Punctaj total | 100 |