Pagini recente » Borderou de evaluare (job #2066178) | Borderou de evaluare (job #1625101) | Borderou de evaluare (job #530911) | Borderou de evaluare (job #1213644) | Borderou de evaluare (job #2436987)
Borderou de evaluare (job #2436987)
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:194:7:
for0(i, ord.size()) coresp[ord[i]] = i;
~~~~~~~~~~~~~
main.cpp:194:2: note: in expansion of macro 'for0'
for0(i, ord.size()) coresp[ord[i]] = i;
^~~~
main.cpp:194:35: warning: array subscript has type 'char' [-Wchar-subscripts]
for0(i, ord.size()) coresp[ord[i]] = i;
^
main.cpp:207:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i < v.size(); ++i)
~~^~~~~~~~~~
main.cpp:186: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:187: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 | 131kb | OK | 5 |
| 3 | 37ms | 393kb | OK | 5 |
| 4 | 74ms | 786kb | OK | 5 |
| 5 | 120ms | 1310kb | OK | 5 |
| 6 | 268ms | 2490kb | OK | 5 |
| 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 | 41ms | 593kb | OK | 5 |
| 14 | 72ms | 1179kb | OK | 5 |
| 15 | 71ms | 1310kb | OK | 5 |
| 16 | 141ms | 1966kb | OK | 5 |
| 17 | 176ms | 2490kb | OK | 5 |
| 18 | 250ms | 3162kb | OK | 5 |
| 19 | 265ms | 3932kb | OK | 5 |
| 20 | 300ms | 3276kb | Time limit exceeded | 0 |
| Punctaj total | 95 |