QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#609269#9415. MatrixITC_TL#AC ✓1ms3764kbC++201.3kb2024-10-04 11:42:382024-10-04 11:42:39

Judging History

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

  • [2024-10-04 11:42:39]
  • 评测
  • 测评结果:AC
  • 用时:1ms
  • 内存:3764kb
  • [2024-10-04 11:42:38]
  • 提交

answer

#include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define fore(i, l, r) for (ll i = (int)l; i <= (int)r; i++)
#define ford(i, r, l) for (ll i = (int)r; i >= (int)l; i--)
const int MAXN = 2123456LL;
ll T, n, a[52][52];
ll cnt = 0;
ll nxt()
{
    if (cnt == 2 * n)
        return cnt;
    return ++cnt;
}
int main()
{
    ios::sync_with_stdio(false);
    cin.tie(0);
    cin >> n;
    fore(i, n - 1, n)
    {
        fore(j, 1, 2)
        {
            a[i][j] = nxt();
        }
    }
    ll tmp = nxt();
    fore(i, 1, n - 2)
    {
        fore(j, 1, 2)
        {
            a[i][j] = tmp;
        }
    }
    fore(i, n - 1, n)
    {
        fore(j, 3, n)
        {
            a[i][j] = tmp;
        }
    }
    fore(i, 1, n - 2)
    {
        a[i][3] = nxt();
    }
    fore(j, 4, n)
    {
        a[n - 2][j] = nxt();
    }
    fore(i, 1, n - 3)
    {
        fore(j, 4, n)
        {
            a[i][j] = a[n - 2][j];
        }
    }
    if (cnt == 2 * n)
    {
        cout << "Yes" << endl;
        fore(i, 1, n)
        {
            fore(j, 1, n)
            {
                cout << a[i][j] << " ";
            }
            cout << endl;
        }
    }
    else
    {
        cout << "No" << endl;
    }

    return 0;
}

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

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2

output:

Yes
1 2 
3 4 

result:

ok Correct. (1 test case)

Test #2:

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

input:

3

output:

Yes
5 5 6 
1 2 5 
3 4 5 

result:

ok Correct. (1 test case)

Test #3:

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

input:

4

output:

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

result:

ok Correct. (1 test case)

Test #4:

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

input:

5

output:

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

result:

ok Correct. (1 test case)

Test #5:

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

input:

6

output:

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

result:

ok Correct. (1 test case)

Test #6:

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

input:

7

output:

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

result:

ok Correct. (1 test case)

Test #7:

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

input:

8

output:

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

result:

ok Correct. (1 test case)

Test #8:

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

input:

9

output:

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

result:

ok Correct. (1 test case)

Test #9:

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

input:

10

output:

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

result:

ok Correct. (1 test case)

Test #10:

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

input:

11

output:

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

result:

ok Correct. (1 test case)

Test #11:

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

input:

12

output:

Yes
5 5 6 16 17 18 19 20 21 22 23 24 
5 5 7 16 17 18 19 20 21 22 23 24 
5 5 8 16 17 18 19 20 21 22 23 24 
5 5 9 16 17 18 19 20 21 22 23 24 
5 5 10 16 17 18 19 20 21 22 23 24 
5 5 11 16 17 18 19 20 21 22 23 24 
5 5 12 16 17 18 19 20 21 22 23 24 
5 5 13 16 17 18 19 20 21 22 23 24 
5 5 14 16 17 18 19 2...

result:

ok Correct. (1 test case)

Test #12:

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

input:

13

output:

Yes
5 5 6 17 18 19 20 21 22 23 24 25 26 
5 5 7 17 18 19 20 21 22 23 24 25 26 
5 5 8 17 18 19 20 21 22 23 24 25 26 
5 5 9 17 18 19 20 21 22 23 24 25 26 
5 5 10 17 18 19 20 21 22 23 24 25 26 
5 5 11 17 18 19 20 21 22 23 24 25 26 
5 5 12 17 18 19 20 21 22 23 24 25 26 
5 5 13 17 18 19 20 21 22 23 24 25 ...

