QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#674534#9415. MatrixSpinoza#AC ✓1ms3700kbC++20774b2024-10-25 16:19:482024-10-25 16:19:50

Judging History

你现在查看的是最新测评结果

  • [2024-10-25 16:19:50]
  • 评测
  • 测评结果:AC
  • 用时:1ms
  • 内存:3700kb
  • [2024-10-25 16:19:48]
  • 提交

answer

#include<bits/stdc++.h>
const int P = 998244353;
typedef long long ll;
using namespace std;
void solve() {
	int n;
	cin >> n;
	if (n == 2) {
		cout << "Yes\n1 2\n3 4";
		return;
	}
	int a[3][3];
	a[1][1] = 1;
	a[1][2] = 2;
	a[2][1] = 3;
	a[2][2] = 4;
	cout << "Yes\n";
	for (int i = 1; i <= n; ++i) {
		for (int j = 1; j <= n; ++j) {
			if (i <= 2 && j <= 2) {
				cout << a[i][j] << ' ';
			} else if (i == j) {
				cout << i * 2 << ' ';
			} else {
				int val = max(i, j);
				cout << 2 * val - 1 << ' ';
			}
		}
		cout << '\n';
	}
	return;
}
int main() {
	ios::sync_with_stdio(false);
	cin.tie(0);
	int t = 1;
//	cin >> t;
	while (t--) solve();
	return 0;
}
/*
1 2 5 7
3 4 5 7
5 5 6 7
7 7 7 8
*/
/*
1 2 5
3 4 5
5 5 6
*/

这程序好像有点Bug,我给组数据试试?

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3632kb

input:

2

output:

Yes
1 2
3 4

result:

ok Correct. (1 test case)

Test #2:

score: 0
Accepted
time: 0ms
memory: 3692kb

input:

3

output:

Yes
1 2 5 
3 4 5 
5 5 6 

result:

ok Correct. (1 test case)

Test #3:

score: 0
Accepted
time: 0ms
memory: 3636kb

input:

4

output:

Yes
1 2 5 7 
3 4 5 7 
5 5 6 7 
7 7 7 8 

result:

ok Correct. (1 test case)

Test #4:

score: 0
Accepted
time: 0ms
memory: 3616kb

input:

5

output:

Yes
1 2 5 7 9 
3 4 5 7 9 
5 5 6 7 9 
7 7 7 8 9 
9 9 9 9 10 

result:

ok Correct. (1 test case)

Test #5:

score: 0
Accepted
time: 0ms
memory: 3620kb

input:

6

output:

Yes
1 2 5 7 9 11 
3 4 5 7 9 11 
5 5 6 7 9 11 
7 7 7 8 9 11 
9 9 9 9 10 11 
11 11 11 11 11 12 

result:

ok Correct. (1 test case)

Test #6:

score: 0
Accepted
time: 0ms
memory: 3612kb

input:

7

output:

Yes
1 2 5 7 9 11 13 
3 4 5 7 9 11 13 
5 5 6 7 9 11 13 
7 7 7 8 9 11 13 
9 9 9 9 10 11 13 
11 11 11 11 11 12 13 
13 13 13 13 13 13 14 

result:

ok Correct. (1 test case)

Test #7:

score: 0
Accepted
time: 0ms
memory: 3632kb

input:

8

output:

Yes
1 2 5 7 9 11 13 15 
3 4 5 7 9 11 13 15 
5 5 6 7 9 11 13 15 
7 7 7 8 9 11 13 15 
9 9 9 9 10 11 13 15 
11 11 11 11 11 12 13 15 
13 13 13 13 13 13 14 15 
15 15 15 15 15 15 15 16 

result:

ok Correct. (1 test case)

Test #8:

score: 0
Accepted
time: 0ms
memory: 3688kb

input:

9

output:

Yes
1 2 5 7 9 11 13 15 17 
3 4 5 7 9 11 13 15 17 
5 5 6 7 9 11 13 15 17 
7 7 7 8 9 11 13 15 17 
9 9 9 9 10 11 13 15 17 
11 11 11 11 11 12 13 15 17 
13 13 13 13 13 13 14 15 17 
15 15 15 15 15 15 15 16 17 
17 17 17 17 17 17 17 17 18 

result:

ok Correct. (1 test case)

Test #9:

score: 0
Accepted
time: 0ms
memory: 3608kb

input:

10

output:

Yes
1 2 5 7 9 11 13 15 17 19 
3 4 5 7 9 11 13 15 17 19 
5 5 6 7 9 11 13 15 17 19 
7 7 7 8 9 11 13 15 17 19 
9 9 9 9 10 11 13 15 17 19 
11 11 11 11 11 12 13 15 17 19 
13 13 13 13 13 13 14 15 17 19 
15 15 15 15 15 15 15 16 17 19 
17 17 17 17 17 17 17 17 18 19 
19 19 19 19 19 19 19 19 19 20 

result:

ok Correct. (1 test case)

Test #10:

score: 0
Accepted
time: 0ms
memory: 3552kb

input:

