Pagini recente » Borderou de evaluare (job #3008405) | Borderou de evaluare (job #3183383) | Borderou de evaluare (job #3008338) | Borderou de evaluare (job #2510981) | Borderou de evaluare (job #2148513)
Borderou de evaluare (job #2148513)
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:89:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:90:49: 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("%lld",&sum[i]);aib_update(i,sum[i]);sum[i]+=sum[i-1];}
^
user.cpp:92:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:95: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:98:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&val1);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 2872kb | OK | 10 | 10 |
| 2 | 0ms | 2892kb | OK | 10 | 10 |
| 3 | 280ms | 8188kb | OK | 10 | 10 |
| 4 | 104ms | 5540kb | OK | 10 | 10 |
| 5 | 136ms | 5696kb | OK | 10 | 10 |
| 6 | 132ms | 5700kb | OK | 10 | 10 |
| 7 | 196ms | 8192kb | OK | 10 | 30 |
| 8 | 348ms | 8196kb | OK | 10 |
| 9 | 344ms | 8192kb | OK | 10 |
| 10 | Depăşit | 8192kb | Time limit exceeded. | 0 | 0 |
| Punctaj total | 90 |