QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#609077#9415. Matrixliguo#AC ✓1ms3996kbC++20512b2024-10-04 10:31:522024-10-04 10:31:53

Judging History

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

  • [2024-10-04 10:31:53]
  • 评测
  • 测评结果:AC
  • 用时:1ms
  • 内存:3996kb
  • [2024-10-04 10:31:52]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;
int ans[100][100];
int main(){
	int n;scanf("%d",&n);
	printf("Yes\n");
	if(n==2){
		printf("1 2\n3 4\n");
		return 0;
	}
	for(int i=1;i<=n;i++)
		ans[i][i]=i;
	for(int i=2;i<n;i++){
		ans[i][1]=ans[i][n]=ans[1][i]=ans[n][i]=n+1;
	}
	ans[1][n]=n+2;
	ans[n][1]=n+3;
	for(int i=2;i<n;i++){
		for(int j=2;j<i;j++)
			ans[i][j]=ans[j][i]=n+i+1;
	}
	for(int i=1;i<=n;i++){
		for(int j=1;j<=n;j++)
			printf("%d ",ans[i][j]);
		printf("\n");
	}
} 

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

詳細信息

Test #1:

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

input:

2

output:

Yes
1 2
3 4

result:

ok Correct. (1 test case)

Test #2:

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

input:

3

output:

Yes
1 4 5 
4 2 4 
6 4 3 

result:

ok Correct. (1 test case)

Test #3:

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

input:

4

output:

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

result:

ok Correct. (1 test case)

Test #4:

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

input:

5

output:

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

result:

ok Correct. (1 test case)

Test #5:

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

input:

6

output:

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

result:

ok Correct. (1 test case)

Test #6:

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

input:

7

output:

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

result:

ok Correct. (1 test case)

Test #7:

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

input:

8

output:

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

result:

ok Correct. (1 test case)

Test #8:

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

input:

9

output:

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

result:

ok Correct. (1 test case)

Test #9:

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

input:

10

output:

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

result:

ok Correct. (1 test case)

Test #10:

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

input:

11

output:

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

result:

ok Correct. (1 test case)

Test #11:

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

input:

12

output:

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

result:

ok Correct. (1 test case)

Test #12:

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

input:

13

output:

Yes
1 14 14 14 14 14 14 14 14 14 14 14 15 
14 2 17 18 19 20 21 22 23 24 25 26 14 
14 17 3 18 19 20 21 22 23 24 25 26 14 
14 18 18 4 19 20 21 22 23 24 25 26 14 
14 19 19 19 5 20 21 22 23 24 25 26 14 
14 20 20 20 20 6 21 22 23 24 25 26 14 
14 21 21 21 21 21 7 22 23 24 25 26 14 
14 22 22 22 22 22 22 8 ...

result:

ok Correct. (1 test case)

Test #13:

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

input:

14

output:

Yes
1 15 15 15 15 15 15 15 15 15 15 15 15 16 
15 2 18 19 20 21 22 23 24 25 26 27 28 15 
15 18 3 19 20 21 22 23 24 25 26 27 28 15 
15 19 19 4 20 21 22 23 24 25 26 27 28 15 
15 20 20 20 5 21 22 23 24 25 26 27 28 15 
15 21 21 21 21 6 22 23 24 25 26 27 28 15 
15 22 22 22 22 22 7 23 24 25 26 27 28 15 
15...

result:

ok Correct. (1 test case)

Test #14:

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

input:

15

output:

Yes
1 16 16 16 16 16 16 16 16 16 16 16 16 16 17 
16 2 19 20 21 22 23 24 25 26 27 28 29 30 16 
16 19 3 20 21 22 23 24 25 26 27 28 29 30 16 
16 20 20 4 21 22 23 24 25 26 27 28 29 30 16 
16 21 21 21 5 22 23 24 25 26 27 28 29 30 16 
16 22 22 22 22 6 23 24 25 26 27 28 29 30 16 
16 23 23 23 23 23 7 24 25 ...

result:

ok Correct. (1 test case)

Test #15:

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

input:

16

output:

