Borderou de evaluare (job #1805205)

Utilizator CodrinsahCotarlan Codrin Codrinsah Data 13 noiembrie 2016 15:43:10
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ăşit3128kbTime limit exceeded.0
436msDepăşitMemory limit exceeded.0
532msDepăşitMemory limit exceeded.0
636msDepăşitMemory limit exceeded.0
70ms1976kbOK5
88ms2004kbOK5
912ms2024kbOK5
1036ms2088kbOK5
1176ms2212kbOK5
12160ms2444kbOK5
13Depăşit2904kbTime limit exceeded.0
14Depăşit3836kbTime limit exceeded.0
1532msDepăşitMemory limit exceeded.0
1632msDepăşitMemory limit exceeded.0
1732msDepăşitMemory limit exceeded.0
1836msDepăşitMemory limit exceeded.0
1932msDepăşitMemory limit exceeded.0
2032msDepăşitMemory limit exceeded.0
Punctaj total40

Ceva nu functioneaza?