Pagini recente » Borderou de evaluare (job #2513659) | Borderou de evaluare (job #2375190) | Borderou de evaluare (job #403579) | Borderou de evaluare (job #2304991) | Borderou de evaluare (job #1851135)
Borderou de evaluare (job #1851135)
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 | 468kb | OK | 10 |
3 | 0ms | 456kb | Incorect | 0 |
4 | 260ms | 4348kb | OK | 10 |
5 | 16ms | 648kb | OK | 10 |
6 | 20ms | 700kb | OK | 10 |
7 | 20ms | 712kb | OK | 10 |
8 | 16ms | 660kb | OK | 10 |
9 | 16ms | 680kb | OK | 10 |
10 | 268ms | 4348kb | OK | 10 |
Punctaj total | 90 |