Pagini recente » Borderou de evaluare (job #442045) | Statistici UNIBUC TheDisturbed Buzu the@EyE@ (bungiu-buzu-postavaru) | Borderou de evaluare (job #392326) | Borderou de evaluare (job #2474388) | Borderou de evaluare (job #2148519)
Borderou de evaluare (job #2148519)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:85:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kami.in","r",stdin);
^
user.cpp:86:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kami.out","w",stdout);
^
user.cpp:88:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:89:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++) {scanf("%d",&x);aib_update(i,x);sum[i]+=sum[i-1]+x;}
^
user.cpp:91:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:94:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&tip,&x);
^
user.cpp:97:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&val1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 2876kb | OK | 10 | 10 |
2 | 0ms | 2892kb | OK | 10 | 10 |
3 | 264ms | 8192kb | OK | 10 | 10 |
4 | 96ms | 5544kb | OK | 10 | 10 |
5 | 128ms | 5700kb | OK | 10 | 10 |
6 | 124ms | 5700kb | OK | 10 | 10 |
7 | 184ms | 8192kb | OK | 10 | 30 |
8 | 328ms | 8188kb | OK | 10 |
9 | 324ms | 8196kb | OK | 10 |
10 | 376ms | 8196kb | OK | 10 | 10 |
Punctaj total | 100 |