Pagini recente » Borderou de evaluare (job #1076613) | Cod sursa (job #985643) | Borderou de evaluare (job #2776088) | Borderou de evaluare (job #1459782) | Borderou de evaluare (job #1842378)
Borderou de evaluare (job #1842378)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18: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:19: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:21: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:23: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 | 676kb | OK | 10 |
| 2 | 0ms | 676kb | OK | 10 |
| 3 | 0ms | 664kb | OK | 10 |
| 4 | 280ms | 4564kb | OK | 10 |
| 5 | 12ms | 864kb | OK | 10 |
| 6 | 16ms | 912kb | OK | 10 |
| 7 | 16ms | 916kb | OK | 10 |
| 8 | 16ms | 868kb | OK | 10 |
| 9 | 16ms | 896kb | OK | 10 |
| 10 | 256ms | 4560kb | OK | 10 |
| Punctaj total | 100 |