Pagini recente » Borderou de evaluare (job #1925010) | Borderou de evaluare (job #2935703) | Borderou de evaluare (job #1934542) | Borderou de evaluare (job #190457) | Borderou de evaluare (job #2436978)
Borderou de evaluare (job #2436978)
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 | 10ms | 131kb | OK | 5 |
2 | 3ms | 262kb | OK | 5 |
3 | 87ms | 2621kb | OK | 5 |
4 | 180ms | 4718kb | OK | 5 |
5 | 303ms | 7995kb | Time limit exceeded | 0 |
6 | 290ms | 8208kb | Memory limit exceeded | 0 |
7 | 2ms | 131kb | OK | 5 |
8 | 4ms | 262kb | OK | 5 |
9 | 5ms | 262kb | OK | 5 |
10 | 10ms | 393kb | OK | 5 |
11 | 18ms | 786kb | OK | 5 |
12 | 36ms | 1310kb | OK | 5 |
13 | 77ms | 2359kb | OK | 5 |
14 | 150ms | 4456kb | OK | 5 |
15 | 205ms | 5373kb | OK | 5 |
16 | 284ms | 7340kb | OK | 5 |
17 | 300ms | 7995kb | Time limit exceeded | 0 |
18 | 278ms | 8208kb | Memory limit exceeded | 0 |
19 | 289ms | 8208kb | Memory limit exceeded | 0 |
20 | 288ms | 8200kb | Memory limit exceeded | 0 |
Punctaj total | 70 |