QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#609112#9415. MatrixKomorebie#AC ✓1ms3732kbC++17598b2024-10-04 10:41:512024-10-04 10:41:52

Judging History

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

  • [2024-10-04 10:41:52]
  • 评测
  • 测评结果:AC
  • 用时:1ms
  • 内存:3732kb
  • [2024-10-04 10:41:51]
  • 提交

answer

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

#define ll long long
ll n;
ll g[100][100];

int main(){
    cin>>n;
    g[1][1]=1,g[1][2]=2,g[2][1]=3,g[2][2]=4;
    ll num=4;
    cout<<"Yes"<<endl;
    for(int i=3;i<=n;i++){
        num++;
        for(int j=1;j<=2;j++){
            g[i][j]=num;
        }
    }
    for(int i=3;i<=n;i++){
        num++;
        for(int j=1;j<=n;j++){
            g[j][i]=num;
        }
    }

    for(int i=1;i<=n;i++){
        for(int j=1;j<=n;j++){
            cout<<g[i][j]<<' ';
        }
        cout<<endl;
    }
    return 0;
}

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

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2

output:

Yes
1 2 
3 4 

result:

ok Correct. (1 test case)

Test #2:

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

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: 3612kb

input:

4

output:

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

result:

ok Correct. (1 test case)

Test #4:

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

input:

5

output:

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

result:

ok Correct. (1 test case)

Test #5:

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

input:

6

output:

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

result:

ok Correct. (1 test case)

Test #6:

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

input:

7

output:

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

result:

ok Correct. (1 test case)

Test #7:

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

input:

8

output:

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

result:

ok Correct. (1 test case)

Test #8:

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

input:

9

output:

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

result:

ok Correct. (1 test case)

Test #9:

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

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 13 14 15 16 17 18 19 20 
6 6 13 14 15 16 17 18 19 20 
7 7 13 14 15 16 17 18 19 20 
8 8 13 14 15 16 17 18 19 20 
9 9 13 14 15 16 17 18 19 20 
10 10 13 14 15 16 17 18 19 20 
11 11 13 14 15 16 17 18 19 20 
12 12 13 14 15 16 17 18 19 20 

result:

ok Correct. (1 test case)

Test #10:

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

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 14 15 16 17 18 19 20 21 22 
6 6 14 15 16 17 18 19 20 21 22 
7 7 14 15 16 17 18 19 20 21 22 
8 8 14 15 16 17 18 19 20 21 22 
9 9 14 15 16 17 18 19 20 21 22 
10 10 14 15 16 17 18 19 20 21 22 
11 11 14 15 16 17 18 19 20 21 22 
12 1...

result:

ok Correct. (1 test case)

Test #11:

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

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 15 16 17 18 19 20 21 22 23 24 
6 6 15 16 17 18 19 20 21 22 23 24 
7 7 15 16 17 18 19 20 21 22 23 24 
8 8 15 16 17 18 19 20 21 22 23 24 
9 9 15 16 17 18 19 20 21 22 23 24 
10 10 15 16 17 18 19 20 21 22 23 24 
11 11 15 16 17...

result:

ok Correct. (1 test case)

Test #12:

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

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 16 17 18 19 20 21 22 23 24 25 26 
6 6 16 17 18 19 20 21 22 23 24 25 26 
7 7 16 17 18 19 20 21 22 23 24 25 26 
8 8 16 17 18 19 20 21 22 23 24 25 26 
9 9 16 17 18 19 20 21 22 23 24 25 26 
10 10 16 17 18 19 20 21 22 23 ...

result:

ok Correct. (1 test case)

Test #13:

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

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 17 18 19 20 21 22 23 24 25 26 27 28 
6 6 17 18 19 20 21 22 23 24 25 26 27 28 
7 7 17 18 19 20 21 22 23 24 25 26 27 28 
8 8 17 18 19 20 21 22 23 24 25 26 27 28 
9 9 17 18 19 20 21 22 23 24 25 26 27 28 
10 10 17 ...

result:

ok Correct. (1 test case)