Yes
1 17 17 17 17 17 17 17 17 17 17 17 17 17 17 18 
17 2 20 21 22 23 24 25 26 27 28 29 30 31 32 17 
17 20 3 21 22 23 24 25 26 27 28 29 30 31 32 17 
17 21 21 4 22 23 24 25 26 27 28 29 30 31 32 17 
17 22 22 22 5 23 24 25 26 27 28 29 30 31 32 17 
17 23 23 23 23 6 24 25 26 27 28 29 30 31 32 17 
17 24 24...

result:

ok Correct. (1 test case)

Test #16:

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

input:

17

output:

Yes
1 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 19 
18 2 21 22 23 24 25 26 27 28 29 30 31 32 33 34 18 
18 21 3 22 23 24 25 26 27 28 29 30 31 32 33 34 18 
18 22 22 4 23 24 25 26 27 28 29 30 31 32 33 34 18 
18 23 23 23 5 24 25 26 27 28 29 30 31 32 33 34 18 
18 24 24 24 24 6 25 26 27 28 29 30 31 32 ...

result:

ok Correct. (1 test case)

Test #17:

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

input:

18

output:

Yes
1 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 20 
19 2 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 19 
19 22 3 23 24 25 26 27 28 29 30 31 32 33 34 35 36 19 
19 23 23 4 24 25 26 27 28 29 30 31 32 33 34 35 36 19 
19 24 24 24 5 25 26 27 28 29 30 31 32 33 34 35 36 19 
19 25 25 25 25 6 26 27 28 ...

result:

ok Correct. (1 test case)

Test #18:

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

input:

19

output:

Yes
1 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 21 
20 2 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 20 
20 23 3 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 20 
20 24 24 4 25 26 27 28 29 30 31 32 33 34 35 36 37 38 20 
20 25 25 25 5 26 27 28 29 30 31 32 33 34 35 36 37 38 20 
20 26 26 26...

result:

ok Correct. (1 test case)

Test #19:

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

input:

20

output:

Yes
1 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 22 
21 2 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 21 
21 24 3 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 21 
21 25 25 4 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 21 
21 26 26 26 5 27 28 29 30 31 32 33 34 35 36 37 38 39 40 ...

result:

ok Correct. (1 test case)

Test #20:

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

input:

21

output:

Yes
1 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 23 
22 2 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 22 
22 25 3 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 22 
22 26 26 4 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 22 
22 27 27 27 5 28 29 30 31 32 33 34 35 36 37 ...

result:

ok Correct. (1 test case)

Test #21:

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

input:

22

output:

Yes
1 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 24 
23 2 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 23 
23 26 3 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 23 
23 27 27 4 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 23 
23 28 28 28 5 29 30 31 32 33 34 ...

result:

ok Correct. (1 test case)

Test #22:

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

input:

23

output:

Yes
1 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 25 
24 2 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 24 
24 27 3 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 24 
24 28 28 4 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 24 
24 29 29 29 5 30 31 ...

result:

ok Correct. (1 test case)

Test #23:

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

input:

24

output:

Yes
1 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 26 
25 2 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 25 
25 28 3 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 25 
25 29 29 4 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 25 
25 30 30...

result:

ok Correct. (1 test case)

Test #24:

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

input:

25

output:

Yes
1 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 27 
26 2 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 26 
26 29 3 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 26 
26 30 30 4 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 ...

result:

ok Correct. (1 test case)

Test #25:

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

input:

26

output:

Yes
1 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 28 
27 2 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 27 
27 30 3 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 27 
27 31 31 4 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 ...

result:

ok Correct. (1 test case)

Test #26:

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

input:

27

output:

Yes
1 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 29 
28 2 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 28 
28 31 3 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 28 
28 32 32 4 33 34 35 36 37 38 39 40 41 42 43 44 45 46 ...

result:

ok Correct. (1 test case)

Test #27:

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

input:

28

output:

Yes
1 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 30 
29 2 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 29 
29 32 3 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 29 
29 33 33 4 34 35 36 37 38 39 40 41 42 43 44 ...

result:

ok Correct. (1 test case)

Test #28:

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

input:

29

output:

