Pagini recente » Borderou de evaluare (job #2408902) | Borderou de evaluare (job #302354) | Borderou de evaluare (job #166726) | Borderou de evaluare (job #2345954) | Borderou de evaluare (job #1200002)
Borderou de evaluare (job #1200002)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:26: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(IN,"r",stdin);
^
user.cpp:25:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(OUT,"w",stdout);
^
user.cpp:26: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:27:5: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(rint i=1;i<=n;scanf("%d",v+i),++i);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 260kb | OK | 10 |
| 2 | 0ms | 264kb | OK | 10 |
| 3 | 0ms | 260kb | OK | 10 |
| 4 | 0ms | 268kb | OK | 10 |
| 5 | 0ms | 276kb | OK | 10 |
| 6 | 0ms | 340kb | OK | 10 |
| 7 | 8ms | 592kb | OK | 10 |
| 8 | 16ms | 788kb | OK | 10 |
| 9 | 20ms | 860kb | OK | 10 |
| 10 | 20ms | 888kb | OK | 10 |
| Punctaj total | 100 |