QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#609092#9415. Matrixlllei#AC ✓0ms3868kbC++20579b2024-10-04 10:35:582024-10-04 10:35:58

Judging History

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

  • [2024-10-04 10:35:58]
  • 评测
  • 测评结果:AC
  • 用时:0ms
  • 内存:3868kb
  • [2024-10-04 10:35:58]
  • 提交

answer

#include <bits/stdc++.h>
using namespace std;

int main() {
    int n;
    cin >> n;


    vector a(n, vector<int>(n));
    a[0][0] = 1;
    a[0][1] = 2;
    a[1][0] = 3;
    a[1][1] = 4;

    for (int i = 2; i < n; ++i) {
        for (int j = 0; j < n; ++j) {
            a[i][j] = i * 2 + 1;
        }
        for (int j = 0; j < n; ++j) {
            a[j][i] = i * 2 + 2;
        }
    }
    cout<< "Yes\n";
    for (int i = 0; i <n ; ++i) { 
        for (int j = 0; j < n; ++j) {
            cout << a[i][j] << " \n"[j == n - 1];
        }
    }
}

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

详细

Test #1:

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

input:

2

output:

Yes
1 2
3 4

result:

ok Correct. (1 test case)

Test #2:

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

input:

3

output:

Yes
1 2 6
3 4 6
5 5 6

result:

ok Correct. (1 test case)

Test #3:

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

input:

4

output:

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

result:

ok Correct. (1 test case)

Test #4:

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

input:

5

output:

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

result:

ok Correct. (1 test case)

Test #5:

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

input:

6

output:

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

result:

ok Correct. (1 test case)

Test #6:

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

input:

7

output:

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

result:

ok Correct. (1 test case)

Test #7:

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

input:

8

output:

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

result:

ok Correct. (1 test case)

Test #8:

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

input:

9

output:

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

result:

ok Correct. (1 test case)

Test #9:

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

input:

10

output:

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

result:

ok Correct. (1 test case)

Test #10:

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

input:

11

output:

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

result:

ok Correct. (1 test case)

Test #11:

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

input:

12

output:

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

result:

ok Correct. (1 test case)

Test #12:

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

input:

13

output:

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

result:

ok Correct. (1 test case)

Test #13:

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

input:

14

output:

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

result:

ok Correct. (1 test case)

Test #14:

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

input:

15

output:

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

result:

ok Correct. (1 test case)

Test #15:

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

input:

16

output:

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

result:

ok Correct. (1 test case)

Test #16:

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

input:

17

output:

Yes
1 2 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34
3 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34
5 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34
7 7 7 8 10 12 14 16 18 20 22 24 26 28 30 32 34
9 9 9 9 10 12 14 16 18 20 22 24 26 28 30 32 34
11 11 11 11 11 12 14 16 18 20 22 24 26 28 30 32 34
13 13 13 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
3 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36
5 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36
7 7 7 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36
9 9 9 9 10 12 14 16 18 20 22 24 26 28 30 32 34 36
11 11 11 11 11 12 14 16 18 20 22 24 26 28 30 3...

result:

ok Correct. (1 test case)

Test #18:

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

input:

19

output:

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

result:

ok Correct. (1 test case)

Test #19:

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

input:

20

output:

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

result:

ok Correct. (1 test case)

Test #20:

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

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
3 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42
5 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42
7 7 7 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42
9 9 9 9 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42
1...

result:

ok Correct. (1 test case)

Test #21:

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

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
3 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44
5 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44
7 7 7 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44
9 9 9 9 10 12 14 16 18 20 22 24 26 28 30 32 34 3...

result:

ok Correct. (1 test case)

Test #22:

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

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
3 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46
5 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46
7 7 7 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46
9 9 9 9 10 12 14 16 18 20 22 24 26 2...

result:

ok Correct. (1 test case)

Test #23:

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

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
3 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48
5 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48
7 7 7 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48
9 9 9 9 10 12 14 16 18 2...

result:

ok Correct. (1 test case)

Test #24:

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

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
3 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50
5 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50
7 7 7 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50
9 9 9 9 10 1...

result:

ok Correct. (1 test case)

Test #25:

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

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
3 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52
5 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52
7 7 7 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 #26:

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

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
3 4 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
5 5 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
7 7 7 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 ...

result:

ok Correct. (1 test case)

Test #27:

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

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
3 4 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
5 5 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
7 7 7 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 ...

result:

ok Correct. (1 test case)

Test #28:

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

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
3 4 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
5 5 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
7 7 7 8 10 12 14 16 18 20 22 24 26 28 30 32 34 ...

result:

ok Correct. (1 test case)

Test #29:

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

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
3 4 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
5 5 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
7 7 7 8 10 12 14 16 18 20 22 24 26 28 ...

result:

ok Correct. (1 test case)

Test #30:

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

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
3 4 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
5 5 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
7 7 7 8 10 12 14 16 18 20 22 ...

result:

ok Correct. (1 test case)

Test #31:

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

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
3 4 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
5 5 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
7 7 7 8 10 12 14 16 ...

result:

ok Correct. (1 test case)

Test #32:

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

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
3 4 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
5 5 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
7 7 7 8 10 ...

result:

ok Correct. (1 test case)

Test #33:

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

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
3 4 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
5 5 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
7 ...

result:

ok Correct. (1 test case)

Test #34:

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

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
3 4 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
5 5 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...

result:

ok Correct. (1 test case)

Test #35:

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

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
3 4 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
5 5 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...

result:

ok Correct. (1 test case)

Test #36:

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

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
3 4 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
5 5 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...

result:

ok Correct. (1 test case)

Test #37:

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

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
3 4 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
5 5 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...

result:

ok Correct. (1 test case)

Test #38:

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

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
3 4 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
5 5 6 8 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 #39:

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

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
3 4 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
5 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46...

result:

ok Correct. (1 test case)

Test #40:

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

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
3 4 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
5 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42...

result:

ok Correct. (1 test case)

Test #41:

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

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
3 4 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
5 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38...

result:

ok Correct. (1 test case)

Test #42:

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

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
3 4 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
5 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34...

result:

ok Correct. (1 test case)

Test #43:

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

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
3 4 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
5 5 6 8 10 12 14 16 18 20 22 24 26 28 30...

result:

ok Correct. (1 test case)

Test #44:

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

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
3 4 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
5 5 6 8 10 12 14 16 18 20 22 24 26...

result:

ok Correct. (1 test case)

Test #45:

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

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
3 4 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
5 5 6 8 10 12 14 16 18 20 22...

result:

ok Correct. (1 test case)

Test #46:

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

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
3 4 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
5 5 6 8 10 12 14 16 18...

result:

ok Correct. (1 test case)

Test #47:

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

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
3 4 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
5 5 6 8 10 12 14...

result:

ok Correct. (1 test case)

Test #48:

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

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
3 4 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
5 5 6 8 10...

result:

ok Correct. (1 test case)

Test #49:

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

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
3 4 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
5 ...

result:

ok Correct. (1 test case)

Extra Test:

score: 0
Extra Test Passed