Ar pirminis?
- [1] 2022-02-28 12:43 (100)
Taškai: 100
Compile: OK
ar_pirminis.cpp: In function ‘void pirm_f()’: ar_pirminis.cpp:19:23: warning: iteration 9999999u invokes undefined behavior [-Waggressive-loop-optimizations] if (pirminis[i]) ^ ar_pirminis.cpp:17:22: note: containing loop for (int i = 2; i<=10000001; i++) ^ ar_pirminis.cpp:13:27: warning: iteration 9999999u invokes undefined behavior [-Waggressive-loop-optimizations] pirminis[i] = true; ^ ar_pirminis.cpp:11:22: note: containing loop for (int i = 2; i<=10000001; i++) ^
nr. | result | time | message |
---|---|---|---|
1 | True | 0.228 s | ok |
2 | True | 0.276 s | ok |
3 | True | 0.284 s | ok |
4 | True | 0.196 s | ok |
5 | True | 0.24 s | ok |
6 | True | 0.252 s | ok |
7 | True | 0.204 s | ok |
8 | True | 0.276 s | ok |
9 | True | 0.248 s | ok |
10 | True | 0.22 s | ok |
11 | True | 0.544 s | ok |
12 | True | 0.504 s | ok |
13 | True | 0.492 s | ok |
14 | True | 0.172 s | ok |
15 | True | 0.336 s | ok |
16 | True | 0.5 s | ok |
17 | True | 0.44 s | ok |
18 | True | 0.316 s | ok |
19 | True | 0.748 s | ok |
20 | True | 0.48 s | ok |
21 | True | 0.732 s | ok |
22 | True | 0.648 s | ok |