Pagini recente » Borderou de evaluare (job #2011619) | Borderou de evaluare (job #317799) | Borderou de evaluare (job #3200809) | grad | Borderou de evaluare (job #2648023)
Borderou de evaluare (job #2648023)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:28:36: 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:29:38: 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:31:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lli",&n);
^
main.cpp:36:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lli%lli",&x,&y);
^
main.cpp: In function 'void eratostene()':
main.cpp:22:27: warning: iteration 1000002 invokes undefined behavior [-Waggressive-loop-optimizations]
s[i]=s[i-1]+ciur[i]+1;
~~~~~~^
main.cpp:21:14: note: within this loop
for(i=1;i<=NMAX;i++)
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 461ms | 16121kb | OK | 5 |
| 2 | 461ms | 16121kb | OK | 5 |
| 3 | 458ms | 16121kb | OK | 5 |
| 4 | 455ms | 16252kb | OK | 5 |
| 5 | 465ms | 16121kb | OK | 5 |
| 6 | 456ms | 16121kb | OK | 5 |
| 7 | 466ms | 16252kb | OK | 5 |
| 8 | 482ms | 16252kb | OK | 5 |
| 9 | 580ms | 17301kb | OK | 5 |
| 10 | 574ms | 17170kb | OK | 5 |
| 11 | 578ms | 17371kb | OK | 5 |
| 12 | 594ms | 17432kb | OK | 5 |
| 13 | 595ms | 17432kb | OK | 5 |
| 14 | 656ms | 17432kb | OK | 5 |
| 15 | 594ms | 17432kb | OK | 5 |
| 16 | 592ms | 17432kb | OK | 5 |
| 17 | 595ms | 17432kb | OK | 5 |
| 18 | 565ms | 17432kb | OK | 5 |
| 19 | 664ms | 17350kb | OK | 5 |
| 20 | 592ms | 17432kb | OK | 5 |
| Punctaj total | 100 |