QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#672249#9415. Matrixconfirm14478#AC ✓1ms3792kbC++20998b2024-10-24 16:09:322024-10-24 16:09:32

Judging History

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

  • [2024-10-24 16:09:32]
  • 评测
  • 测评结果:AC
  • 用时:1ms
  • 内存:3792kb
  • [2024-10-24 16:09:32]
  • 提交

answer

#define _CRT_SECURE_NO_WARNINGS
#include<bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#define YES cout<<"YES\n"
#define NO cout<<"NO\n"
#define endl "\n"
#define debug cout<<'*'<<'\n'
#define int long long
const int N =205, M = 5e5+50;
const int mod = 1e9 + 7, inf = 2e18;
using namespace std;
using namespace __gnu_pbds;
using pii=pair<int,int>;

int a[N][N];
void solve(){
	int n;
	cin>>n;
	int t=0;
	a[1][1]=++t;
	a[1][2]=++t;
	a[2][1]=++t;
	a[2][2]=++t;
	for(int i=3;i<=n;i++)a[i][i]=++t;
	++t;
	for(int i=3;i<=n;i++)a[i][1]=a[i][2]=a[1][i]=a[2][i]=t;
	for(int i=3;i<=n;i++) {
		++t;
		for(int j=i+1;j<=n;j++) {
			a[i][j]=t;
			a[j][i]=t;
		}
	}
	cout<<"Yes\n";
	for(int i=1;i<=n;i++) {
		for(int j=1;j<=n;j++)cout<<a[i][j]<<" ";
		cout<<endl;
	}
}
signed main()
{
	//freopen("C:\\Users\\win11\\Desktop\\test.txt", "r", stdin);
	ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);

	long long T = 1;
	//cin >> T;
	while (T--)solve();
}

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

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2

output:

Yes
1 2 
3 4 

result:

ok Correct. (1 test case)

Test #2:

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

input:

3

output:

Yes
1 2 6 
3 4 6 
6 6 5 

result:

ok Correct. (1 test case)

Test #3:

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

input:

4

output:

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

result:

ok Correct. (1 test case)

Test #4:

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

input:

5

output:

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

result:

ok Correct. (1 test case)

Test #5:

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

input:

6

output:

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

result:

ok Correct. (1 test case)

Test #6:

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

input:

7

output:

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

result:

ok Correct. (1 test case)

Test #7:

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

input:

8

output:

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

result:

ok Correct. (1 test case)

Test #8:

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

input:

9

output:

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

result:

ok Correct. (1 test case)

Test #9:

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

input:

10

output:

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

result:

ok Correct. (1 test case)

Test #10:

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

input:

11

output:

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

result:

ok Correct. (1 test case)

Test #11:

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

input:

12

output:

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

result:

ok Correct. (1 test case)

Test #12:

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

input:

13

output:

Yes
1 2 16 16 16 16 16 16 16 16 16 16 16 
3 4 16 16 16 16 16 16 16 16 16 16 16 
16 16 5 17 17 17 17 17 17 17 17 17 17 
16 16 17 6 18 18 18 18 18 18 18 18 18 
16 16 17 18 7 19 19 19 19 19 19 19 19 
16 16 17 18 19 8 20 20 20 20 20 20 20 
16 16 17 18 19 20 9 21 21 21 21 21 21 
16 16 17 18 19 20 21 10 2...

result:

ok Correct. (1 test case)

Test #13:

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

input:

14

output:

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

result:

ok Correct. (1 test case)

Test #14:

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

input:

15

output:

Yes
1 2 18 18 18 18 18 18 18 18 18 18 18 18 18 
3 4 18 18 18 18 18 18 18 18 18 18 18 18 18 
18 18 5 19 19 19 19 19 19 19 19 19 19 19 19 
18 18 19 6 20 20 20 20 20 20 20 20 20 20 20 
18 18 19 20 7 21 21 21 21 21 21 21 21 21 21 
18 18 19 20 21 8 22 22 22 22 22 22 22 22 22 
18 18 19 20 21 22 9 23 23 23...

result:

ok Correct. (1 test case)

Test #15:

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

input:

16

output:

Yes
1 2 19 19 19 19 19 19 19 19 19 19 19 19 19 19 
3 4 19 19 19 19 19 19 19 19 19 19 19 19 19 19 
19 19 5 20 20 20 20 20 20 20 20 20 20 20 20 20 
19 19 20 6 21 21 21 21 21 21 21 21 21 21 21 21 
19 19 20 21 7 22 22 22 22 22 22 22 22 22 22 22 
19 19 20 21 22 8 23 23 23 23 23 23 23 23 23 23 
19 19 20 2...

result:

ok Correct. (1 test case)

Test #16:

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

input:

17

output:

Yes
1 2 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 
3 4 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 
20 20 5 21 21 21 21 21 21 21 21 21 21 21 21 21 21 
20 20 21 6 22 22 22 22 22 22 22 22 22 22 22 22 22 
20 20 21 22 7 23 23 23 23 23 23 23 23 23 23 23 23 
20 20 21 22 23 8 24 24 24 24 24 24 24 24 24...

result:

ok Correct. (1 test case)

Test #17:

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

input:

18

output:

Yes
1 2 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 
3 4 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 
21 21 5 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 
21 21 22 6 23 23 23 23 23 23 23 23 23 23 23 23 23 23 
21 21 22 23 7 24 24 24 24 24 24 24 24 24 24 24 24 24 
21 21 22 23 24 8 25 25 25 25...

