Borderou de evaluare (job #2436973)
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 |
1 | 2ms | 131kb | OK | 5 |
2 | 4ms | 262kb | OK | 5 |
3 | 167ms | 5373kb | OK | 5 |
4 | 167ms | 8208kb | Memory limit exceeded | 0 |
5 | 186ms | 8208kb | Memory limit exceeded | 0 |
6 | 188ms | 8208kb | Memory limit exceeded | 0 |
7 | 2ms | 131kb | OK | 5 |
8 | 4ms | 262kb | OK | 5 |
9 | 7ms | 393kb | OK | 5 |
10 | 15ms | 786kb | OK | 5 |
11 | 32ms | 1310kb | OK | 5 |
12 | 67ms | 2490kb | OK | 5 |
13 | 148ms | 4587kb | OK | 5 |
14 | 278ms | 8208kb | Memory limit exceeded | 0 |
15 | 179ms | 8208kb | Memory limit exceeded | 0 |
16 | 180ms | 8208kb | Memory limit exceeded | 0 |
17 | 168ms | 8208kb | Memory limit exceeded | 0 |
18 | 154ms | 8208kb | Memory limit exceeded | 0 |
19 | 174ms | 8208kb | Memory limit exceeded | 0 |
20 | 185ms | 8208kb | Memory limit exceeded | 0 |
Punctaj total | 50 |