Borderou de evaluare (job #2436981)

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

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
12ms131kbOK5
23ms262kbOK5
362ms2359kbOK5
4134ms4063kbOK5
5278ms6815kbOK5
6300ms7602kbTime limit exceeded0
72ms131kbOK5
83ms131kbOK5
94ms131kbOK5
106ms262kbOK5
1110ms262kbOK5
1218ms393kbOK5
1335ms655kbOK5
1471ms1179kbOK5
1590ms1310kbOK5
16137ms1966kbOK5
17170ms2490kbOK5
18203ms3145kbOK5
19259ms4063kbOK5
20303ms4849kbTime limit exceeded0
Punctaj total90

Ceva nu functioneaza?