Pagini recente » Borderou de evaluare (job #2510160) | Borderou de evaluare (job #3281290) | Borderou de evaluare (job #2872171) | Borderou de evaluare (job #2277810) | Borderou de evaluare (job #2562888)
Borderou de evaluare (job #2562888)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:10:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sumdiv2.in","r", stdin);
^
main.cpp:11:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sumdiv2.out","w", stdout);
^
main.cpp:27:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
main.cpp:31:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&a,&b);
^
main.cpp:24:50: warning: iteration 1000004 invokes undefined behavior [-Waggressive-loop-optimizations]
for(int i=1;i<=1000005;i++) sp[i]=sp[i-1]+sume[i];
~~~~~~^
main.cpp:24:15: note: within this loop
for(int i=1;i<=1000005;i++) sp[i]=sp[i-1]+sume[i];
~^~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 331ms | 12189kb | OK | 5 |
| 2 | 323ms | 12189kb | OK | 5 |
| 3 | 326ms | 12189kb | OK | 5 |
| 4 | 328ms | 12189kb | OK | 5 |
| 5 | 331ms | 12189kb | OK | 5 |
| 6 | 327ms | 12189kb | OK | 5 |
| 7 | 332ms | 12189kb | OK | 5 |
| 8 | 333ms | 12189kb | OK | 5 |
| 9 | 440ms | 13238kb | OK | 5 |
| 10 | 414ms | 13238kb | OK | 5 |
| 11 | 432ms | 13369kb | OK | 5 |
| 12 | 431ms | 13369kb | OK | 5 |
| 13 | 429ms | 13369kb | OK | 5 |
| 14 | 462ms | 13369kb | OK | 5 |
| 15 | 430ms | 13369kb | OK | 5 |
| 16 | 432ms | 13369kb | OK | 5 |
| 17 | 429ms | 13369kb | OK | 5 |
| 18 | 430ms | 13369kb | OK | 5 |
| 19 | 429ms | 13369kb | OK | 5 |
| 20 | 429ms | 13369kb | OK | 5 |
| Punctaj total | 100 |