Pagini recente » Borderou de evaluare (job #2615184) | Borderou de evaluare (job #1950736) | Borderou de evaluare (job #2436981)
Borderou de evaluare (job #2436981)
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 |
1 | 2ms | 131kb | OK | 5 |
2 | 3ms | 262kb | OK | 5 |
3 | 62ms | 2359kb | OK | 5 |
4 | 134ms | 4063kb | OK | 5 |
5 | 278ms | 6815kb | OK | 5 |
6 | 300ms | 7602kb | Time limit exceeded | 0 |
7 | 2ms | 131kb | OK | 5 |
8 | 3ms | 131kb | OK | 5 |
9 | 4ms | 131kb | OK | 5 |
10 | 6ms | 262kb | OK | 5 |
11 | 10ms | 262kb | OK | 5 |
12 | 18ms | 393kb | OK | 5 |
13 | 35ms | 655kb | OK | 5 |
14 | 71ms | 1179kb | OK | 5 |
15 | 90ms | 1310kb | OK | 5 |
16 | 137ms | 1966kb | OK | 5 |
17 | 170ms | 2490kb | OK | 5 |
18 | 203ms | 3145kb | OK | 5 |
19 | 259ms | 4063kb | OK | 5 |
20 | 303ms | 4849kb | Time limit exceeded | 0 |
Punctaj total | 90 |