result:

ok Correct. (1 test case)

Test #13:

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

input:

14

output:

Yes
5 5 6 18 19 20 21 22 23 24 25 26 27 28 
5 5 7 18 19 20 21 22 23 24 25 26 27 28 
5 5 8 18 19 20 21 22 23 24 25 26 27 28 
5 5 9 18 19 20 21 22 23 24 25 26 27 28 
5 5 10 18 19 20 21 22 23 24 25 26 27 28 
5 5 11 18 19 20 21 22 23 24 25 26 27 28 
5 5 12 18 19 20 21 22 23 24 25 26 27 28 
5 5 13 18 19 ...

result:

ok Correct. (1 test case)

Test #14:

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

input:

15

output:

Yes
5 5 6 19 20 21 22 23 24 25 26 27 28 29 30 
5 5 7 19 20 21 22 23 24 25 26 27 28 29 30 
5 5 8 19 20 21 22 23 24 25 26 27 28 29 30 
5 5 9 19 20 21 22 23 24 25 26 27 28 29 30 
5 5 10 19 20 21 22 23 24 25 26 27 28 29 30 
5 5 11 19 20 21 22 23 24 25 26 27 28 29 30 
5 5 12 19 20 21 22 23 24 25 26 27 28...

result:

ok Correct. (1 test case)

Test #15:

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

input:

16

output:

Yes
5 5 6 20 21 22 23 24 25 26 27 28 29 30 31 32 
5 5 7 20 21 22 23 24 25 26 27 28 29 30 31 32 
5 5 8 20 21 22 23 24 25 26 27 28 29 30 31 32 
5 5 9 20 21 22 23 24 25 26 27 28 29 30 31 32 
5 5 10 20 21 22 23 24 25 26 27 28 29 30 31 32 
5 5 11 20 21 22 23 24 25 26 27 28 29 30 31 32 
5 5 12 20 21 22 23...

result:

ok Correct. (1 test case)

Test #16:

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

input:

17

output:

Yes
5 5 6 21 22 23 24 25 26 27 28 29 30 31 32 33 34 
5 5 7 21 22 23 24 25 26 27 28 29 30 31 32 33 34 
5 5 8 21 22 23 24 25 26 27 28 29 30 31 32 33 34 
5 5 9 21 22 23 24 25 26 27 28 29 30 31 32 33 34 
5 5 10 21 22 23 24 25 26 27 28 29 30 31 32 33 34 
5 5 11 21 22 23 24 25 26 27 28 29 30 31 32 33 34 
...

result:

ok Correct. (1 test case)

Test #17:

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

input:

18

output:

Yes
5 5 6 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 
5 5 7 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 
5 5 8 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 
5 5 9 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 
5 5 10 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 
5 5 11 22 23 24 25 26 27 28 29 30 3...

result:

ok Correct. (1 test case)

Test #18:

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

input:

19

output:

Yes
5 5 6 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 
5 5 7 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 
5 5 8 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 
5 5 9 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 
5 5 10 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 
5 5 11 23 24 25 26 2...

result:

ok Correct. (1 test case)

Test #19:

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

input:

20

output:

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

result:

ok Correct. (1 test case)

Test #20:

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

input:

21

output:

Yes
5 5 6 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 
5 5 7 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 
5 5 8 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 
5 5 9 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 
5 5 10 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 ...

result:

ok Correct. (1 test case)

Test #21:

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

input:

22

output:

Yes
5 5 6 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 
5 5 7 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 
5 5 8 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 
5 5 9 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 
5 5 10 26 27 28 29 30 31 32 33 34 35 36 ...

result:

ok Correct. (1 test case)

Test #22:

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

input:

23

output:

Yes
5 5 6 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 
5 5 7 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 
5 5 8 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 
5 5 9 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 
5 5 10 27 28 29 30 31 32 33 ...

