Borderou de evaluare (job #2436987)

Utilizator ajeccAjechiloae Eugen ajecc Data 7 iulie 2019 21:09:27
Problema Zimeria Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 95

Raport evaluator

Compilare: main.cpp: In member function 'bool String::operator<(const String&) const': main.cpp:161:22: warning: array subscript has type 'char' [-Wchar-subscripts] if (coresp[here[i]] < coresp[other.here[i]]) return true; ^ main.cpp:161:46: warning: array subscript has type 'char' [-Wchar-subscripts] if (coresp[here[i]] < coresp[other.here[i]]) return true; ^ main.cpp:162:22: warning: array subscript has type 'char' [-Wchar-subscripts] if (coresp[here[i]] > coresp[other.here[i]]) return false; ^ main.cpp:162:46: warning: array subscript has type 'char' [-Wchar-subscripts] if (coresp[here[i]] > coresp[other.here[i]]) return false; ^ main.cpp: In function 'int32_t main()': main.cpp:83:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define for0(i, n) for(int i = 0; i < n; ++i) main.cpp:194:7: for0(i, ord.size()) coresp[ord[i]] = i; ~~~~~~~~~~~~~ main.cpp:194:2: note: in expansion of macro 'for0' for0(i, ord.size()) coresp[ord[i]] = i; ^~~~ main.cpp:194:35: warning: array subscript has type 'char' [-Wchar-subscripts] for0(i, ord.size()) coresp[ord[i]] = i; ^ main.cpp:207:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 1; i < v.size(); ++i) ~~^~~~~~~~~~ main.cpp:186:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen(PROB_NAME".in", "r", stdin); ^ main.cpp:187:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen(PROB_NAME".out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK5
23ms131kbOK5
337ms393kbOK5
474ms786kbOK5
5120ms1310kbOK5
6268ms2490kbOK5
72ms131kbOK5
83ms131kbOK5
94ms131kbOK5
106ms262kbOK5
1110ms262kbOK5
1218ms393kbOK5
1341ms593kbOK5
1472ms1179kbOK5
1571ms1310kbOK5
16141ms1966kbOK5
17176ms2490kbOK5
18250ms3162kbOK5
19265ms3932kbOK5
20300ms3276kbTime limit exceeded0
Punctaj total95

Ceva nu functioneaza?