QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#255945#7756. Omniscia Spares Noneucup-team1005#AC ✓1ms3572kbC++173.4kb2023-11-18 17:34:212023-11-18 17:34:22

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3432kb

input:

3

output:

Yes
1 2
2 4
3 8
0

result:

ok OK, Accepted.

Test #2:

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

input:

4

output:

Yes
1 2
2 4
3 8
4 16
0

result:

ok OK, Accepted.

Test #3:

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

input:

1

output:

Yes
1 2
0

result:

ok OK, Accepted.

Test #4:

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

input:

2

output:

Yes
1 2
2 4
0

result:

ok OK, Accepted.

Test #5:

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

input:

5

output:

No

result:

ok OK, Accepted.

Test #6:

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

input:

6

output:

No

result:

ok OK, Accepted.

Test #7:

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

input:

7

output:

No

result:

ok OK, Accepted.

Test #8:

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

input:

8

output:

Yes
-1 1
1 -1
-1 -1
1 1
-2 2
2 -2
-2 -500000000
500000000 2
18
1 3
3 2
2 4
4 1
5 7
7 6
6 8
8 5
1 2
7 3
7 1
7 2
8 4
8 1
8 2
5 1
6 2
7 8

result:

ok OK, Accepted.

Test #9:

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

input:

9

output:

No

result:

ok OK, Accepted.

Test #10:

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

input:

10

output:

Yes
-2 2
2 -2
-2 -2
2 2
-3 3
3 -3
-3 -500000000
500000000 3
-1 1
1 -1
24
1 3
3 2
2 4
4 1
5 7
7 6
6 8
8 5
1 9
2 10
3 4
3 9
3 10
4 9
4 10
7 3
7 1
7 2
8 4
8 1
8 2
5 1
6 2
7 8

result:

ok OK, Accepted.

Test #11:

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

input:

11

output:

No

result:

ok OK, Accepted.

Test #12:

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

input:

12

output:

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

result:

ok OK, Accepted.

Test #13:

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

input:

13

output:

No

result:

ok OK, Accepted.

Test #14:

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

input:

14

output:

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

result:

ok OK, Accepted.

Test #15:

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

input:

15

output:

No

result:

ok OK, Accepted.

Test #16:

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

input:

16

output:

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

result:

ok OK, Accepted.

Test #17:

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

input:

17

output:

No

result:

ok OK, Accepted.

Test #18:

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

input:

18

output:

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

result:

ok OK, Accepted.

Test #19:

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

input:

19

output:

No

result:

ok OK, Accepted.

Test #20:

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

input:

20

output:

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

result:

ok OK, Accepted.

Test #21:

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

input:

21

output:

No

result:

ok OK, Accepted.

Test #22:

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

input:

22

output:

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

result:

ok OK, Accepted.

Test #23:

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

input:

23

output:

No

result:

ok OK, Accepted.

Test #24:

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

input:

24

output:

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

result:

ok OK, Accepted.

Test #25:

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

input:

25

output:

No

result:

ok OK, Accepted.

Test #26:

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

input:

26

output:

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

result:

ok OK, Accepted.

Test #27:

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

input:

27

output:

No

result:

ok OK, Accepted.

Test #28:

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

input:

28

output:

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

result:

ok OK, Accepted.

Test #29:

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

input:

29

output:

No

result:

ok OK, Accepted.

Test #30:

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

input:

30

output:

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

result:

ok OK, Accepted.

Test #31:

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

input:

31

output:

No

result:

ok OK, Accepted.

Test #32:

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

input:

32

output:

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

result:

ok OK, Accepted.

Test #33:

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

input:

33

output:

No

result:

ok OK, Accepted.

Test #34:

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

input:

34

output:

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

result:

ok OK, Accepted.

Test #35:

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

input:

35

output:

No

result:

ok OK, Accepted.

Test #36:

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

input:

36

output:

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

result:

ok OK, Accepted.

Test #37:

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

input:

37

output:

No

result:

ok OK, Accepted.

Test #38:

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

input:

38

output:

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

result:

ok OK, Accepted.

Test #39:

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

input:

39

output:

No

result:

ok OK, Accepted.

Test #40:

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

input:

40

output:

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

result:

ok OK, Accepted.

Test #41:

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

input:

41

output:

No

result:

ok OK, Accepted.

Test #42:

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

input:

42

output:

Yes
-2 2
2 -2
-2 -2
2 2
-3 3
3 -3
-3 -3
3 3
-4 4
4 -4
-4 -4
4 4
-5 5
5 -5
-5 -5
5 5
-6 6
6 -6
-6 -6
6 6
-7 7
7 -7
-7 -7
7 7
-8 8
8 -8
-8 -8
8 8
-9 9
9 -9
-9 -9
9 9
-10 10
10 -10
-10 -10
10 10
-11 11
11 -11
-11 -500000000
500000000 11
-1 1
1 -1
120
1 3
3 2
2 4
4 1
5 7
7 6
6 8
8 5
9 11
11 10
10 12
12 ...

result:

ok OK, Accepted.

Test #43:

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

input:

43

output:

No

result:

ok OK, Accepted.

Test #44:

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

input:

44

output:

Yes
-1 1
1 -1
-1 -1
1 1
-2 2
2 -2
-2 -2
2 2
-3 3
3 -3
-3 -3
3 3
-4 4
4 -4
-4 -4
4 4
-5 5
5 -5
-5 -5
5 5
-6 6
6 -6
-6 -6
6 6
-7 7
7 -7
-7 -7
7 7
-8 8
8 -8
-8 -8
8 8
-9 9
9 -9
-9 -9
9 9
-10 10
10 -10
-10 -10
10 10
-11 11
11 -11
-11 -500000000
500000000 11
126
1 3
3 2
2 4
4 1
5 7
7 6
6 8
8 5
9 11
11 10...

result:

ok OK, Accepted.

Test #45:

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

input:

45

output:

No

result:

ok OK, Accepted.

Test #46:

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

input:

46

output:

Yes
-2 2
2 -2
-2 -2
2 2
-3 3
3 -3
-3 -3
3 3
-4 4
4 -4
-4 -4
4 4
-5 5
5 -5
-5 -5
5 5
-6 6
6 -6
-6 -6
6 6
-7 7
7 -7
-7 -7
7 7
-8 8
8 -8
-8 -8
8 8
-9 9
9 -9
-9 -9
9 9
-10 10
10 -10
-10 -10
10 10
-11 11
11 -11
-11 -11
11 11
-12 12
12 -12
-12 -500000000
500000000 12
-1 1
1 -1
132
1 3
3 2
2 4
4 1
5 7
7 6
...

result:

ok OK, Accepted.

Test #47:

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

input:

47

output:

No

result:

ok OK, Accepted.

Test #48:

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

input:

48

output:

Yes
-1 1
1 -1
-1 -1
1 1
-2 2
2 -2
-2 -2
2 2
-3 3
3 -3
-3 -3
3 3
-4 4
4 -4
-4 -4
4 4
-5 5
5 -5
-5 -5
5 5
-6 6
6 -6
-6 -6
6 6
-7 7
7 -7
-7 -7
7 7
-8 8
8 -8
-8 -8
8 8
-9 9
9 -9
-9 -9
9 9
-10 10
10 -10
-10 -10
10 10
-11 11
11 -11
-11 -11
11 11
-12 12
12 -12
-12 -500000000
500000000 12
138
1 3
3 2
2 4
4 ...

result:

ok OK, Accepted.

Test #49:

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

input:

49

output:

No

result:

ok OK, Accepted.

Test #50:

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

input:

50

output:

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

result:

ok OK, Accepted.

Test #51:

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

input:

51

output:

No

result:

ok OK, Accepted.

Test #52:

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

input:

52

output:

Yes
-1 1
1 -1
-1 -1
1 1
-2 2
2 -2
-2 -2
2 2
-3 3
3 -3
-3 -3
3 3
-4 4
4 -4
-4 -4
4 4
-5 5
5 -5
-5 -5
5 5
-6 6
6 -6
-6 -6
6 6
-7 7
7 -7
-7 -7
7 7
-8 8
8 -8
-8 -8
8 8
-9 9
9 -9
-9 -9
9 9
-10 10
10 -10
-10 -10
10 10
-11 11
11 -11
-11 -11
11 11
-12 12
12 -12
-12 -12
12 12
-13 13
13 -13
-13 -500000000
500...

result:

ok OK, Accepted.

Test #53:

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

input:

53

output:

No

result:

ok OK, Accepted.

Test #54:

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

input:

54

output:

Yes
-2 2
2 -2
-2 -2
2 2
-3 3
3 -3
-3 -3
3 3
-4 4
4 -4
-4 -4
4 4
-5 5
5 -5
-5 -5
5 5
-6 6
6 -6
-6 -6
6 6
-7 7
7 -7
-7 -7
7 7
-8 8
8 -8
-8 -8
8 8
-9 9
9 -9
-9 -9
9 9
-10 10
10 -10
-10 -10
10 10
-11 11
11 -11
-11 -11
11 11
-12 12
12 -12
-12 -12
12 12
-13 13
13 -13
-13 -13
13 13
-14 14
14 -14
-14 -50000...

result:

ok OK, Accepted.

Test #55:

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

input:

55

output:

No

result:

ok OK, Accepted.

Test #56:

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

input:

56

output:

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

result:

ok OK, Accepted.

Test #57:

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

input:

57

output:

No

result:

ok OK, Accepted.

Test #58:

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

input:

58

output:

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

result:

ok OK, Accepted.

Test #59:

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

input:

59

output:

No

result:

ok OK, Accepted.

Test #60:

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

input:

60

output:

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

result:

ok OK, Accepted.

Test #61:

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

input:

61

output:

No

result:

ok OK, Accepted.

Test #62:

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

input:

62

output:

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

result:

ok OK, Accepted.

Test #63:

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

input:

63

output:

No

result:

ok OK, Accepted.

Test #64:

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

input:

64

output:

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

result:

ok OK, Accepted.

Test #65:

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

input:

65

output:

No

result:

ok OK, Accepted.

Test #66:

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

input:

66

output:

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

result:

ok OK, Accepted.

Test #67:

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

input:

67

output:

No

result:

ok OK, Accepted.

Test #68:

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

input:

68

output:

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

result:

ok OK, Accepted.

Test #69:

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

input:

69

output:

No

result:

ok OK, Accepted.

Test #70:

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

input:

70

output:

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

result:

ok OK, Accepted.

Test #71:

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

input:

71

output:

No

result:

ok OK, Accepted.

Test #72:

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

input:

72

output:

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

result:

ok OK, Accepted.

Test #73:

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

input:

73

output:

No

result:

ok OK, Accepted.

Test #74:

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

input:

74

output:

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

result:

ok OK, Accepted.

Test #75:

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

input:

75

output:

No

result:

ok OK, Accepted.

Test #76:

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

input:

76

output:

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

result:

ok OK, Accepted.

Test #77:

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

input:

77

output:

No

result:

ok OK, Accepted.

Test #78:

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

input:

78

output:

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

result:

ok OK, Accepted.

Test #79:

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

input:

79

output:

No

result:

ok OK, Accepted.

Test #80:

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

input:

80

output:

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

result:

ok OK, Accepted.

Test #81:

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

input:

81

output:

No

result:

ok OK, Accepted.

Test #82:

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

input:

82

output:

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

result:

ok OK, Accepted.

Test #83:

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

input:

83

output:

No

result:

ok OK, Accepted.

Test #84:

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

input:

84

output:

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

result:

ok OK, Accepted.

Test #85:

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

input:

85

output:

No

result:

ok OK, Accepted.

Test #86:

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

input:

86

output:

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

result:

ok OK, Accepted.

Test #87:

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

input:

87

output:

No

result:

ok OK, Accepted.

Test #88:

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

input:

88

output:

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

result:

ok OK, Accepted.

Test #89:

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

input:

89

output:

No

result:

ok OK, Accepted.

Test #90:

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

input:

90

output:

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

result:

ok OK, Accepted.

Test #91:

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

input:

91

output:

No

result:

ok OK, Accepted.

Test #92:

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

input:

92

output:

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

result:

ok OK, Accepted.

Test #93:

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

input:

93

output:

No

result:

ok OK, Accepted.

Test #94:

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

input:

94

output:

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

result:

ok OK, Accepted.

Test #95:

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

input:

95

output:

No

result:

ok OK, Accepted.

Test #96:

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

input:

96

output:

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

result:

ok OK, Accepted.

Test #97:

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

input:

97

output:

No

result:

ok OK, Accepted.

Test #98:

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

input:

98

output:

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

result:

ok OK, Accepted.

Test #99:

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

input:

99

output:

No

result:

ok OK, Accepted.

Test #100:

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

input:

100

output:

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

result:

ok OK, Accepted.

Extra Test:

score: 0
Extra Test Passed