Pagini recente » Borderou de evaluare (job #194056) | Borderou de evaluare (job #2064839) | Borderou de evaluare (job #1957296) | Borderou de evaluare (job #170445) | Borderou de evaluare (job #1458804)
Borderou de evaluare (job #1458804)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:69:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbvalmax.in","r",stdin);
^
user.cpp:70:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbvalmax.out","w",stdout);
^
user.cpp:72:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:74:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:77:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++) scanf("%d",&val[i]);
^
user.cpp:91:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 4004kb | OK | 10 |
2 | 4ms | 4000kb | OK | 10 |
3 | 12ms | 3996kb | OK | 10 |
4 | 16ms | 3996kb | OK | 10 |
5 | 40ms | 4576kb | OK | 10 |
6 | 164ms | 6940kb | OK | 10 |
7 | 260ms | 8440kb | OK | 10 |
8 | 432ms | 11692kb | OK | 10 |
9 | 484ms | 12284kb | OK | 10 |
10 | 520ms | 12860kb | OK | 10 |
Punctaj total | 100 |