Pagini recente » Borderou de evaluare (job #1538080) | Borderou de evaluare (job #3269248) | Borderou de evaluare (job #2827781) | Borderou de evaluare (job #1876084) | Borderou de evaluare (job #3284708)
Borderou de evaluare (job #3284708)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:29:9: warning: unused variable 'm' [-Wunused-variable]
29 | int m,t,i,j;
| ^
main.cpp: In function 'void sieve()':
main.cpp:13:15: warning: iteration 50001 invokes undefined behavior [-Waggressive-loop-optimizations]
13 | phi[i]=i;
| ~~~~~~^~
main.cpp:12:16: note: within this loop
12 | for (i=1; i<=dim; i++)
| ^
main.cpp:16:18: warning: iteration 50000 invokes undefined behavior [-Waggressive-loop-optimizations]
16 | if (phi[i]==i)
| ~~~~~^
main.cpp:15:16: note: within this loop
15 | for (i=2; i<=dim; i++)
| ^
main.cpp:23:14: warning: iteration 50000 invokes undefined behavior [-Waggressive-loop-optimizations]
23 | phi[i]+=phi[i-1];
| ~~~~~^
main.cpp:22:16: note: within this loop
22 | for (i=2; i<=dim; i++)
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 124ms | 21020kb | Incorect | 0 |
2 | 124ms | 20783kb | Incorect | 0 |
3 | 143ms | 22007kb | Incorect | 0 |
4 | 143ms | 22007kb | Incorect | 0 |
5 | 143ms | 21970kb | Incorect | 0 |
6 | 143ms | 22020kb | Incorect | 0 |
7 | 138ms | 21733kb | Incorect | 0 |
8 | 143ms | 21942kb | Incorect | 0 |
9 | 142ms | 21925kb | Incorect | 0 |
10 | 143ms | 22003kb | Incorect | 0 |
Punctaj total | 0 |