Borderou de evaluare (job #2436973)

Utilizator ajeccAjechiloae Eugen ajecc Data 7 iulie 2019 20:57:56
Problema Zimeria Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In member function 'bool String::operator<(const String&) const': 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:163:8: for0(i, min(here.size(), other.here.size())) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:163:3: note: in expansion of macro 'for0' for0(i, min(here.size(), other.here.size())) ^~~~ main.cpp:165:22: warning: array subscript has type 'char' [-Wchar-subscripts] if (coresp[here[i]] < coresp[other.here[i]]) return true; ^ main.cpp:165:46: warning: array subscript has type 'char' [-Wchar-subscripts] if (coresp[here[i]] < coresp[other.here[i]]) return true; ^ main.cpp:166:22: warning: array subscript has type 'char' [-Wchar-subscripts] if (coresp[here[i]] > coresp[other.here[i]]) return false; ^ main.cpp:166: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:190:7: for0(i, ord.size()) coresp[ord[i]] = ord.size() - i; ~~~~~~~~~~~~~ main.cpp:190:2: note: in expansion of macro 'for0' for0(i, ord.size()) coresp[ord[i]] = ord.size() - i; ^~~~ main.cpp:190:35: warning: array subscript has type 'char' [-Wchar-subscripts] for0(i, ord.size()) coresp[ord[i]] = ord.size() - i; ^ main.cpp:182: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:183: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
24ms262kbOK5
3167ms5373kbOK5
4167ms8208kbMemory limit exceeded0
5186ms8208kbMemory limit exceeded0
6188ms8208kbMemory limit exceeded0
72ms131kbOK5
84ms262kbOK5
97ms393kbOK5
1015ms786kbOK5
1132ms1310kbOK5
1267ms2490kbOK5
13148ms4587kbOK5
14278ms8208kbMemory limit exceeded0
15179ms8208kbMemory limit exceeded0
16180ms8208kbMemory limit exceeded0
17168ms8208kbMemory limit exceeded0
18154ms8208kbMemory limit exceeded0
19174ms8208kbMemory limit exceeded0
20185ms8208kbMemory limit exceeded0
Punctaj total50

Ceva nu functioneaza?