QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#609051#9415. MatrixUESTC_DebugSimulator#AC ✓1ms3776kbC++17477b2024-10-04 10:24:542024-10-04 10:24:55

Judging History

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

  • [2024-10-04 10:24:55]
  • 评测
  • 测评结果:AC
  • 用时:1ms
  • 内存:3776kb
  • [2024-10-04 10:24:54]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;
#define int long long
int n;
int a[100][100];
signed main()
{
	ios::sync_with_stdio(false);
	cin.tie(0);cout.tie(0);
	cin>>n;
	cout<<"Yes\n";
	a[1][1]=1;a[1][2]=2;a[2][1]=3;a[2][2]=4;
	for(int i=3;i<=n;i++)
	{
		a[1][i]=i*2-1;
		a[i][i]=i*2;
	}
	for(int i=1;i<=n;i++)
	{
		for(int j=1;j<=n;j++)
		{
			if(a[i][j]==0) cout<<a[1][max(i,j)]<<" ";
			else cout<<a[i][j]<<" ";
		}
		cout<<"\n";
	}
	return 0;
}

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

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2

output:

Yes
1 2 
3 4 

result:

ok Correct. (1 test case)

Test #2:

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

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: 3688kb

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: 3608kb

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: 3612kb

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: 3668kb

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: 3740kb

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: 3676kb

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: 3616kb

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: 3672kb

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: 3620kb

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: 3696kb

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: 3744kb

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: 3624kb

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: 3756kb

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: 3624kb

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: 3692kb

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: 3708kb

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: 3636kb

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: 3760kb

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: 3756kb

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: 3692kb

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: 3716kb

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: 3712kb

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: 3692kb

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: 3692kb

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: 1ms
memory: 3644kb

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: 3704kb

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: 3636kb

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: 3688kb

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: 3716kb

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: 3640kb

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: 3652kb

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: 3724kb

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: 3644kb

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: 3724kb

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: 3644kb

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: 3656kb

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: 3644kb

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: 3652kb

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: 3728kb

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: 0ms
memory: 3768kb

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: 3660kb

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: 3720kb

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: 3704kb

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: 3776kb

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: 3660kb

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: 3720kb

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