Pagini recente » Borderou de evaluare (job #262263) | Borderou de evaluare (job #2468543) | Borderou de evaluare (job #2953422) | Borderou de evaluare (job #2848050) | Borderou de evaluare (job #2446468)
Borderou de evaluare (job #2446468)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:22:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < S.size() - 2; ++i, answer = max(answer, length)) {
~~^~~~~~~~~~~~~~
main.cpp:30:42: warning: second operand of conditional expression has no effect [-Wunused-value]
cout << (answer > 1) ? answer : 0;
^
main.cpp:30:42: warning: third operand of conditional expression has no effect [-Wunused-value]
main.cpp:16:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("charlie.in", "r", stdin);
^
main.cpp:17:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("charlie.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Incorect | 0 |
| 2 | 2ms | 131kb | Incorect | 0 |
| 3 | 3ms | 131kb | Incorect | 0 |
| 4 | 8ms | 262kb | Incorect | 0 |
| 5 | 10ms | 393kb | Incorect | 0 |
| 6 | 2ms | 131kb | OK | 5 |
| 7 | 2ms | 131kb | OK | 5 |
| 8 | 2ms | 131kb | OK | 5 |
| 9 | 4ms | 131kb | OK | 5 |
| 10 | 6ms | 262kb | OK | 5 |
| 11 | 15ms | 393kb | OK | 5 |
| 12 | 11ms | 393kb | OK | 5 |
| 13 | 14ms | 393kb | OK | 5 |
| 14 | 15ms | 393kb | OK | 5 |
| 15 | 9ms | 262kb | OK | 5 |
| 16 | 12ms | 393kb | OK | 5 |
| 17 | 12ms | 393kb | OK | 5 |
| 18 | 14ms | 393kb | OK | 5 |
| 19 | 15ms | 393kb | OK | 5 |
| 20 | 2ms | 131kb | OK | 5 |
| Punctaj total | 75 |