QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#609091#9415. MatrixUESTC_OldEastWest#AC ✓1ms3792kbC++17640b2024-10-04 10:35:362024-10-04 10:35:36

Judging History

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

  • [2024-10-04 10:35:36]
  • 评测
  • 测评结果:AC
  • 用时:1ms
  • 内存:3792kb
  • [2024-10-04 10:35:36]
  • 提交

answer

#include <bits/stdc++.h>

void charming() {
  int n; std::cin >> n;
  std::vector<std::vector<int> > a(n, std::vector<int> (n));
  a[0][0] = 1, a[0][1] = 2, a[1][0] = 3, a[1][1] = 4;
  int c = 5;
  for (int i = 2; i < n; ++i) {
    for (int j = 0; j < i; ++j) {
      a[i][j] = a[j][i] = c;
    }
    a[i][i] = ++c;
    ++c;
  }

  std::cout << "Yes\n";
  for (int i = 0; i < n; ++i) {
    for (int j = 0; j < n; ++j) {
      std::cout << a[i][j] << " \n"[j == n - 1];
    }
  }
}

signed main() {
  std::ios_base::sync_with_stdio(false);
  std::cin.tie(NULL);
  std::cout.tie(NULL);
  charming();
  return 0;
}

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

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2

output:

Yes
1 2
3 4

result:

ok Correct. (1 test case)

Test #2:

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

input:

3

output:

Yes
1 2 5
3 4 5
5 5 6

result:

ok Correct. (1 test case)

Test #3:

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

input:

4

output:

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

result:

ok Correct. (1 test case)

Test #4:

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

input:

5

output:

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

result:

ok Correct. (1 test case)

Test #5:

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

input:

6

output:

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

result:

ok Correct. (1 test case)

Test #6:

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

input:

7

output:

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

result:

ok Correct. (1 test case)

Test #7:

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

input:

8

output:

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

result:

ok Correct. (1 test case)

Test #8:

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

input:

9

output:

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

result:

ok Correct. (1 test case)

Test #9:

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

input:

10

output:

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

result:

ok Correct. (1 test case)

Test #10:

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

input:

11

output:

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

result:

ok Correct. (1 test case)

Test #11:

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

input:

12

output:

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

result:

ok Correct. (1 test case)

Test #12:

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

input:

13

output:

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

result:

ok Correct. (1 test case)

Test #13:

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

input:

14

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27
3 4 5 7 9 11 13 15 17 19 21 23 25 27
5 5 6 7 9 11 13 15 17 19 21 23 25 27
7 7 7 8 9 11 13 15 17 19 21 23 25 27
9 9 9 9 10 11 13 15 17 19 21 23 25 27
11 11 11 11 11 12 13 15 17 19 21 23 25 27
13 13 13 13 13 13 14 15 17 19 21 23 25 27
15 15 15 15 15 15 15 16 17...

result:

ok Correct. (1 test case)

Test #14:

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

input:

15

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29
7 7 7 8 9 11 13 15 17 19 21 23 25 27 29
9 9 9 9 10 11 13 15 17 19 21 23 25 27 29
11 11 11 11 11 12 13 15 17 19 21 23 25 27 29
13 13 13 13 13 13 14 15 17 19 21 23 25 27 29
15 15...

result:

ok Correct. (1 test case)

Test #15:

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

input:

16

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31
7 7 7 8 9 11 13 15 17 19 21 23 25 27 29 31
9 9 9 9 10 11 13 15 17 19 21 23 25 27 29 31
11 11 11 11 11 12 13 15 17 19 21 23 25 27 29 31
13 13 13 13 13 13 14 15 17 19 21...

result:

ok Correct. (1 test case)

Test #16:

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

input:

17

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33
7 7 7 8 9 11 13 15 17 19 21 23 25 27 29 31 33
9 9 9 9 10 11 13 15 17 19 21 23 25 27 29 31 33
11 11 11 11 11 12 13 15 17 19 21 23 25 27 29 31 33
13 13 13 13 13...

result:

ok Correct. (1 test case)

Test #17:

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

input:

18

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35
7 7 7 8 9 11 13 15 17 19 21 23 25 27 29 31 33 35
9 9 9 9 10 11 13 15 17 19 21 23 25 27 29 31 33 35
11 11 11 11 11 12 13 15 17 19 21 23 25 27 29 31 33...

result:

ok Correct. (1 test case)

Test #18:

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

