Pagini recente » Borderou de evaluare (job #2635695) | Borderou de evaluare (job #1287327) | Borderou de evaluare (job #44163) | Borderou de evaluare (job #1055365) | Borderou de evaluare (job #2436971)
Borderou de evaluare (job #2436971)
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 |
1 | 2ms | 131kb | OK | 5 |
2 | 4ms | 262kb | OK | 5 |
3 | 186ms | 5357kb | OK | 5 |
4 | 154ms | 8208kb | Memory limit exceeded | 0 |
5 | 149ms | 8208kb | Memory limit exceeded | 0 |
6 | 148ms | 8208kb | Memory limit exceeded | 0 |
7 | 2ms | 131kb | OK | 5 |
8 | 4ms | 262kb | OK | 5 |
9 | 7ms | 393kb | OK | 5 |
10 | 16ms | 786kb | OK | 5 |
11 | 32ms | 1306kb | OK | 5 |
12 | 69ms | 2482kb | OK | 5 |
13 | 152ms | 4706kb | OK | 5 |
14 | 139ms | 8208kb | Memory limit exceeded | 0 |
15 | 149ms | 8208kb | Memory limit exceeded | 0 |
16 | 153ms | 8208kb | Memory limit exceeded | 0 |
17 | 149ms | 8208kb | Memory limit exceeded | 0 |
18 | 143ms | 8208kb | Memory limit exceeded | 0 |
19 | 149ms | 8208kb | Memory limit exceeded | 0 |
20 | 143ms | 8208kb | Memory limit exceeded | 0 |
Punctaj total | 50 |