Pagini recente » Borderou de evaluare (job #1158708) | Borderou de evaluare (job #674400) | Borderou de evaluare (job #2397607) | Borderou de evaluare (job #2714524) | Borderou de evaluare (job #2031257)
Borderou de evaluare (job #2031257)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f[ch]++; // frecventa caracterului curent
^
user.cpp:27:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[ch][f[ch]] = nr; // a[caracter][al_catelea_caracter_de_acest_tip]
^
user.cpp:27:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[ch][f[ch]] = nr; // a[caracter][al_catelea_caracter_de_acest_tip]
^
user.cpp:34:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(f[v[i]] %2 == 1 && p[v[i]] == 0){ // daca apare de nr impar de ori si nu l-am mai numarat
^
user.cpp:34:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(f[v[i]] %2 == 1 && p[v[i]] == 0){ // daca apare de nr impar de ori si nu l-am mai numarat
^
user.cpp:36:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
p[v[i]] = 1; // il numaram
^
user.cpp:44:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(f[v[i]] %2 == 0){
^
user.cpp:46:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
int x = a[ch][1];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 456kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |