QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#698820#9415. Matrixwyb666AC ✓1ms3980kbC++14792b2024-11-01 22:15:422024-11-01 22:15:42

Judging History

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

  • [2024-11-01 22:15:42]
  • 评测
  • 测评结果:AC
  • 用时:1ms
  • 内存:3980kb
  • [2024-11-01 22:15:42]
  • 提交

answer

#include <iostream>
#include <cmath>
#include <iomanip>
#include <cstring>
#include <vector>
#include <map>
#include <queue>
#include <stack>
#include <set>
#include <cstdio>
#include <algorithm>
#define INF 0x7ffffffff
#define PI acos(-1)
using namespace std;
typedef long long ll;
typedef pair<ll, ll> PII;
const int N = 5e5 + 10;
int a[55][55];
void solve() {
	int n;
	cin >> n;
	
	for (int i = 0; i < n; ++i) {
		for (int j = 0; j < n; ++j) {
			a[i][j] = a[j][i] = i + 1 << 1;
		}
		a[i][i] = i << 1 | 1;
	}
	a[0][1] = 2;

	printf("Yes\n");
	for (int i = 0; i < n; ++i) {
		for (int j = 0; j < n; ++j) {
			printf("%d ", a[i][j]);
		}
		printf("\n");
	}
}

int main() {
	int t;
	//cin >> t;
	t = 1;
	while (t--) {
		solve();
	}
	return 0;
}

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

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2

output:

Yes
1 2 
4 3 

result:

ok Correct. (1 test case)

Test #2:

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

input:

3

output:

Yes
1 2 6 
4 3 6 
6 6 5 

result:

ok Correct. (1 test case)

Test #3:

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

input:

4

output:

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

result:

ok Correct. (1 test case)

Test #4:

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

input:

5

output:

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

result:

ok Correct. (1 test case)

Test #5:

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

input:

6

output:

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

result:

ok Correct. (1 test case)

Test #6:

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

input:

7

output:

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

result:

ok Correct. (1 test case)

Test #7:

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

input:

8

output:

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

result:

ok Correct. (1 test case)

Test #8:

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

input:

9

output:

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

result:

ok Correct. (1 test case)

Test #9:

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

input:

10

output:

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

result:

ok Correct. (1 test case)

Test #10:

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

input:

11

output:

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

result:

ok Correct. (1 test case)

Test #11:

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

input:

12

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 
4 3 6 8 10 12 14 16 18 20 22 24 
6 6 5 8 10 12 14 16 18 20 22 24 
8 8 8 7 10 12 14 16 18 20 22 24 
10 10 10 10 9 12 14 16 18 20 22 24 
12 12 12 12 12 11 14 16 18 20 22 24 
14 14 14 14 14 14 13 16 18 20 22 24 
16 16 16 16 16 16 16 15 18 20 22 24 
18 18 18 18 18 18...

result:

ok Correct. (1 test case)

Test #12:

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

input:

13

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 
4 3 6 8 10 12 14 16 18 20 22 24 26 
6 6 5 8 10 12 14 16 18 20 22 24 26 
8 8 8 7 10 12 14 16 18 20 22 24 26 
10 10 10 10 9 12 14 16 18 20 22 24 26 
12 12 12 12 12 11 14 16 18 20 22 24 26 
14 14 14 14 14 14 13 16 18 20 22 24 26 
16 16 16 16 16 16 16 15 18 20 22 ...

result:

ok Correct. (1 test case)

Test #13:

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

input:

14

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 
6 6 5 8 10 12 14 16 18 20 22 24 26 28 
8 8 8 7 10 12 14 16 18 20 22 24 26 28 
10 10 10 10 9 12 14 16 18 20 22 24 26 28 
12 12 12 12 12 11 14 16 18 20 22 24 26 28 
14 14 14 14 14 14 13 16 18 20 22 24 26 28 
16 16 16 16 ...

result:

ok Correct. (1 test case)

Test #14:

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

input:

15

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 
6 6 5 8 10 12 14 16 18 20 22 24 26 28 30 
8 8 8 7 10 12 14 16 18 20 22 24 26 28 30 
10 10 10 10 9 12 14 16 18 20 22 24 26 28 30 
12 12 12 12 12 11 14 16 18 20 22 24 26 28 30 
14 14 14 14 14 14 13 16 18 20 22 24 2...

result:

ok Correct. (1 test case)

Test #15:

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

input:

16

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 32 
6 6 5 8 10 12 14 16 18 20 22 24 26 28 30 32 
8 8 8 7 10 12 14 16 18 20 22 24 26 28 30 32 
10 10 10 10 9 12 14 16 18 20 22 24 26 28 30 32 
12 12 12 12 12 11 14 16 18 20 22 24 26 28 30 32 
14 14 14 14 14 14 1...

result:

ok Correct. (1 test case)

Test #16:

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

input:

17

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 
6 6 5 8 10 12 14 16 18 20 22 24 26 28 30 32 34 
8 8 8 7 10 12 14 16 18 20 22 24 26 28 30 32 34 
10 10 10 10 9 12 14 16 18 20 22 24 26 28 30 32 34 
12 12 12 12 12 11 14 16 18 20 22 24 26 28 30 32 34 
1...

