Pagini recente » Borderou de evaluare (job #2394388) | Borderou de evaluare (job #1393104) | Borderou de evaluare (job #1957494) | Borderou de evaluare (job #1086212) | Borderou de evaluare (job #1954701)
Borderou de evaluare (job #1954701)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:21: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld",val);
^
user.cpp:7:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("vila2.in","r",stdin);
^
user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("vila2.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:13: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 | 280kb | OK | 10 |
| 2 | 0ms | 284kb | OK | 10 |
| 3 | 4ms | 320kb | OK | 10 |
| 4 | 8ms | 376kb | OK | 10 |
| 5 | 8ms | 516kb | OK | 10 |
| 6 | 16ms | 472kb | OK | 10 |
| 7 | 20ms | 556kb | OK | 10 |
| 8 | 20ms | 752kb | OK | 10 |
| 9 | 32ms | 672kb | OK | 10 |
| 10 | 32ms | 668kb | OK | 10 |
| Punctaj total | 100 |