Borderou de evaluare (job #2233575)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 23 august 2018 17:14:20
Problema Anagrame Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 32

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:33:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] fr[str2[i]]++; ^ user.cpp:34:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(fr[str2[i]] == 1) { ^ user.cpp:42:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] fr1[str1[i]]++; ^ user.cpp:43:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(fr1[str1[i]] == fr[str1[i]]) { ^ user.cpp:43:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(fr1[str1[i]] == fr[str1[i]]) { ^ user.cpp:47:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(cur == let.size()) { ~~~~^~~~~~~~~~~~~ user.cpp:61:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] sp[i][str1[i]]++; ^ user.cpp:87:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] fr1[str1[deq.front()]]--; ^ user.cpp:93:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < sol.size(); i++) { ~~^~~~~~~~~~~~ user.cpp:27:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d " ,&type); ^ user.cpp:28:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%s %s " ,str1 + 1,str2 + 1); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1328kbOK!3
20ms1328kbOK!3
30ms1328kbOK!3
40ms1332kbOK!3
50ms1328kbOK!3
60ms1332kbOK!3
70ms1376kbOK!3
80ms1372kbOK!3
90ms3608kbOK!3
100ms3604kbOK!3
110ms3380kbOK!2
120ms3384kbWrong answer!0
130ms3384kbWrong answer!0
140ms3380kbWrong answer!0
150ms3380kbWrong answer!0
160ms3388kbWrong answer!0
174ms3440kbWrong answer!0
184ms3436kbWrong answer!0
19Depăşit12012kbTime limit exceeded.0
20Depăşit17104kbTime limit exceeded.0
21Depăşit12040kbTime limit exceeded.0
22Depăşit12036kbTime limit exceeded.0
23Depăşit12036kbTime limit exceeded.0
24Depăşit12032kbTime limit exceeded.0
25Depăşit12036kbTime limit exceeded.0
26Depăşit16408kbTime limit exceeded.0
2732ms12184kbWrong answer!0
2852ms13508kbWrong answer!0
2964ms13864kbWrong answer!0
3092ms14560kbWrong answer!0
Punctaj total32

Ceva nu functioneaza?