result:

ok Correct. (1 test case)

Test #17:

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

input:

18

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 
6 6 5 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 
8 8 8 7 10 12 14 16 18 20 22 24 26 28 30 32 34 36 
10 10 10 10 9 12 14 16 18 20 22 24 26 28 30 32 34 36 
12 12 12 12 12 11 14 16 18 20 22 24 26...

result:

ok Correct. (1 test case)

Test #18:

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

input:

19

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 
6 6 5 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 
8 8 8 7 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 
10 10 10 10 9 12 14 16 18 20 22 24 26 28 30 32 34 36 38 
12 12 12 12 12 11 14 16...

result:

ok Correct. (1 test case)

Test #19:

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

input:

20

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 
6 6 5 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 
8 8 8 7 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 
10 10 10 10 9 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 
12 12 12...

result:

ok Correct. (1 test case)

Test #20:

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

input:

21

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 
6 6 5 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 
8 8 8 7 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 
10 10 10 10 9 12 14 16 18 20 22 24 26 28 30 32 34 36 38 ...

result:

ok Correct. (1 test case)

Test #21:

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

input:

22

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 
6 6 5 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 
8 8 8 7 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 
10 10 10 10 9 12 14 16 18 20 22 24 26 28 30 ...

result:

ok Correct. (1 test case)

Test #22:

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

input:

23

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 
6 6 5 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 
8 8 8 7 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 
10 10 10 10 9 12 14 16 18 20 22 ...

result:

ok Correct. (1 test case)

Test #23:

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

input:

24

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 
6 6 5 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 
8 8 8 7 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 
10 10 10 10 9 12 14 ...

result:

ok Correct. (1 test case)

Test #24:

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

input:

25

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 
6 6 5 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 
8 8 8 7 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 
10 10 10...

result:

ok Correct. (1 test case)

Test #25:

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

input:

26

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 
6 6 5 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 
8 8 8 7 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 ...

result:

ok Correct. (1 test case)

Test #26:

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

input:

27

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 
6 6 5 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 
8 8 8 7 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 ...

result:

ok Correct. (1 test case)

Test #27:

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

input:

28

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 
6 6 5 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 
8 8 8 7 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 ...

result:

ok Correct. (1 test case)

Test #28:

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

input:

29

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 
6 6 5 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 
8 8 8 7 10 12 14 16 18 20 22 24 26 28 30 32 ...

result:

ok Correct. (1 test case)

Test #29:

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

input:

30

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 
6 6 5 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 
8 8 8 7 10 12 14 16 18 20 22 24 26 ...

result:

ok Correct. (1 test case)

Test #30:

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

input:

31

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 
6 6 5 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 
8 8 8 7 10 12 14 16 18 20 ...

result:

ok Correct. (1 test case)

Test #31:

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

input:

32

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 
6 6 5 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 
8 8 8 7 10 12 14 ...

result:

ok Correct. (1 test case)

Test #32:

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

input:

33

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 
6 6 5 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 
8 8 8 7 ...

result:

ok Correct. (1 test case)

Test #33:

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

input:

34

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 
6 6 5 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 ...

result:

ok Correct. (1 test case)

Test #34:

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

input:

35

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 
6 6 5 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 ...

result:

ok Correct. (1 test case)

Test #35:

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

input:

36

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 
6 6 5 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 ...

result:

ok Correct. (1 test case)

Test #36:

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

input:

37

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 
6 6 5 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 ...

result:

ok Correct. (1 test case)

Test #37:

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

input:

38

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 
6 6 5 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 ...

result:

ok Correct. (1 test case)

Test #38:

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

input:

39

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 
6 6 5 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 ...

result:

ok Correct. (1 test case)

Test #39:

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

input:

40

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 
6 6 5 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 ...

result:

ok Correct. (1 test case)

Test #40:

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

input:

41

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 
6 6 5 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 ...

result:

ok Correct. (1 test case)

Test #41:

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

input:

42

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 
6 6 5 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 ...

result:

ok Correct. (1 test case)

Test #42:

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

input:

43

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 
6 6 5 8 10 12 14 16 18 20 22 24 26 28 30 32 ...

result:

ok Correct. (1 test case)

Test #43:

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

input:

44

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 
6 6 5 8 10 12 14 16 18 20 22 24 26 28 ...

result:

ok Correct. (1 test case)

Test #44:

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

input:

45

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 
6 6 5 8 10 12 14 16 18 20 22 24 ...

result:

ok Correct. (1 test case)

Test #45:

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

input:

46

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 
6 6 5 8 10 12 14 16 18 20 ...

result:

ok Correct. (1 test case)

Test #46:

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

input:

47

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 
6 6 5 8 10 12 14 16 ...

result:

ok Correct. (1 test case)

Test #47:

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

input:

48

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 
6 6 5 8 10 12 ...

result:

ok Correct. (1 test case)

Test #48:

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

input:

49

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98 
6 6 5 8 ...

result:

ok Correct. (1 test case)

Test #49:

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

input:

50

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98 100 
4 3 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98 100 
...

result:

ok Correct. (1 test case)

Extra Test:

score: 0
Extra Test Passed