Borderou de evaluare (job #2436971)

Utilizator ajeccAjechiloae Eugen ajecc Data 7 iulie 2019 20:52:55
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:159:8: for0(i, min(here.size(), other.here.size())) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:159:3: note: in expansion of macro 'for0' for0(i, min(here.size(), other.here.size())) ^~~~ 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:184:7: for0(i, ord.size()) coresp[ord[i]] = ord.size() - i; ~~~~~~~~~~~~~ main.cpp:184:2: note: in expansion of macro 'for0' for0(i, ord.size()) coresp[ord[i]] = ord.size() - i; ^~~~ main.cpp:184: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
24ms262kbOK5
3186ms5357kbOK5
4154ms8208kbMemory limit exceeded0
5149ms8208kbMemory limit exceeded0
6148ms8208kbMemory limit exceeded0
72ms131kbOK5
84ms262kbOK5
97ms393kbOK5
1016ms786kbOK5
1132ms1306kbOK5
1269ms2482kbOK5
13152ms4706kbOK5
14139ms8208kbMemory limit exceeded0
15149ms8208kbMemory limit exceeded0
16153ms8208kbMemory limit exceeded0
17149ms8208kbMemory limit exceeded0
18143ms8208kbMemory limit exceeded0
19149ms8208kbMemory limit exceeded0
20143ms8208kbMemory limit exceeded0
Punctaj total50

Ceva nu functioneaza?