Pagini recente » Borderou de evaluare (job #878085) | Borderou de evaluare (job #1258353) | Borderou de evaluare (job #215556) | Borderou de evaluare (job #2357715) | Borderou de evaluare (job #1648521)
Borderou de evaluare (job #1648521)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:6: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:7: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:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:12:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 304kb | OK | 10 |
2 | 0ms | 300kb | OK | 10 |
3 | 0ms | 292kb | Incorect | 0 |
4 | 280ms | 8076kb | OK | 10 |
5 | 12ms | 676kb | OK | 10 |
6 | 16ms | 776kb | OK | 10 |
7 | 16ms | 788kb | OK | 10 |
8 | 12ms | 696kb | OK | 10 |
9 | 16ms | 736kb | OK | 10 |
10 | 264ms | 8076kb | OK | 10 |
Punctaj total | 90 |