Borderou de evaluare (job #3256508)

Utilizator popescu_georgePopescu George popescu_george Data 14 noiembrie 2024 19:15:41
Problema Numar3 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void read()': main.cpp:15:11: warning: array subscript has type 'char' [-Wchar-subscripts] 15 | f[a]++; | ^ main.cpp:21:27: warning: array subscript has type 'char' [-Wchar-subscripts] 21 | f[b]++; | ^ main.cpp:26:35: warning: array subscript has type 'char' [-Wchar-subscripts] 26 | f[k]=0; | ^ main.cpp:27:27: warning: array subscript has type 'char' [-Wchar-subscripts] 27 | f[b]++; | ^ main.cpp:42:22: warning: array subscript has type 'char' [-Wchar-subscripts] 42 | if(f[k]) | ^ main.cpp:45:27: warning: array subscript has type 'char' [-Wchar-subscripts] 45 | f[k]--; | ^ main.cpp:48:11: warning: array subscript has type 'char' [-Wchar-subscripts] 48 | f[c]++; | ^ main.cpp:51:23: warning: array subscript has type 'char' [-Wchar-subscripts] 51 | lim=f[k]; | ^ main.cpp:41:16: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized] 41 | for(k=c+1;k<=57;k++) | ~^~ main.cpp:8:18: note: 'c' was declared here 8 | char a,b,c,k; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms303kbOK10
30ms303kbOK10
49ms303kbOK10
574ms1097kbOK10
6183ms2371kbOK10
7412ms5029kbOK10
8432ms5185kbOK10
9427ms5206kbOK10
10426ms5197kbOK10
Punctaj total100

Ceva nu functioneaza?