Pagini recente » Borderou de evaluare (job #1185359) | Borderou de evaluare (job #137943) | Borderou de evaluare (job #2333851) | Borderou de evaluare (job #2568102) | Borderou de evaluare (job #1648451)
Borderou de evaluare (job #1648451)
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 | 308kb | OK | 10 |
2 | 0ms | 300kb | OK | 10 |
3 | 0ms | 296kb | Incorect | 0 |
4 | 288ms | 8076kb | OK | 10 |
5 | 12ms | 680kb | OK | 10 |
6 | 20ms | 780kb | OK | 10 |
7 | 20ms | 788kb | OK | 10 |
8 | 16ms | 700kb | OK | 10 |
9 | 16ms | 744kb | OK | 10 |
10 | 288ms | 8084kb | OK | 10 |
Punctaj total | 90 |