Pagini recente » Borderou de evaluare (job #839717) | Borderou de evaluare (job #638140) | Borderou de evaluare (job #712842) | Borderou de evaluare (job #2744637) | Borderou de evaluare (job #2251281)
Borderou de evaluare (job #2251281)
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 | 8ms | 17768kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
2 | 8ms | 17772kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 8ms | 17776kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
4 | 8ms | 17776kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 8ms | 17796kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
6 | 8ms | 17804kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 8ms | 17800kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 8ms | 17860kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
9 | 8ms | 17860kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 8ms | 17864kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |