Borderou de evaluare (job #2339899)

Utilizator Carol_LucaCarol Luca Carol_Luca Data 9 februarie 2019 15:19:39
Problema Interact Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:29:20: warning: array subscript has type 'char' [-Wchar-subscripts] f[c]++,ss=ss+c; ^ main.cpp:37:20: warning: array subscript has type 'char' [-Wchar-subscripts] for(i=0;f[c]&&i<s.size();f[c]--) ^ main.cpp:37:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;f[c]&&i<s.size();f[c]--) ~^~~~~~~~~ main.cpp:37:37: warning: array subscript has type 'char' [-Wchar-subscripts] for(i=0;f[c]&&i<s.size();f[c]--) ^ main.cpp:41:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(nr=0;!nr&&i<s.size();i++) ~^~~~~~~~~ main.cpp:55:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(i<s.size()) ~^~~~~~~~~ main.cpp:61:20: warning: array subscript has type 'char' [-Wchar-subscripts] f[c]++; ^ main.cpp:65:15: warning: array subscript has type 'char' [-Wchar-subscripts] if(f[c]) ^ main.cpp:67:22: warning: array subscript has type 'char' [-Wchar-subscripts] while(f[c]) ^ main.cpp:73:20: warning: array subscript has type 'char' [-Wchar-subscripts] f[c]--; ^ main.cpp:13:11: warning: unused variable 'j' [-Wunused-variable] int i,j,k,nr; ^ main.cpp:13:13: warning: unused variable 'k' [-Wunused-variable] int i,j,k,nr; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
15ms266kbOK10
26ms131kbOK10
39ms131kbOK10
414ms131kbOK10
522ms131kbOK10
633ms131kbOK10
738ms131kbOK10
845ms131kbOK10
942ms131kbOK10
1046ms131kbOK10
Punctaj total100

Ceva nu functioneaza?