Pagini recente » Borderou de evaluare (job #2999859) | Borderou de evaluare (job #344789) | Borderou de evaluare (job #2289153) | Borderou de evaluare (job #3220780) | Borderou de evaluare (job #1851152)
Borderou de evaluare (job #1851152)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25: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:13: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 | 0ms | 448kb | OK | 10 |
4 | 276ms | 4348kb | OK | 10 |
5 | 16ms | 656kb | OK | 10 |
6 | 20ms | 696kb | OK | 10 |
7 | 20ms | 708kb | OK | 10 |
8 | 16ms | 660kb | OK | 10 |
9 | 16ms | 684kb | OK | 10 |
10 | 284ms | 4352kb | OK | 10 |
Punctaj total | 100 |