input:

19

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37
7 7 7 8 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37
9 9 9 9 10 11 13 15 17 19 21 23 25 27 29 31 33 35 37
11 11 11 11 11 12 13 15 17 19 21 23...

result:

ok Correct. (1 test case)

Test #19:

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

input:

20

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39
7 7 7 8 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39
9 9 9 9 10 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39
11 11 11 11 11 12 13...

result:

ok Correct. (1 test case)

Test #20:

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

input:

21

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41
7 7 7 8 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41
9 9 9 9 10 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41
11 11...

result:

ok Correct. (1 test case)

Test #21:

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

input:

22

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43
7 7 7 8 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43
9 9 9 9 10 11 13 15 17 19 21 23 25 27 29 31 33 35 37...

result:

ok Correct. (1 test case)

Test #22:

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

input:

23

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45
7 7 7 8 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45
9 9 9 9 10 11 13 15 17 19 21 23 25 27 29...

result:

ok Correct. (1 test case)

Test #23:

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

input:

24

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47
7 7 7 8 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47
9 9 9 9 10 11 13 15 17 19 21...

result:

ok Correct. (1 test case)

Test #24:

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

input:

25

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49
7 7 7 8 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49
9 9 9 9 10 11 13...

result:

ok Correct. (1 test case)

Test #25:

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

input:

26

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51
7 7 7 8 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51
9 9 ...

result:

ok Correct. (1 test case)

Test #26:

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

input:

27

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53
7 7 7 8 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 4...

result:

ok Correct. (1 test case)

Test #27:

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

input:

28

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55
7 7 7 8 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 4...

result:

ok Correct. (1 test case)

Test #28:

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

input:

29

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57
7 7 7 8 9 11 13 15 17 19 21 23 25 27 29 31 33 35 3...

result:

ok Correct. (1 test case)

Test #29:

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

input:

30

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59
7 7 7 8 9 11 13 15 17 19 21 23 25 27 29 3...

result:

ok Correct. (1 test case)

Test #30:

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

input:

31

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61
7 7 7 8 9 11 13 15 17 19 21 23 2...

result:

ok Correct. (1 test case)

Test #31:

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

input:

32

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63
7 7 7 8 9 11 13 15 17 1...

result:

ok Correct. (1 test case)

Test #32:

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

input:

33

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65
7 7 7 8 9 11 1...

result:

ok Correct. (1 test case)

Test #33:

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

input:

34

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67
7 7 7...

result:

ok Correct. (1 test case)

Test #34:

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

input:

35

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67...

result:

ok Correct. (1 test case)

Test #35:

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

input:

36

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63...

result:

ok Correct. (1 test case)

Test #36:

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

input:

37

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59...

result:

ok Correct. (1 test case)

Test #37:

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

input:

38

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55...

result:

ok Correct. (1 test case)

Test #38:

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

input:

39

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51...

result:

ok Correct. (1 test case)

Test #39:

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

input:

40

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47...

result:

ok Correct. (1 test case)

Test #40:

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

input:

41

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43...

result:

ok Correct. (1 test case)

Test #41:

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

input:

42

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39...

result:

ok Correct. (1 test case)

Test #42:

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

input:

43

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35...

result:

ok Correct. (1 test case)

Test #43:

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

input:

44

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87
5 5 6 7 9 11 13 15 17 19 21 23 25 27 29 31...

result:

ok Correct. (1 test case)

Test #44:

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

input:

45

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89
5 5 6 7 9 11 13 15 17 19 21 23 25 27...

result:

ok Correct. (1 test case)

Test #45:

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

input:

46

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 91
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 91
5 5 6 7 9 11 13 15 17 19 21 23...

result:

ok Correct. (1 test case)

Test #46:

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

input:

47

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 91 93
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 91 93
5 5 6 7 9 11 13 15 17 19...

result:

ok Correct. (1 test case)

Test #47:

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

input:

48

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 91 93 95
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 91 93 95
5 5 6 7 9 11 13 15...

result:

ok Correct. (1 test case)

Test #48:

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

input:

49

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 91 93 95 97
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 91 93 95 97
5 5 6 7 9 11...

result:

ok Correct. (1 test case)

Test #49:

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

input:

50

output:

Yes
1 2 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 91 93 95 97 99
3 4 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 91 93 95 97 99
5 5 6 ...

result:

ok Correct. (1 test case)

Extra Test:

score: 0
Extra Test Passed