11

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 
3 4 5 7 9 11 13 15 17 19 21 
5 5 6 7 9 11 13 15 17 19 21 
7 7 7 8 9 11 13 15 17 19 21 
9 9 9 9 10 11 13 15 17 19 21 
11 11 11 11 11 12 13 15 17 19 21 
13 13 13 13 13 13 14 15 17 19 21 
15 15 15 15 15 15 15 16 17 19 21 
17 17 17 17 17 17 17 17 18 19 21 
19 19 19 19 19...

result:

ok Correct. (1 test case)

Test #11:

score: 0
Accepted
time: 0ms
memory: 3560kb

input:

12

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 
3 4 5 7 9 11 13 15 17 19 21 23 
5 5 6 7 9 11 13 15 17 19 21 23 
7 7 7 8 9 11 13 15 17 19 21 23 
9 9 9 9 10 11 13 15 17 19 21 23 
11 11 11 11 11 12 13 15 17 19 21 23 
13 13 13 13 13 13 14 15 17 19 21 23 
15 15 15 15 15 15 15 16 17 19 21 23 
17 17 17 17 17 17 17 17 ...

result:

ok Correct. (1 test case)

Test #12:

score: 0
Accepted
time: 0ms
memory: 3552kb

input:

13

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 
3 4 5 7 9 11 13 15 17 19 21 23 25 
5 5 6 7 9 11 13 15 17 19 21 23 25 
7 7 7 8 9 11 13 15 17 19 21 23 25 
9 9 9 9 10 11 13 15 17 19 21 23 25 
11 11 11 11 11 12 13 15 17 19 21 23 25 
13 13 13 13 13 13 14 15 17 19 21 23 25 
15 15 15 15 15 15 15 16 17 19 21 23 25 
...

result:

ok Correct. (1 test case)

Test #13:

score: 0
Accepted
time: 0ms
memory: 3620kb

input:

14

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 
5 5 6 7 9 11 13 15 17 19 21 23 25 27 
7 7 7 8 9 11 13 15 17 19 21 23 25 27 
9 9 9 9 10 11 13 15 17 19 21 23 25 27 
11 11 11 11 11 12 13 15 17 19 21 23 25 27 
13 13 13 13 13 13 14 15 17 19 21 23 25 27 
15 15 15 15 15 15 1...

result:

ok Correct. (1 test case)

Test #14:

score: 0
Accepted
time: 0ms
memory: 3592kb

input:

15

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 
7 7 7 8 9 11 13 15 17 19 21 23 25 27 29 
9 9 9 9 10 11 13 15 17 19 21 23 25 27 29 
11 11 11 11 11 12 13 15 17 19 21 23 25 27 29 
13 13 13 13 13 13 14 15 17 19 21 23 25 27 29...

result:

ok Correct. (1 test case)

Test #15:

score: 0
Accepted
time: 0ms
memory: 3620kb

input:

16

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 
7 7 7 8 9 11 13 15 17 19 21 23 25 27 29 31 
9 9 9 9 10 11 13 15 17 19 21 23 25 27 29 31 
11 11 11 11 11 12 13 15 17 19 21 23 25 27 29 31 
13 13 13 13 13 13 14 15 17...

result:

ok Correct. (1 test case)

Test #16:

score: 0
Accepted
time: 0ms
memory: 3696kb

input:

17

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 
7 7 7 8 9 11 13 15 17 19 21 23 25 27 29 31 33 
9 9 9 9 10 11 13 15 17 19 21 23 25 27 29 31 33 
11 11 11 11 11 12 13 15 17 19 21 23 25 27 29 31 33 
13 13 13...

result:

ok Correct. (1 test case)

Test #17:

score: 0
Accepted
time: 0ms
memory: 3624kb

input:

18

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 
7 7 7 8 9 11 13 15 17 19 21 23 25 27 29 31 33 35 
9 9 9 9 10 11 13 15 17 19 21 23 25 27 29 31 33 35 
11 11 11 11 11 12 13 15 17 19 21 23 25 27 29 ...

result:

ok Correct. (1 test case)

Test #18:

score: 0
Accepted
time: 0ms
memory: 3564kb

input:

19

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 
7 7 7 8 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 
9 9 9 9 10 11 13 15 17 19 21 23 25 27 29 31 33 35 37 
11 11 11 11 11 12 13 15 17 19 ...

result:

ok Correct. (1 test case)

Test #19:

score: 0
Accepted
time: 0ms
memory: 3552kb

input:

20

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 
7 7 7 8 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 
9 9 9 9 10 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 
11 11 11 11 11 ...

result:

ok Correct. (1 test case)

Test #20:

score: 0
Accepted
time: 0ms
memory: 3604kb

input:

21

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 
7 7 7 8 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 
9 9 9 9 10 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 
...

result:

ok Correct. (1 test case)

Test #21:

score: 0
Accepted
time: 0ms
memory: 3632kb

input:

22

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 
7 7 7 8 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 
9 9 9 9 10 11 13 15 17 19 21 23 25 27 29 31 33 3...

result:

ok Correct. (1 test case)

Test #22:

score: 0
Accepted
time: 0ms
memory: 3612kb

