Pagini recente » Borderou de evaluare (job #1213638) | Borderou de evaluare (job #2066565) | Borderou de evaluare (job #445202) | Borderou de evaluare (job #2178677) | Borderou de evaluare (job #2648022)
Borderou de evaluare (job #2648022)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:27: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:28: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:30:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:35:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
main.cpp: In function 'void eratostene()':
main.cpp:21:27: warning: iteration 1000002 invokes undefined behavior [-Waggressive-loop-optimizations]
s[i]=s[i-1]+ciur[i]+1;
~~~~~~^
main.cpp:20:14: note: within this loop
for(i=1;i<=NMAX;i++)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 315ms | 8126kb | OK | 5 |
2 | 313ms | 8126kb | OK | 5 |
3 | 315ms | 8126kb | OK | 5 |
4 | 313ms | 8126kb | OK | 5 |
5 | 314ms | 8126kb | OK | 5 |
6 | 314ms | 8126kb | OK | 5 |
7 | 327ms | 8257kb | Incorect | 0 |
8 | 325ms | 8257kb | Incorect | 0 |
9 | 402ms | 9175kb | Incorect | 0 |
10 | 400ms | 9175kb | Incorect | 0 |
11 | 418ms | 9175kb | Incorect | 0 |
12 | 427ms | 9175kb | Incorect | 0 |
13 | 417ms | 9175kb | Incorect | 0 |
14 | 425ms | 9175kb | Incorect | 0 |
15 | 419ms | 9175kb | Incorect | 0 |
16 | 426ms | 9175kb | Incorect | 0 |
17 | 447ms | 9175kb | Incorect | 0 |
18 | 416ms | 9175kb | Incorect | 0 |
19 | 416ms | 9175kb | Incorect | 0 |
20 | 419ms | 9175kb | Incorect | 0 |
Punctaj total | 30 |