Yes
1 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 31 
30 2 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 30 
30 33 3 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 30 
30 34 34 4 35 36 37 38 39 40 41 42 ...

result:

ok Correct. (1 test case)

Test #29:

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

input:

30

output:

Yes
1 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 32 
31 2 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 31 
31 34 3 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 31 
31 35 35 4 36 37 38 39 40 ...

result:

ok Correct. (1 test case)

Test #30:

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

input:

31

output:

Yes
1 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 33 
32 2 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 32 
32 35 3 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 32 
32 36 36 4 37 38 ...

result:

ok Correct. (1 test case)

Test #31:

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

input:

32

output:

Yes
1 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 34 
33 2 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 33 
33 36 3 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 33 
33 37 37...

result:

ok Correct. (1 test case)

Test #32:

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

input:

33

output:

Yes
1 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 35 
34 2 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 34 
34 37 3 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 34 ...

result:

ok Correct. (1 test case)

Test #33:

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

input:

34

output:

Yes
1 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 36 
35 2 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 35 
35 38 3 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 ...

result:

ok Correct. (1 test case)

Test #34:

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

input:

35

output:

Yes
1 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 37 
36 2 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 36 
36 39 3 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 ...

result:

ok Correct. (1 test case)

Test #35:

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

input:

36

output:

Yes
1 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 38 
37 2 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 37 
37 40 3 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 ...

result:

ok Correct. (1 test case)

Test #36:

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

input:

37

output:

Yes
1 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 39 
38 2 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 38 
38 41 3 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 ...

result:

ok Correct. (1 test case)

Test #37:

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

input:

38

output:

Yes
1 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 40 
39 2 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 39 
39 42 3 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 ...

result:

ok Correct. (1 test case)

Test #38:

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

input:

39

output:

Yes
1 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 41 
40 2 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 40 
40 43 3 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 ...

result:

ok Correct. (1 test case)

Test #39:

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

input:

40

output:

Yes
1 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 42 
41 2 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 41 
41 44 3 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 ...

result:

ok Correct. (1 test case)

Test #40:

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

input:

41

output:

Yes
1 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 43 
42 2 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 42 
42 45 3 46 47 48 49 50 51 52 53 54 55 56 57 58 59 ...

result:

ok Correct. (1 test case)

Test #41:

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

input:

42

output:

Yes
1 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43 44 
43 2 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 43 
43 46 3 47 48 49 50 51 52 53 54 55 56 57 58 ...

result:

ok Correct. (1 test case)

Test #42:

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

input:

43

output:

Yes
1 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 45 
44 2 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 44 
44 47 3 48 49 50 51 52 53 54 55 56 57 ...

result:

ok Correct. (1 test case)

Test #43:

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

input:

44

output:

Yes
1 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 46 
45 2 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 45 
45 48 3 49 50 51 52 53 54 55 56 ...

result:

ok Correct. (1 test case)

Test #44:

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

input:

45

output:

Yes
1 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 46 47 
46 2 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 46 
46 49 3 50 51 52 53 54 55 ...

result:

ok Correct. (1 test case)

Test #45:

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

input:

46

output:

Yes
1 47 47 47 47 47 47 47 47 47 47 47 47 47 47 47 47 47 47 47 47 47 47 47 47 47 47 47 47 47 47 47 47 47 47 47 47 47 47 47 47 47 47 47 47 48 
47 2 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 47 
47 50 3 51 52 53 54 ...

result:

ok Correct. (1 test case)

Test #46:

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

input:

47

output:

Yes
1 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 49 
48 2 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 48 
48 51 3 52 53 ...

result:

ok Correct. (1 test case)

Test #47:

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

input:

48

output:

Yes
1 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 50 
49 2 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 49 
49 52 3 ...

result:

ok Correct. (1 test case)

Test #48:

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

input:

49

output:

Yes
1 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 51 
50 2 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 50 
50...

result:

ok Correct. (1 test case)

Test #49:

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

input:

50

output:

Yes
1 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 52 
51 2 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100...

result:

ok Correct. (1 test case)

Extra Test:

score: 0
Extra Test Passed