Ar pirminis?
- [1] 2018-11-17 11:23 (0)
- [2] 2018-11-17 11:25 (45.5)
- [3] 2018-11-17 12:18 (50)
- [4] 2018-11-17 12:21 (95.5)
- [5] 2018-11-17 12:22 (13.6)
- [6] 2018-11-17 12:22 (95.5)
- [7] 2018-11-17 12:48 (45.5)
- [8] 2018-11-17 12:49 (45.5)
- [9] 2018-11-17 12:54 (100)
Taškai: 45.5
Compile: OK
ar_pirminis.cpp: In function ‘int main()’: ar_pirminis.cpp:14:21: warning: iteration 999999u invokes undefined behavior [-Waggressive-loop-optimizations] if(isPrime[i]) ^ ar_pirminis.cpp:12:19: note: containing loop for(int i=2; i<=sk; i++) ^ ar_pirminis.cpp:11:24: warning: iteration 999999u invokes undefined behavior [-Waggressive-loop-optimizations] isPrime[i]=true; ^ ar_pirminis.cpp:10:19: note: containing loop for(int i=2; i<sk+1; i++) ^
nr. | result | time | message |
---|---|---|---|
1 | True | 0.012 s | ok |
2 | True | 0.02 s | ok |
3 | True | 0.02 s | ok |
4 | True | 0.012 s | ok |
5 | True | 0.02 s | ok |
6 | True | 0.02 s | ok |
7 | True | 0.008 s | ok |
8 | True | 0.008 s | ok |
9 | True | 0.012 s | ok |
10 | True | 0.016 s | ok |
11 | False | 0.008 s | Caught fatal signal 11 |
12 | False | 0.008 s | Caught fatal signal 11 |
13 | False | 0.012 s | Caught fatal signal 11 |
14 | False | 0.008 s | Caught fatal signal 11 |
15 | False | 0.008 s | Caught fatal signal 11 |
16 | False | 0.008 s | Caught fatal signal 11 |
17 | False | 0.008 s | Caught fatal signal 11 |
18 | False | 0.008 s | Caught fatal signal 11 |
19 | False | 0.012 s | Caught fatal signal 11 |
20 | False | 0.02 s | Caught fatal signal 11 |
21 | False | 0.012 s | Caught fatal signal 11 |
22 | False | 0.016 s | Caught fatal signal 11 |