Borderou de evaluare (job #2436978)

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

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:186:7: for0(i, ord.size()) coresp[ord[i]] = ord.size() - i; ~~~~~~~~~~~~~ main.cpp:186:2: note: in expansion of macro 'for0' for0(i, ord.size()) coresp[ord[i]] = ord.size() - i; ^~~~ main.cpp:186:35: warning: array subscript has type 'char' [-Wchar-subscripts] for0(i, ord.size()) coresp[ord[i]] = ord.size() - i; ^ main.cpp:178: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:179: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
110ms131kbOK5
23ms262kbOK5
387ms2621kbOK5
4180ms4718kbOK5
5303ms7995kbTime limit exceeded0
6290ms8208kbMemory limit exceeded0
72ms131kbOK5
84ms262kbOK5
95ms262kbOK5
1010ms393kbOK5
1118ms786kbOK5
1236ms1310kbOK5
1377ms2359kbOK5
14150ms4456kbOK5
15205ms5373kbOK5
16284ms7340kbOK5
17300ms7995kbTime limit exceeded0
18278ms8208kbMemory limit exceeded0
19289ms8208kbMemory limit exceeded0
20288ms8200kbMemory limit exceeded0
Punctaj total70

Ceva nu functioneaza?