Pagini recente » Borderou de evaluare (job #2662474) | Borderou de evaluare (job #242042) | Borderou de evaluare (job #2400602) | Borderou de evaluare (job #1614174) | Borderou de evaluare (job #1851147)
Borderou de evaluare (job #1851147)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:10: warning: unused variable ‘ok’ [-Wunused-variable]
bool ok = false;
^
user.cpp:7:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxk.in","r",stdin);
^
user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxk.out","w",stdout);
^
user.cpp:9:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &k);
^
user.cpp:12:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 468kb | OK | 10 |
| 2 | 0ms | 464kb | OK | 10 |
| 3 | Depăşit | 428kb | Time limit exceeded. | 0 |
| 4 | 284ms | 4352kb | OK | 10 |
| 5 | 16ms | 652kb | OK | 10 |
| 6 | 20ms | 704kb | OK | 10 |
| 7 | 20ms | 712kb | OK | 10 |
| 8 | 16ms | 660kb | OK | 10 |
| 9 | 16ms | 680kb | OK | 10 |
| 10 | 284ms | 4356kb | OK | 10 |
| Punctaj total | 90 |