Pagini recente » Cod sursa (job #2707421) | Borderou de evaluare (job #1241823) | Borderou de evaluare (job #510639) | Borderou de evaluare (job #2112883) | Borderou de evaluare (job #1850269)
Borderou de evaluare (job #1850269)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
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: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 | 448kb | OK | 10 |
| 2 | 0ms | 444kb | OK | 10 |
| 3 | 0ms | 440kb | Incorect | 0 |
| 4 | 272ms | 4340kb | OK | 10 |
| 5 | 16ms | 636kb | OK | 10 |
| 6 | 20ms | 680kb | OK | 10 |
| 7 | 20ms | 688kb | OK | 10 |
| 8 | 16ms | 648kb | OK | 10 |
| 9 | 20ms | 664kb | OK | 10 |
| 10 | 284ms | 4332kb | OK | 10 |
| Punctaj total | 90 |