QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#624130#9415. Matrixwowlie#AC ✓1ms3744kbC++201.3kb2024-10-09 15:01:582024-10-09 15:02:00

Judging History

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

  • [2024-10-09 15:02:00]
  • 评测
  • 测评结果:AC
  • 用时:1ms
  • 内存:3744kb
  • [2024-10-09 15:01:58]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;
#define int long long
int a[100][100];

void solve()
{
    int n;
    cin >> n;

    cout << "Yes\n";

    int cnt = 1;
    for(int i=1;i<=n;i++)
    {
        if(i == 1 || i ==2)
        {
            for(int j=1;j<=2;j++)
            {
                a[i][j] = cnt;
                cnt ++;
            }
            for(int j =3;j<=n;j++){
                a[i][j] = 2*n;
            }
        }
        else if(i == 3)
        {
            for(int j=1;j<=2;j++)
            {
                a[i][j] = 2*n;
            }

            for(int j=3;j<=n;j++)
            {
                a[i][j] = cnt;
                cnt ++;
            }
        }
        else 
        {
            for(int j=1;j<=2;j++)
            {
                a[i][j] = 2*n;
            }
            a[i][3] = cnt;
            cnt ++;

            for(int j=4;j<=n;j++)
            {
                a[i][j] = a[i-1][j];
            }
        }

    }

    for(int i=1;i<=n;i++)
    {
        for(int j=1;j<=n;j++)
        {
            cout << a[i][j] << " ";
        }
        cout << endl;
    }
}

