Borderou de evaluare (job #2251281)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 1 octombrie 2018 12:49:15
Problema Balbaiala Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

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
18ms17768kbKilled by signal 11(SIGSEGV).00
28ms17772kbKilled by signal 11(SIGSEGV).0
38ms17776kbKilled by signal 11(SIGSEGV).00
48ms17776kbKilled by signal 11(SIGSEGV).0
58ms17796kbKilled by signal 11(SIGSEGV).00
68ms17804kbKilled by signal 11(SIGSEGV).0
78ms17800kbKilled by signal 11(SIGSEGV).0
88ms17860kbKilled by signal 11(SIGSEGV).00
98ms17860kbKilled by signal 11(SIGSEGV).0
108ms17864kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?