Pagini recente » Borderou de evaluare (job #432471) | Borderou de evaluare (job #1666021) | Borderou de evaluare (job #858025) | Borderou de evaluare (job #784872) | Borderou de evaluare (job #2251282)
Borderou de evaluare (job #2251282)
Raport evaluator
Compilare:
user.cpp: In function ‘bool check(int, int, int)’:
user.cpp:20:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(fr[b[i]] < cnt[p][b[i]] + coef) {
^
user.cpp:20:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(fr[b[i]] < cnt[p][b[i]] + coef) {
^
user.cpp:23:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
p = pos[b[i]][cnt[p][b[i]] + coef];
^
user.cpp:23:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
p = pos[b[i]][cnt[p][b[i]] + coef];
^
user.cpp: In function ‘int main()’:
user.cpp:34:14: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
cin >> a + 1;
~~^~~
user.cpp:37:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fr[a[i]]++;
^
user.cpp:41:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pos[a[i]][fr[a[i]]] = i;
^
user.cpp:41:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pos[a[i]][fr[a[i]]] = i;
^
user.cpp:45:18: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
cin >> b + 1;
~~^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 5452kb | OK | 10 | 20 |
2 | 0ms | 5452kb | OK | 10 |
3 | 8ms | 9680kb | OK | 10 | 20 |
4 | 8ms | 9676kb | OK | 10 |
5 | 68ms | 13796kb | OK | 10 | 30 |
6 | 104ms | 11748kb | OK | 10 |
7 | 136ms | 9700kb | OK | 10 |
8 | 284ms | 15904kb | OK | 10 | 30 |
9 | 156ms | 17960kb | OK | 10 |
10 | 224ms | 17956kb | OK | 10 |
Punctaj total | 100 |