Borderou de evaluare (job #1805203)

Utilizator CodrinsahCotarlan Codrin Codrinsah Data 13 noiembrie 2016 15:42:43
Problema Zimeria Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘bool comp(std::string, std::string)’: user.cpp:12:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (val[s1[i]]<val[s2[i]]) return 1; ^ user.cpp:12:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (val[s1[i]]<val[s2[i]]) return 1; ^ user.cpp:13:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if (val[s1[i]]>val[s2[i]]) return 0; ^ user.cpp:13:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if (val[s1[i]]>val[s2[i]]) return 0; ^ user.cpp: In function ‘int main()’: user.cpp:21:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] for (i=0;i<12;i++) val[litere[i]]=i; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1980kbOK5
28ms2004kbOK5
3Depăşit3132kbTime limit exceeded.0
432msDepăşitMemory limit exceeded.0
532msDepăşitMemory limit exceeded.0
632msDepăşitMemory limit exceeded.0
70ms1972kbOK5
88ms2004kbOK5
916ms2024kbOK5
1036ms2096kbOK5
1176ms2216kbOK5
12160ms2448kbOK5
13Depăşit2908kbTime limit exceeded.0
14Depăşit3828kbTime limit exceeded.0
1532msDepăşitMemory limit exceeded.0
1632msDepăşitMemory limit exceeded.0
1732msDepăşitMemory limit exceeded.0
1832msDepăşitMemory limit exceeded.0
1932msDepăşitMemory limit exceeded.0
2032msDepăşitMemory limit exceeded.0
Punctaj total40

Ceva nu functioneaza?