result:

ok Correct. (1 test case)

Test #18:

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

input:

19

output:

Yes
1 2 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 
3 4 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 
22 22 5 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 
22 22 23 6 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 
22 22 23 24 7 25 25 25 25 25 25 25 25 25 25 25 25 25 25 
22 22 23 24 2...

result:

ok Correct. (1 test case)

Test #19:

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

input:

20

output:

Yes
1 2 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 
3 4 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 
23 23 5 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 
23 23 24 6 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 
23 23 24 25 7 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26...

result:

ok Correct. (1 test case)

Test #20:

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

input:

21

output:

Yes
1 2 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 
3 4 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 
24 24 5 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 
24 24 25 6 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 
24 24 25 26 7 27 27 27 27 27 27 27 27 27 27 27...

result:

ok Correct. (1 test case)

Test #21:

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

input:

22

output:

Yes
1 2 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 
3 4 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 
25 25 5 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 
25 25 26 6 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 
25 25 26 27 7 28 28 28 28 28 28 28...

result:

ok Correct. (1 test case)

Test #22:

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

input:

23

output:

Yes
1 2 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 
3 4 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 
26 26 5 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 
26 26 27 6 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 
26 26 27 28 7 29 29 29...

result:

ok Correct. (1 test case)

Test #23:

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

input:

24

output:

Yes
1 2 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 
3 4 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 
27 27 5 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 
27 27 28 6 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 
27 27 28 2...

result:

ok Correct. (1 test case)

Test #24:

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

input:

25

output:

Yes
1 2 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 
3 4 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 5 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 
28 28 29 6 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30...

result:

ok Correct. (1 test case)

Test #25:

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

input:

26

output:

Yes
1 2 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 
3 4 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 5 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 
29 29 30 6 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31...

result:

ok Correct. (1 test case)

Test #26:

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

input:

27

output:

Yes
1 2 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 
3 4 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 5 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 
30 30 31 6 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32...

result:

ok Correct. (1 test case)

Test #27:

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

input:

28

output:

Yes
1 2 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 
3 4 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 5 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 
31 31 32 6 33 33 33 33 33 33 33 33 33 33 33 33...

result:

ok Correct. (1 test case)

Test #28:

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

input:

29

output:

Yes
1 2 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 
3 4 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 5 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 
32 32 33 6 34 34 34 34 34 34 34 34 34...

result:

ok Correct. (1 test case)

Test #29:

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

input:

30

output:

Yes
1 2 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 
3 4 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 5 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 
33 33 34 6 35 35 35 35 35 35...

result:

ok Correct. (1 test case)

Test #30:

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

input:

31

output:

Yes
1 2 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 
3 4 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 5 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 
34 34 35 6 36 36 36...

result:

ok Correct. (1 test case)

Test #31:

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

input:

32

output:

Yes
1 2 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 
3 4 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 5 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 
35 35 36 6...

result:

ok Correct. (1 test case)

Test #32:

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

input:

33

output:

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

result:

ok Correct. (1 test case)

Test #33:

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

input:

34

output:

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

result:

ok Correct. (1 test case)

Test #34:

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

input:

35

output:

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

result:

ok Correct. (1 test case)

Test #35:

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

input:

36

output:

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

result:

ok Correct. (1 test case)

Test #36:

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

input:

37

output:

Yes
1 2 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 
3 4 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 5 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41...

result:

ok Correct. (1 test case)

Test #37:

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

input:

38

output:

Yes
1 2 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 
3 4 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 5 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42...

result:

ok Correct. (1 test case)

Test #38:

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

input:

39

output:

Yes
1 2 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 
3 4 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 5 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43...

result:

ok Correct. (1 test case)

Test #39:

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

input:

40

output:

Yes
1 2 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 
3 4 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 5 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44...

result:

ok Correct. (1 test case)

Test #40:

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

input:

41

output:

Yes
1 2 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 
3 4 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 5 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45...

result:

ok Correct. (1 test case)

Test #41:

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

input:

42

output:

Yes
1 2 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 
3 4 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 5 46 46 46 46 46 46 46 46 46 46 46 46 46...

result:

ok Correct. (1 test case)

Test #42:

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

input:

43

output:

Yes
1 2 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 
3 4 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 5 47 47 47 47 47 47 47 47 47 47 47...

result:

ok Correct. (1 test case)

Test #43:

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

input:

44

output:

Yes
1 2 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 
3 4 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 5 48 48 48 48 48 48 48 48 48...

result:

ok Correct. (1 test case)

Test #44:

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

input:

45

output:

Yes
1 2 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 
3 4 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 5 49 49 49 49 49 49 49...

result:

ok Correct. (1 test case)

Test #45:

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

input:

46

output:

Yes
1 2 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 
3 4 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 5 50 50 50 50 50...

result:

ok Correct. (1 test case)

Test #46:

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

input:

47

output:

Yes
1 2 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 
3 4 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 5 51 51 51...

result:

ok Correct. (1 test case)

Test #47:

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

input:

48

output:

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

result:

ok Correct. (1 test case)

Test #48:

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

input:

49

output:

Yes
1 2 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 
3 4 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 
52 5...

result:

ok Correct. (1 test case)

Test #49:

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

input:

50

output:

Yes
1 2 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 
3 4 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53...

result:

ok Correct. (1 test case)

Extra Test:

score: 0
Extra Test Passed