input:

23

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 
7 7 7 8 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 
9 9 9 9 10 11 13 15 17 19 21 23 25 2...

result:

ok Correct. (1 test case)

Test #23:

score: 0
Accepted
time: 0ms
memory: 3556kb

input:

24

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 
7 7 7 8 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 
9 9 9 9 10 11 13 15 17 1...

result:

ok Correct. (1 test case)

Test #24:

score: 0
Accepted
time: 0ms
memory: 3544kb

input:

25

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 
7 7 7 8 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 
9 9 9 9 10 1...

result:

ok Correct. (1 test case)

Test #25:

score: 0
Accepted
time: 0ms
memory: 3548kb

input:

26

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 
7 7 7 8 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 
...

result:

ok Correct. (1 test case)

Test #26:

score: 0
Accepted
time: 0ms
memory: 3624kb

input:

27

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 
7 7 7 8 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 4...

result:

ok Correct. (1 test case)

Test #27:

score: 0
Accepted
time: 0ms
memory: 3564kb

input:

28

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 
7 7 7 8 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 4...

result:

ok Correct. (1 test case)

Test #28:

score: 0
Accepted
time: 0ms
memory: 3556kb

input:

29

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 
7 7 7 8 9 11 13 15 17 19 21 23 25 27 29 31 33 3...

result:

ok Correct. (1 test case)

Test #29:

score: 0
Accepted
time: 0ms
memory: 3620kb

input:

30

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 
7 7 7 8 9 11 13 15 17 19 21 23 25 27 2...

result:

ok Correct. (1 test case)

Test #30:

score: 0
Accepted
time: 0ms
memory: 3620kb

input:

31

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 
7 7 7 8 9 11 13 15 17 19 21 2...

result:

ok Correct. (1 test case)

Test #31:

score: 0
Accepted
time: 0ms
memory: 3632kb

input:

32

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 
7 7 7 8 9 11 13 15 1...

result:

ok Correct. (1 test case)

Test #32:

score: 0
Accepted
time: 0ms
memory: 3548kb

input:

33

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 
7 7 7 8 9 1...

result:

ok Correct. (1 test case)

Test #33:

score: 0
Accepted
time: 0ms
memory: 3564kb

input:

34

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 
7 ...

result:

ok Correct. (1 test case)

Test #34:

score: 0
Accepted
time: 0ms
memory: 3636kb

input:

35

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 ...

result:

ok Correct. (1 test case)

Test #35:

score: 0
Accepted
time: 0ms
memory: 3612kb

input:

36

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 ...

result:

ok Correct. (1 test case)

Test #36:

score: 0
Accepted
time: 0ms
memory: 3568kb

input:

37

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 ...

result:

ok Correct. (1 test case)

Test #37:

score: 0
Accepted
time: 0ms
memory: 3692kb

input:

38

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 ...

result:

ok Correct. (1 test case)

Test #38:

score: 0
Accepted
time: 0ms
memory: 3692kb

input:

39

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 ...

result:

ok Correct. (1 test case)

Test #39:

score: 0
Accepted
time: 0ms
memory: 3560kb

input:

40

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 ...

result:

ok Correct. (1 test case)

Test #40:

score: 0
Accepted
time: 0ms
memory: 3624kb

input:

41

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 ...

result:

ok Correct. (1 test case)

Test #41:

score: 0
Accepted
time: 0ms
memory: 3628kb

input:

42

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 ...

result:

ok Correct. (1 test case)

Test #42:

score: 0
Accepted
time: 0ms
memory: 3664kb

input:

43

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 ...

result:

ok Correct. (1 test case)

Test #43:

score: 0
Accepted
time: 1ms
memory: 3700kb

input:

44

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 ...

result:

ok Correct. (1 test case)

Test #44:

score: 0
Accepted
time: 0ms
memory: 3560kb

input:

45

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 
5 5 6 7 9 11 13 15 17 19 21 23 25 ...

result:

ok Correct. (1 test case)

Test #45:

score: 0
Accepted
time: 0ms
memory: 3700kb

input:

46

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 91 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 91 
5 5 6 7 9 11 13 15 17 19 21 ...

result:

ok Correct. (1 test case)

Test #46:

score: 0
Accepted
time: 0ms
memory: 3632kb

input:

47

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 91 93 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 91 93 
5 5 6 7 9 11 13 15 17 ...

result:

ok Correct. (1 test case)

Test #47:

score: 0
Accepted
time: 0ms
memory: 3624kb

input:

48

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 91 93 95 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 91 93 95 
5 5 6 7 9 11 13 ...

result:

ok Correct. (1 test case)

Test #48:

score: 0
Accepted
time: 0ms
memory: 3568kb

input:

49

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 91 93 95 97 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 91 93 95 97 
5 5 6 7 9 ...

result:

ok Correct. (1 test case)

Test #49:

score: 0
Accepted
time: 0ms
memory: 3608kb

input:

50

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 91 93 95 97 99 
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 91 93 95 97 99 
5 5 ...

result:

ok Correct. (1 test case)

Extra Test:

score: 0
Extra Test Passed