Test #14:

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

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 18 19 20 21 22 23 24 25 26 27 28 29 30 
6 6 18 19 20 21 22 23 24 25 26 27 28 29 30 
7 7 18 19 20 21 22 23 24 25 26 27 28 29 30 
8 8 18 19 20 21 22 23 24 25 26 27 28 29 30 
9 9 18 19 20 21 22 23 24 25 26 2...

result:

ok Correct. (1 test case)

Test #15:

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

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 19 20 21 22 23 24 25 26 27 28 29 30 31 32 
6 6 19 20 21 22 23 24 25 26 27 28 29 30 31 32 
7 7 19 20 21 22 23 24 25 26 27 28 29 30 31 32 
8 8 19 20 21 22 23 24 25 26 27 28 29 30 31 32 
9 9 19 20 21 2...

result:

ok Correct. (1 test case)

Test #16:

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

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 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 
6 6 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 
7 7 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 
8 8 20 21 22 23 24 25 26 27 28 29 30 31 32 33 ...

result:

ok Correct. (1 test case)

Test #17:

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

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 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 
6 6 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 
7 7 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 
8 8 21 22 23 24 25 26 27 28 29 ...

result:

ok Correct. (1 test case)

Test #18:

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

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 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 
6 6 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 
7 7 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 
8 8 22 23 24 25 ...

result:

ok Correct. (1 test case)

Test #19:

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

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 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 
6 6 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 
7 7 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 
8...

result:

ok Correct. (1 test case)

Test #20:

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

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 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 
6 6 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 
7 7 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38...

result:

ok Correct. (1 test case)

Test #21:

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

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 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 
6 6 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 
7 7 25 26 27 28 29 30 31 32 33 34 35...

result:

ok Correct. (1 test case)

Test #22:

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

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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 
6 6 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 
7 7 26 27 28 29 30 31 32...

result:

ok Correct. (1 test case)

Test #23:

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

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

result:

ok Correct. (1 test case)

Test #24:

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

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

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 29 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 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 4...

result:

ok Correct. (1 test case)

Test #26:

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

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 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 
6 6 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 4...

result:

ok Correct. (1 test case)

Test #27:

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

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 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 
6 6 31 32 33 34 35 36 37 38 39 40 41 42 43 44 4...

result:

ok Correct. (1 test case)

Test #28:

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

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 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 
6 6 32 33 34 35 36 37 38 39 40 41 42 4...

result:

ok Correct. (1 test case)

Test #29:

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

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 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 
6 6 33 34 35 36 37 38 39 40 4...

result:

ok Correct. (1 test case)

Test #30:

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

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 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 
6 6 34 35 36 37 38 3...

result:

ok Correct. (1 test case)

Test #31:

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

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 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 
6 6 35 36 3...

result:

ok Correct. (1 test case)

Test #32:

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

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 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 
6 ...

result:

ok Correct. (1 test case)

Test #33:

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

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 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 ...

result:

ok Correct. (1 test case)

Test #34:

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

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 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 ...

result:

ok Correct. (1 test case)

Test #35:

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

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 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 ...

result:

ok Correct. (1 test case)

Test #36:

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

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 40 41 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: 3572kb

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 41 42 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: 3596kb

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 42 43 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: 3644kb

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 43 44 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: 3640kb

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 44 45 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: 3660kb

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 45 46 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: 3664kb

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 46 47 48 49 50 51 52 53 54 55 56 57 ...

result:

ok Correct. (1 test case)

Test #43:

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

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 47 48 49 50 51 52 53 54 55 56 ...

result:

ok Correct. (1 test case)

Test #44:

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

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 48 49 50 51 52 53 54 55 ...

result:

ok Correct. (1 test case)

Test #45:

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

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 49 50 51 52 53 54 ...

result:

ok Correct. (1 test case)

Test #46:

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

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 50 51 52 53 ...

result:

ok Correct. (1 test case)

Test #47:

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

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 51 52 ...

result:

ok Correct. (1 test case)

Test #48:

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

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: 1ms
memory: 3732kb

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