Pagini recente » Borderou de evaluare (job #1850980) | Borderou de evaluare (job #720738) | Borderou de evaluare (job #883837) | Borderou de evaluare (job #1097736) | Borderou de evaluare (job #1229702)
Borderou de evaluare (job #1229702)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:5:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{ freopen("br.in","r",stdin);
^
user.cpp:6:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("br.out","w",stdout);
^
user.cpp:8:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:9:40: 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",&sum[i]); sum[i]+=sum[i-1];}
^
user.cpp:11:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{ scanf("%d %d",&k,&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 248kb | OK | 10 |
2 | 0ms | 248kb | OK | 10 |
3 | 4ms | 244kb | OK | 10 |
4 | 8ms | 252kb | OK | 10 |
5 | 8ms | 252kb | OK | 10 |
6 | 8ms | 252kb | OK | 10 |
7 | 12ms | 272kb | OK | 10 |
8 | 12ms | 288kb | OK | 10 |
9 | 12ms | 300kb | OK | 10 |
10 | 12ms | 300kb | OK | 10 |
Punctaj total | 100 |