QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#609061#9415. Matrixucup-team902#AC ✓1ms3988kbC++17437b2024-10-04 10:28:032024-10-04 10:28:03

Judging History

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

  • [2024-10-04 10:28:03]
  • 评测
  • 测评结果:AC
  • 用时:1ms
  • 内存:3988kb
  • [2024-10-04 10:28:03]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;
const int N=50;
int n;
int main(){
    scanf("%d",&n);
    puts("Yes");
    for(int i=1;i<=n;i++){
        for(int j=1;j<=n;j++){
            if(i<=2&&j<=2){
                printf("%d ",i*2+j-2);
            }
            else if(j<=2){
                printf("%d ",n+i);
            }
            else printf("%d ",2+j);
        }
        puts("");
    }
    return 0;
}

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

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2

output:

Yes
1 2 
3 4 

result:

ok Correct. (1 test case)

Test #2:

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

input:

3

output:

Yes
1 2 5 
3 4 5 
6 6 5 

result:

ok Correct. (1 test case)

Test #3:

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

input:

4

output:

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

result:

ok Correct. (1 test case)

Test #4:

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

input:

5

output:

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

result:

ok Correct. (1 test case)

Test #5:

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

input:

6

output:

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

result:

ok Correct. (1 test case)

Test #6:

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

input:

7

output:

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

result:

ok Correct. (1 test case)

Test #7:

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

input:

8

output:

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

result:

ok Correct. (1 test case)

Test #8:

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

input:

9

output:

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

result:

ok Correct. (1 test case)

Test #9:

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

input:

10

output:

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

result:

ok Correct. (1 test case)

Test #10:

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

input:

11

output:

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

result:

ok Correct. (1 test case)

Test #11:

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

input:

12

output:

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

result:

ok Correct. (1 test case)

Test #12:

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

input:

13

output:

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

result:

ok Correct. (1 test case)

Test #13:

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

input:

14

output:

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

result:

ok Correct. (1 test case)

Test #14:

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

input:

15

output:

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

result:

ok Correct. (1 test case)

Test #15:

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

input:

16

output:

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

result:

ok Correct. (1 test case)

Test #16:

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

input:

17

output:

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

result:

ok Correct. (1 test case)

Test #17:

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

input:

18

output:

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

result:

ok Correct. (1 test case)

Test #18:

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

input:

19

output:

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

result:

ok Correct. (1 test case)

Test #19:

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

input:

20

output:

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

result:

ok Correct. (1 test case)

Test #20:

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

input:

21

output:

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

result:

ok Correct. (1 test case)

Test #21:

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

input:

22

output:

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

result:

ok Correct. (1 test case)

Test #22:

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

input:

23

output:

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

result:

ok Correct. (1 test case)

Test #23:

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

input:

24

output:

Yes
1 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 
27 27 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 
28 28 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 
29 29 5 6 7 8 9 10 11 12 13 ...

result:

ok Correct. (1 test case)

Test #24:

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

input:

25

output:

Yes
1 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 
28 28 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 
29 29 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 
30 30 5 6 7 8 9 ...

result:

ok Correct. (1 test case)

Test #25:

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

input:

26

output:

Yes
1 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 
29 29 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 
30 30 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 
31 3...

result:

ok Correct. (1 test case)

Test #26:

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

input:

27

output:

Yes
1 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 
30 30 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 
31 31 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27...

result:

ok Correct. (1 test case)

Test #27:

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

input:

28

output:

Yes
1 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 
31 31 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 
32 32 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24...

result:

ok Correct. (1 test case)

Test #28:

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

input:

29

output:

Yes
1 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 
32 32 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 
33 33 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21...

result:

ok Correct. (1 test case)

Test #29:

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

input:

30

output:

Yes
1 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 
33 33 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 
34 34 5 6 7 8 9 10 11 12 13 14 15 16 17 18...

result:

ok Correct. (1 test case)

Test #30:

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

input:

31

output:

Yes
1 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 
34 34 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 
35 35 5 6 7 8 9 10 11 12 13 14 15...

result:

ok Correct. (1 test case)

Test #31:

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

input:

32

output:

Yes
1 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 
35 35 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 
36 36 5 6 7 8 9 10 11 12...

result:

ok Correct. (1 test case)

Test #32:

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

input:

33

output:

Yes
1 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 
36 36 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 
37 37 5 6 7 8 9...

result:

ok Correct. (1 test case)

Test #33:

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

input:

34

output:

Yes
1 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 
37 37 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 
38 38 ...

result:

ok Correct. (1 test case)

Test #34:

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

input:

35

output:

Yes
1 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 
38 38 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 3...

result:

ok Correct. (1 test case)

Test #35:

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

input:

36

output:

Yes
1 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 
39 39 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 3...

result:

ok Correct. (1 test case)

Test #36:

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

input:

37

output:

Yes
1 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 
40 40 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 3...

result:

ok Correct. (1 test case)

Test #37:

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

input:

38

output:

Yes
1 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 
41 41 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 3...

result:

ok Correct. (1 test case)

Test #38:

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

input:

39

output:

Yes
1 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 
42 42 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 2...

result:

ok Correct. (1 test case)

Test #39:

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

input:

40

output:

Yes
1 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 
43 43 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2...

result:

ok Correct. (1 test case)

Test #40:

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

input:

41

output:

Yes
1 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 
44 44 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2...

result:

ok Correct. (1 test case)

Test #41:

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

input:

42

output:

Yes
1 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 
45 45 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2...

result:

ok Correct. (1 test case)

Test #42:

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

input:

43

output:

Yes
1 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 
46 46 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2...

result:

ok Correct. (1 test case)

Test #43:

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

input:

44

output:

Yes
1 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 
47 47 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1...

result:

ok Correct. (1 test case)

Test #44:

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

input:

45

output:

Yes
1 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 
48 48 5 6 7 8 9 10 11 12 13 14 15 16 1...

result:

ok Correct. (1 test case)

Test #45:

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

input:

46

output:

Yes
1 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 
49 49 5 6 7 8 9 10 11 12 13 14 1...

result:

ok Correct. (1 test case)

Test #46:

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

input:

47

output:

Yes
1 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 
50 50 5 6 7 8 9 10 11 12 1...

result:

ok Correct. (1 test case)

Test #47:

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

input:

48

output:

Yes
1 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 
51 51 5 6 7 8 9 10 1...

result:

ok Correct. (1 test case)

Test #48:

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

input:

49

output:

Yes
1 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 
52 52 5 6 7 8 ...

result:

ok Correct. (1 test case)

Test #49:

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

input:

50

output:

Yes
1 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 
53 53 5 ...

result:

ok Correct. (1 test case)

Extra Test:

score: 0
Extra Test Passed