result:

ok Correct. (1 test case)

Test #23:

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

input:

24

output:

Yes
5 5 6 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 
5 5 7 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 
5 5 8 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 
5 5 9 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 
5 5 10 28 29 30 ...

result:

ok Correct. (1 test case)

Test #24:

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

input:

25

output:

Yes
5 5 6 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 
5 5 7 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 
5 5 8 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 
5 5 9 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 
5 5 ...

result:

ok Correct. (1 test case)

Test #25:

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

input:

26

output:

Yes
5 5 6 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 7 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 8 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 9 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 #26:

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

input:

27

output:

Yes
5 5 6 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 7 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 8 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 9 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48...

result:

ok Correct. (1 test case)

Test #27:

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

input:

28

output:

Yes
5 5 6 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 7 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 8 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 9 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46...

result:

ok Correct. (1 test case)

Test #28:

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

input:

29

output:

Yes
5 5 6 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 7 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 8 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 9 33 34 35 36 37 38 39 40 41 42 43 44...

result:

ok Correct. (1 test case)

Test #29:

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

input:

30

output:

Yes
5 5 6 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 7 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 8 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 9 34 35 36 37 38 39 40 41 42...

result:

ok Correct. (1 test case)

Test #30:

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

input:

31

output:

Yes
5 5 6 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 7 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 8 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 9 35 36 37 38 39 40...

result:

ok Correct. (1 test case)

Test #31:

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

input:

32

output:

Yes
5 5 6 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 7 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 8 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 9 36 37 38...

result:

ok Correct. (1 test case)

Test #32:

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

input:

33

output:

Yes
5 5 6 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 7 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 8 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 9...

result:

ok Correct. (1 test case)

Test #33:

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

input:

34

output:

Yes
5 5 6 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 7 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 8 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 ...

result:

ok Correct. (1 test case)

Test #34:

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

input:

35

output:

Yes
5 5 6 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 7 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 8 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 #35:

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

input:

36

output:

Yes
5 5 6 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 7 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 8 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 #36:

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

input:

37

output:

Yes
5 5 6 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 7 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 8 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 #37:

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

input:

38

output:

Yes
5 5 6 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 7 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 8 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 #38:

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

input:

39

output:

Yes
5 5 6 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 7 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 8 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 #39:

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

input:

40

output:

Yes
5 5 6 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 7 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 8 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 #40:

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

input:

41

output:

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

result:

ok Correct. (1 test case)

Test #41:

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

input:

42

output:

Yes
5 5 6 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 7 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 8 46 47 48 49 50 51 52 53 54 55 56 57 58 59 ...

result:

ok Correct. (1 test case)

Test #42:

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

input:

43

output:

Yes
5 5 6 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 7 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 8 47 48 49 50 51 52 53 54 55 56 57 58 ...

result:

ok Correct. (1 test case)

Test #43:

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

input:

44

output:

Yes
5 5 6 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 7 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 8 48 49 50 51 52 53 54 55 56 57 ...

result:

ok Correct. (1 test case)

Test #44:

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

input:

45

output:

Yes
5 5 6 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 7 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 8 49 50 51 52 53 54 55 56 ...

result:

ok Correct. (1 test case)

Test #45:

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

input:

46

output:

Yes
5 5 6 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 7 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 8 50 51 52 53 54 55 ...

result:

ok Correct. (1 test case)

Test #46:

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

input:

47

output:

Yes
5 5 6 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 7 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 8 51 52 53 54 ...

result:

ok Correct. (1 test case)

Test #47:

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

input:

48

output:

Yes
5 5 6 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 7 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 8 52 53 ...

result:

ok Correct. (1 test case)

Test #48:

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

input:

49

output:

Yes
5 5 6 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 7 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 8 ...

result:

ok Correct. (1 test case)

Test #49:

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

input:

50

output:

Yes
5 5 6 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 
5 5 7 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