QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#706797#9415. MatrixshinonomezhouAC ✓1ms3752kbC++23600b2024-11-03 13:30:462024-11-03 13:30:58

Judging History

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

  • [2024-11-03 13:30:58]
  • 评测
  • 测评结果:AC
  • 用时:1ms
  • 内存:3752kb
  • [2024-11-03 13:30:46]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
const int N=5e5+2e2;
int a[60][60];
int main(){
	ios::sync_with_stdio(false);
	cin.tie(0),cout.tie(0);
	int T=1;
//	cin>>T;
	while(T--){
		int n;
		cin>>n;
		a[1][1]=1,a[1][2]=2,a[2][1]=3,a[2][2]=4;
		int num=5;
		for(int i=3;i<=n;i++,num++){
			for(int j=1;j<=i;j++){
				a[i][j]=num;
			}
		}
		for(int j=3;j<=n;j++,num++){
			for(int i=1;i<=j-1;i++){
				a[i][j]=num;
			}
		}
		cout<<"Yes\n";
		for(int i=1;i<=n;i++){
			for(int j=1;j<=n;j++){
				cout<<a[i][j]<<' ';
			}
			cout<<'\n';
		}
	}
}

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

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2

output:

Yes
1 2 
3 4 

result:

ok Correct. (1 test case)

Test #2:

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

input:

3

output:

Yes
1 2 6 
3 4 6 
5 5 5 

result:

ok Correct. (1 test case)

Test #3:

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

input:

4

output:

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

result:

ok Correct. (1 test case)

Test #4:

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

input:

5

output:

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

result:

ok Correct. (1 test case)

Test #5:

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

input:

6

output:

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

result:

ok Correct. (1 test case)

Test #6:

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

input:

7

output:

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

result:

ok Correct. (1 test case)

Test #7:

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

input:

8

output:

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

result:

ok Correct. (1 test case)

Test #8:

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

input:

9

output:

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

result:

ok Correct. (1 test case)

Test #9:

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

input:

10

output:

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

result:

ok Correct. (1 test case)

Test #10:

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

input:

11

output:

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

result:

ok Correct. (1 test case)

Test #11:

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

input:

12

output:

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

result:

ok Correct. (1 test case)

Test #12:

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

input:

13

output:

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

result:

ok Correct. (1 test case)

Test #13:

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

input:

14

output:

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

result:

ok Correct. (1 test case)

Test #14:

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

input:

15

output:

Yes
1 2 18 19 20 21 22 23 24 25 26 27 28 29 30 
3 4 18 19 20 21 22 23 24 25 26 27 28 29 30 
5 5 5 19 20 21 22 23 24 25 26 27 28 29 30 
6 6 6 6 20 21 22 23 24 25 26 27 28 29 30 
7 7 7 7 7 21 22 23 24 25 26 27 28 29 30 
8 8 8 8 8 8 22 23 24 25 26 27 28 29 30 
9 9 9 9 9 9 9 23 24 25 26 27 28 29 30 
10 ...

result:

ok Correct. (1 test case)

Test #15:

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

input:

16

output:

Yes
1 2 19 20 21 22 23 24 25 26 27 28 29 30 31 32 
3 4 19 20 21 22 23 24 25 26 27 28 29 30 31 32 
5 5 5 20 21 22 23 24 25 26 27 28 29 30 31 32 
6 6 6 6 21 22 23 24 25 26 27 28 29 30 31 32 
7 7 7 7 7 22 23 24 25 26 27 28 29 30 31 32 
8 8 8 8 8 8 23 24 25 26 27 28 29 30 31 32 
9 9 9 9 9 9 9 24 25 26 2...

result:

ok Correct. (1 test case)

Test #16:

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

input:

17

output:

Yes
1 2 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 
3 4 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 
5 5 5 21 22 23 24 25 26 27 28 29 30 31 32 33 34 
6 6 6 6 22 23 24 25 26 27 28 29 30 31 32 33 34 
7 7 7 7 7 23 24 25 26 27 28 29 30 31 32 33 34 
8 8 8 8 8 8 24 25 26 27 28 29 30 31 32 33 34 
9 9 9 ...

result:

ok Correct. (1 test case)

Test #17:

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

input:

18

output:

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

result:

ok Correct. (1 test case)

Test #18:

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

input:

19

output:

Yes
1 2 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 
3 4 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 
5 5 5 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 
6 6 6 6 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 
7 7 7 7 7 25 26 27 28 29 30 31 32 33 34 35 36 37 38 
8 8 8 8 8 8 26 27 28 2...

result:

ok Correct. (1 test case)

Test #19:

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

input:

20

output:

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

result:

ok Correct. (1 test case)

Test #20:

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

input:

21

output:

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

result:

ok Correct. (1 test case)

Test #21:

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

input:

22

output:

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

result:

ok Correct. (1 test case)

Test #22:

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

input:

23

output:

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

result:

ok Correct. (1 test case)