signed main()
{
    ios::sync_with_stdio(false);
    cin.tie(nullptr);
    cout.tie(nullptr);
    int 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: 3588kb

input:

2

output:

Yes
1 2 
3 4 

result:

ok Correct. (1 test case)

Test #2:

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

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

input:

4

output:

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

result:

ok Correct. (1 test case)

Test #4:

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

input:

5

output:

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

result:

ok Correct. (1 test case)

Test #5:

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

input:

6

output:

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

result:

ok Correct. (1 test case)

Test #6:

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

input:

7

output:

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

result:

ok Correct. (1 test case)

Test #7:

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

input:

8

output:

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

result:

ok Correct. (1 test case)

Test #8:

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

input:

9

output:

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

result:

ok Correct. (1 test case)

Test #9:

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

input:

10

output:

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

result:

ok Correct. (1 test case)

Test #10:

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

input:

11

output:

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

result:

ok Correct. (1 test case)

Test #11:

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

input:

12

output:

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

result:

ok Correct. (1 test case)

Test #12:

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

input:

13

output:

Yes
1 2 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 5 6 7 8 9 10 11 12 13 14 15 
26 26 16 6 7 8 9 10 11 12 13 14 15 
26 26 17 6 7 8 9 10 11 12 13 14 15 
26 26 18 6 7 8 9 10 11 12 13 14 15 
26 26 19 6 7 8 9 10 11 12 13 14 15 
26 26 20 6 7 8 9 10 11 12 13 14 15 
26 26...

result:

ok Correct. (1 test case)

Test #13:

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

input:

14

output:

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

result:

ok Correct. (1 test case)

Test #14:

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

input:

15

output:

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

result:

ok Correct. (1 test case)

Test #15:

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

input:

16

output:

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

result:

ok Correct. (1 test case)

Test #16:

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

input:

17

output:

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

result:

ok Correct. (1 test case)

Test #17:

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

input:

18

output:

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

result:

ok Correct. (1 test case)

Test #18:

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

input:

19

output:

Yes
1 2 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 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 
38 38 22 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 
38 38 23 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 
38 38 24 6 7 8 9 10 11 ...

result:

ok Correct. (1 test case)

Test #19:

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

input:

20

output:

Yes
1 2 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 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 
40 40 23 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 
40 40 24 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 
40 40 25...

result:

ok Correct. (1 test case)

Test #20:

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

input:

21

output:

Yes
1 2 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 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 
42 42 24 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 
42 42 25 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 ...

result:

ok Correct. (1 test case)

Test #21:

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

input:

22

output:

Yes
1 2 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 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 
44 44 25 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 
44 44 26 6 7 8 9 10 11 12 13 14 15 16 17 ...

result:

ok Correct. (1 test case)

Test #22:

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

input:

23

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 
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 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 
46 46 26 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 
46 46 27 6 7 8 9 10 11 12 13 ...

result:

ok Correct. (1 test case)

Test #23:

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

input:

24

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 
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 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 
48 48 27 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 
48 48 28 6 7 8 9 ...

result:

ok Correct. (1 test case)

Test #24:

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

input:

25

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 
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 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 
50 50 28 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 
50 50...

result:

ok Correct. (1 test case)

Test #25:

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

input:

26

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 
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 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 
52 52 29 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 ...

result:

ok Correct. (1 test case)

Test #26:

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

input:

27

output:

Yes
1 2 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 
3 4 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 
54 54 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 
54 54 30 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 ...

result:

ok Correct. (1 test case)

Test #27:

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

input:

28

output:

Yes
1 2 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 
3 4 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 56 
56 56 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 
56 56 31 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ...

result:

ok Correct. (1 test case)

Test #28:

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

input:

29

output:

Yes
1 2 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 
3 4 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 
58 58 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 
58 58 32 6 7 8 9 10 11 12 13 14 15 16 17 ...

result:

ok Correct. (1 test case)

Test #29:

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

input:

30

output:

Yes
1 2 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 
3 4 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 
60 60 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 
60 60 33 6 7 8 9 10 11 12 13 14 ...

result:

ok Correct. (1 test case)

Test #30:

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

input:

31

output:

Yes
1 2 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 
3 4 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 
62 62 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 
62 62 34 6 7 8 9 10 11 ...

result:

ok Correct. (1 test case)

Test #31:

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

input:

32

output:

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

result:

ok Correct. (1 test case)

Test #32:

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

input:

33

output:

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

result:

ok Correct. (1 test case)

Test #33:

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

input:

34

output:

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

result:

ok Correct. (1 test case)

Test #34:

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

input:

35

output:

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

result:

ok Correct. (1 test case)

Test #35:

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

input:

36

output:

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

result:

ok Correct. (1 test case)

Test #36:

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

input:

37

output:

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

result:

ok Correct. (1 test case)

Test #37:

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

input:

38

output:

Yes
1 2 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 
3 4 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 76 
76 76 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 #38:

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

input:

39

output:

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

result:

ok Correct. (1 test case)

Test #39:

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

input:

40

output:

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

result:

ok Correct. (1 test case)

Test #40:

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

input:

41

output:

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

result:

ok Correct. (1 test case)

Test #41:

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

input:

42

output:

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

result:

ok Correct. (1 test case)

Test #42:

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

input:

43

output:

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

result:

ok Correct. (1 test case)

Test #43:

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

input:

44

output:

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

result:

ok Correct. (1 test case)

Test #44:

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

input:

45

output:

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

result:

ok Correct. (1 test case)

Test #45:

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

input:

46

output:

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

result:

ok Correct. (1 test case)

Test #46:

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

input:

47

output:

Yes
1 2 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 
3 4 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 
94 94 5 6 7 8 9 ...

result:

ok Correct. (1 test case)

Test #47:

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

input:

48

output:

Yes
1 2 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 
3 4 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 
96 96 5 6 ...

result:

ok Correct. (1 test case)

Test #48:

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

input:

49

output:

Yes
1 2 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 
3 4 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 98 
98 9...

result:

ok Correct. (1 test case)

Test #49:

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

input:

50

output:

Yes
1 2 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 
3 4 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100...

result:

ok Correct. (1 test case)

Extra Test:

score: 0
Extra Test Passed