Test #23:

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

input:

24

output:

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

result:

ok Correct. (1 test case)

Test #24:

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

input:

25

output:

Yes
1 2 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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 
5 5 5 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 
6 6 6 6 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 
7 7...

result:

ok Correct. (1 test case)

Test #25:

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

input:

26

output:

Yes
1 2 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 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 
5 5 5 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 
6 6 6 6 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 5...

result:

ok Correct. (1 test case)

Test #26:

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

input:

27

output:

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

result:

ok Correct. (1 test case)

Test #27:

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

input:

28

output:

Yes
1 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 55 56 
3 4 31 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 
5 5 5 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 
6 6 6 6 33 34 35 36 37 38 39 40 41 42 43 44 45 4...

result:

ok Correct. (1 test case)

Test #28:

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

input:

29

output:

Yes
1 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 57 58 
3 4 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 57 58 
5 5 5 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 
6 6 6 6 34 35 36 37 38 39 40 41 42 43 4...

result:

ok Correct. (1 test case)

Test #29:

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

input:

30

output:

Yes
1 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 59 60 
3 4 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 59 60 
5 5 5 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 
6 6 6 6 35 36 37 38 39 40 41 4...

result:

ok Correct. (1 test case)

Test #30:

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

input:

31

output:

Yes
1 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 61 62 
3 4 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 61 62 
5 5 5 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 
6 6 6 6 36 37 38 39 4...

result:

ok Correct. (1 test case)

Test #31:

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

input:

32

output:

Yes
1 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 63 64 
3 4 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 63 64 
5 5 5 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 
6 6 6 6 37 3...

result:

ok Correct. (1 test case)

Test #32:

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

input:

33

output:

Yes
1 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 65 66 
3 4 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 65 66 
5 5 5 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 
6 6...

result:

ok Correct. (1 test case)

Test #33:

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

input:

34

output:

Yes
1 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 67 68 
3 4 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 67 68 
5 5 5 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 6...

result:

ok Correct. (1 test case)

Test #34:

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

input:

35

output:

Yes
1 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 69 70 
3 4 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 69 70 
5 5 5 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 6...

result:

ok Correct. (1 test case)

Test #35:

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

input:

36

output:

Yes
1 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 71 72 
3 4 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 71 72 
5 5 5 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 6...

result:

ok Correct. (1 test case)

Test #36:

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

input:

37

output:

Yes
1 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 73 74 
3 4 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 73 74 
5 5 5 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 6...

result:

ok Correct. (1 test case)

Test #37:

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

input:

38

output:

Yes
1 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 75 76 
3 4 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 75 76 
5 5 5 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 6...

result:

ok Correct. (1 test case)

Test #38:

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

input:

39

output:

Yes
1 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 77 78 
3 4 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 77 78 
5 5 5 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 6...

result:

ok Correct. (1 test case)

Test #39:

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

input:

40

output:

Yes
1 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 79 80 
3 4 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 79 80 
5 5 5 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 6...

result:

ok Correct. (1 test case)

Test #40:

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

input:

41

output:

Yes
1 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 81 82 
3 4 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 81 82 
5 5 5 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 6...

result:

ok Correct. (1 test case)

Test #41:

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

input:

42

output:

Yes
1 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 83 84 
3 4 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 83 84 
5 5 5 46 47 48 49 50 51 52 53 54 55 56 57 58 5...

result:

ok Correct. (1 test case)

Test #42:

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

input:

43

output:

Yes
1 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 85 86 
3 4 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 85 86 
5 5 5 47 48 49 50 51 52 53 54 55 56 57 5...

result:

ok Correct. (1 test case)

Test #43:

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

input:

44

output:

Yes
1 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 87 88 
3 4 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 87 88 
5 5 5 48 49 50 51 52 53 54 55 56 5...

result:

ok Correct. (1 test case)

Test #44:

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

input:

45

output:

Yes
1 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 89 90 
3 4 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 89 90 
5 5 5 49 50 51 52 53 54 55 5...

result:

ok Correct. (1 test case)

Test #45:

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

input:

46

output:

Yes
1 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 91 92 
3 4 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 91 92 
5 5 5 50 51 52 53 54 5...

result:

ok Correct. (1 test case)

Test #46:

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

input:

47

output:

Yes
1 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 93 94 
3 4 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 93 94 
5 5 5 51 52 53 5...

result:

ok Correct. (1 test case)

Test #47:

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

input:

48

output:

Yes
1 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 95 96 
3 4 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 95 96 
5 5 5 52 5...

result:

ok Correct. (1 test case)

Test #48:

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

input:

49

output:

Yes
1 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 97 98 
3 4 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 97 98 
5 5 ...

result:

ok Correct. (1 test case)

Test #49:

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

input:

50

output:

Yes
1 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 99 100 
3 4 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 99 1...

result:

ok Correct. (1 test case)

Extra Test:

score: 0
Extra Test Passed