QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#394023 | #7756. Omniscia Spares None | Xun_xiaoyao | AC ✓ | 0ms | 3968kb | C++14 | 1.9kb | 2024-04-19 20:59:08 | 2024-04-19 20:59:09 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
int n;
int main()
{
cin>>n;
if(n<=4)
{
printf("Yes\n");
for(int i=1;i<=n;i++)
printf("%d 0\n",i);
printf("0\n");
return 0;
}
if(n==6||n%2==1) return printf("No\n"),0;
printf("Yes\n");
if(n%4==0)
{
for(int i=1;i<=n;i+=4)
{
if(i+4>n)
{
printf("0 %d\n",i);
printf("0 -%d\n",i);
printf("1000000000 1000\n");
printf("-1000000000 1000\n");
}
else
{
printf("0 %d\n",i);
printf("0 -%d\n",i);
printf("%d 0\n",i);
printf("-%d 0\n",i);
}
}
printf("%d\n",3*n-6);
printf("1 2\n");
printf("%d %d\n",n-1,n);
for(int i=5;i<=n;i++) printf("%d %d\n",i,i-4);
for(int i=1;i<=n;i+=4)
{
printf("%d %d\n", i ,i+2);
printf("%d %d\n", i ,i+3);
printf("%d %d\n",i+1,i+2);
printf("%d %d\n",i+1,i+3);
if(i!=1)
{
printf("%d %d\n",i-3,i+2);
printf("%d %d\n",i-3,i+3);
printf("%d %d\n",i-4,i+2);
printf("%d %d\n",i-4,i+3);
}
}
}
else
{
n-=2;
for(int i=1;i<=n;i+=4)
{
if(i+4>n)
{
printf("1000 1000000000\n");
printf("1000 -1000000000\n");
printf("%d 0\n",i);
printf("-%d 0\n",i);
}
else
{
printf("0 %d\n",i);
printf("0 -%d\n",i);
printf("%d 0\n",i);
printf("-%d 0\n",i);
}
}
printf("%d 0\n",n+1);
printf("-%d 0\n",n+1);
printf("%d\n",3*n);
printf("1 2\n");
printf("%d %d\n",n-3,n-2);
for(int i=5;i<=n;i++) printf("%d %d\n",i,i-4);
for(int i=1;i<=n;i+=4)
{
printf("%d %d\n", i ,i+2);
printf("%d %d\n", i ,i+3);
printf("%d %d\n",i+1,i+2);
printf("%d %d\n",i+1,i+3);
if(i!=1)
{
printf("%d %d\n",i-3,i+2);
printf("%d %d\n",i-3,i+3);
printf("%d %d\n",i-4,i+2);
printf("%d %d\n",i-4,i+3);
}
}
printf("%d %d\n",n-3,n+1);
printf("%d %d\n",n-3,n+2);
printf("%d %d\n",n-2,n+1);
printf("%d %d\n",n-2,n+2);
printf("%d %d\n",n-1,n+1);
printf("%d %d\n", n ,n+2);
}
return 0;
}
这程序好像有点Bug,我给组数据试试?
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3788kb
input:
3
output:
Yes 1 0 2 0 3 0 0
result:
ok OK, Accepted.
Test #2:
score: 0
Accepted
time: 0ms
memory: 3912kb
input:
4
output:
Yes 1 0 2 0 3 0 4 0 0
result:
ok OK, Accepted.
Test #3:
score: 0
Accepted
time: 0ms
memory: 3848kb
input:
1
output:
Yes 1 0 0
result:
ok OK, Accepted.
Test #4:
score: 0
Accepted
time: 0ms
memory: 3912kb
input:
2
output:
Yes 1 0 2 0 0
result:
ok OK, Accepted.
Test #5:
score: 0
Accepted
time: 0ms
memory: 3740kb
input:
5
output:
No
result:
ok OK, Accepted.
Test #6:
score: 0
Accepted
time: 0ms
memory: 3652kb
input:
6
output:
No
result:
ok OK, Accepted.
Test #7:
score: 0
Accepted
time: 0ms
memory: 3780kb
input:
7
output:
No
result:
ok OK, Accepted.
Test #8:
score: 0
Accepted
time: 0ms
memory: 3856kb
input:
8
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 1000000000 1000 -1000000000 1000 18 1 2 7 8 5 1 6 2 7 3 8 4 1 3 1 4 2 3 2 4 5 7 5 8 6 7 6 8 2 7 2 8 1 7 1 8
result:
ok OK, Accepted.
Test #9:
score: 0
Accepted
time: 0ms
memory: 3788kb
input:
9
output:
No
result:
ok OK, Accepted.
Test #10:
score: 0
Accepted
time: 0ms
memory: 3860kb
input:
10
output:
Yes 0 1 0 -1 1 0 -1 0 1000 1000000000 1000 -1000000000 5 0 -5 0 9 0 -9 0 24 1 2 5 6 5 1 6 2 7 3 8 4 1 3 1 4 2 3 2 4 5 7 5 8 6 7 6 8 2 7 2 8 1 7 1 8 5 9 5 10 6 9 6 10 7 9 8 10
result:
ok OK, Accepted.
Test #11:
score: 0
Accepted
time: 0ms
memory: 3736kb
input:
11
output:
No
result:
ok OK, Accepted.
Test #12:
score: 0
Accepted
time: 0ms
memory: 3804kb
input:
12
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 1000000000 1000 -1000000000 1000 30 1 2 11 12 5 1 6 2 7 3 8 4 9 5 10 6 11 7 12 8 1 3 1 4 2 3 2 4 5 7 5 8 6 7 6 8 2 7 2 8 1 7 1 8 9 11 9 12 10 11 10 12 6 11 6 12 5 11 5 12
result:
ok OK, Accepted.
Test #13:
score: 0
Accepted
time: 0ms
memory: 3788kb
input:
13
output:
No
result:
ok OK, Accepted.
Test #14:
score: 0
Accepted
time: 0ms
memory: 3836kb
input:
14
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 1000 1000000000 1000 -1000000000 9 0 -9 0 13 0 -13 0 36 1 2 9 10 5 1 6 2 7 3 8 4 9 5 10 6 11 7 12 8 1 3 1 4 2 3 2 4 5 7 5 8 6 7 6 8 2 7 2 8 1 7 1 8 9 11 9 12 10 11 10 12 6 11 6 12 5 11 5 12 9 13 9 14 10 13 10 14 11 13 12 14
result:
ok OK, Accepted.
Test #15:
score: 0
Accepted
time: 0ms
memory: 3776kb
input:
15
output:
No
result:
ok OK, Accepted.
Test #16:
score: 0
Accepted
time: 0ms
memory: 3812kb
input:
16
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 1000000000 1000 -1000000000 1000 42 1 2 15 16 5 1 6 2 7 3 8 4 9 5 10 6 11 7 12 8 13 9 14 10 15 11 16 12 1 3 1 4 2 3 2 4 5 7 5 8 6 7 6 8 2 7 2 8 1 7 1 8 9 11 9 12 10 11 10 12 6 11 6 12 5 11 5 12 13 15 13 16 14 15 14 16 10 15 10 16 9...
result:
ok OK, Accepted.
Test #17:
score: 0
Accepted
time: 0ms
memory: 3716kb
input:
17
output:
No
result:
ok OK, Accepted.
Test #18:
score: 0
Accepted
time: 0ms
memory: 3844kb
input:
18
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 1000 1000000000 1000 -1000000000 13 0 -13 0 17 0 -17 0 48 1 2 13 14 5 1 6 2 7 3 8 4 9 5 10 6 11 7 12 8 13 9 14 10 15 11 16 12 1 3 1 4 2 3 2 4 5 7 5 8 6 7 6 8 2 7 2 8 1 7 1 8 9 11 9 12 10 11 10 12 6 11 6 12 5 11 5 12 13 15 13 16 14 15 14 16 10...
result:
ok OK, Accepted.
Test #19:
score: 0
Accepted
time: 0ms
memory: 3736kb
input:
19
output:
No
result:
ok OK, Accepted.
Test #20:
score: 0
Accepted
time: 0ms
memory: 3864kb
input:
20
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 1000000000 1000 -1000000000 1000 54 1 2 19 20 5 1 6 2 7 3 8 4 9 5 10 6 11 7 12 8 13 9 14 10 15 11 16 12 17 13 18 14 19 15 20 16 1 3 1 4 2 3 2 4 5 7 5 8 6 7 6 8 2 7 2 8 1 7 1 8 9 11 9 12 10 11 10 12 6 11 6 12 5...
result:
ok OK, Accepted.
Test #21:
score: 0
Accepted
time: 0ms
memory: 3844kb
input:
21
output:
No
result:
ok OK, Accepted.
Test #22:
score: 0
Accepted
time: 0ms
memory: 3860kb
input:
22
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 1000 1000000000 1000 -1000000000 17 0 -17 0 21 0 -21 0 60 1 2 17 18 5 1 6 2 7 3 8 4 9 5 10 6 11 7 12 8 13 9 14 10 15 11 16 12 17 13 18 14 19 15 20 16 1 3 1 4 2 3 2 4 5 7 5 8 6 7 6 8 2 7 2 8 1 7 1 8 9 11 9 12 10 11 10 12 ...
result:
ok OK, Accepted.
Test #23:
score: 0
Accepted
time: 0ms
memory: 3656kb
input:
23
output:
No
result:
ok OK, Accepted.
Test #24:
score: 0
Accepted
time: 0ms
memory: 3784kb
input:
24
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 1000000000 1000 -1000000000 1000 66 1 2 23 24 5 1 6 2 7 3 8 4 9 5 10 6 11 7 12 8 13 9 14 10 15 11 16 12 17 13 18 14 19 15 20 16 21 17 22 18 23 19 24 20 1 3 1 4 2 3 2 4 5 7 5 8 6 7 6 8 2 7...
result:
ok OK, Accepted.
Test #25:
score: 0
Accepted
time: 0ms
memory: 3664kb
input:
25
output:
No
result:
ok OK, Accepted.
Test #26:
score: 0
Accepted
time: 0ms
memory: 3844kb
input:
26
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 1000 1000000000 1000 -1000000000 21 0 -21 0 25 0 -25 0 72 1 2 21 22 5 1 6 2 7 3 8 4 9 5 10 6 11 7 12 8 13 9 14 10 15 11 16 12 17 13 18 14 19 15 20 16 21 17 22 18 23 19 24 20 1 3 1 4 2 3 2 4 5 7 5 8 ...
result:
ok OK, Accepted.
Test #27:
score: 0
Accepted
time: 0ms
memory: 3692kb
input:
27
output:
No
result:
ok OK, Accepted.
Test #28:
score: 0
Accepted
time: 0ms
memory: 3796kb
input:
28
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 1000000000 1000 -1000000000 1000 78 1 2 27 28 5 1 6 2 7 3 8 4 9 5 10 6 11 7 12 8 13 9 14 10 15 11 16 12 17 13 18 14 19 15 20 16 21 17 22 18 23 19 24 20 25 21 26 22 2...
result:
ok OK, Accepted.
Test #29:
score: 0
Accepted
time: 0ms
memory: 3724kb
input:
29
output:
No
result:
ok OK, Accepted.
Test #30:
score: 0
Accepted
time: 0ms
memory: 3848kb
input:
30
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 1000 1000000000 1000 -1000000000 25 0 -25 0 29 0 -29 0 84 1 2 25 26 5 1 6 2 7 3 8 4 9 5 10 6 11 7 12 8 13 9 14 10 15 11 16 12 17 13 18 14 19 15 20 16 21 17 22 18 23 19 24 20 25...
result:
ok OK, Accepted.
Test #31:
score: 0
Accepted
time: 0ms
memory: 3712kb
input:
31
output:
No
result:
ok OK, Accepted.
Test #32:
score: 0
Accepted
time: 0ms
memory: 3784kb
input:
32
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 25 0 -25 0 0 29 0 -29 1000000000 1000 -1000000000 1000 90 1 2 31 32 5 1 6 2 7 3 8 4 9 5 10 6 11 7 12 8 13 9 14 10 15 11 16 12 17 13 18 14 19 15 20 16 21 17 22 18 23 ...
result:
ok OK, Accepted.
Test #33:
score: 0
Accepted
time: 0ms
memory: 3660kb
input:
33
output:
No
result:
ok OK, Accepted.
Test #34:
score: 0
Accepted
time: 0ms
memory: 3868kb
input:
34
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 25 0 -25 0 1000 1000000000 1000 -1000000000 29 0 -29 0 33 0 -33 0 96 1 2 29 30 5 1 6 2 7 3 8 4 9 5 10 6 11 7 12 8 13 9 14 10 15 11 16 12 17 13 18 14 19 15 20 16 21 1...
result:
ok OK, Accepted.
Test #35:
score: 0
Accepted
time: 0ms
memory: 3720kb
input:
35
output:
No
result:
ok OK, Accepted.
Test #36:
score: 0
Accepted
time: 0ms
memory: 3904kb
input:
36
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 25 0 -25 0 0 29 0 -29 29 0 -29 0 0 33 0 -33 1000000000 1000 -1000000000 1000 102 1 2 35 36 5 1 6 2 7 3 8 4 9 5 10 6 11 7 12 8 13 9 14 10 15 11 16 12 17 13 18 14 19 1...
result:
ok OK, Accepted.
Test #37:
score: 0
Accepted
time: 0ms
memory: 3712kb
input:
37
output:
No
result:
ok OK, Accepted.
Test #38:
score: 0
Accepted
time: 0ms
memory: 3804kb
input:
38
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 25 0 -25 0 0 29 0 -29 29 0 -29 0 1000 1000000000 1000 -1000000000 33 0 -33 0 37 0 -37 0 108 1 2 33 34 5 1 6 2 7 3 8 4 9 5 10 6 11 7 12 8 13 9 14 10 15 11 16 12 17 13...
result:
ok OK, Accepted.
Test #39:
score: 0
Accepted
time: 0ms
memory: 3712kb
input:
39
output:
No
result:
ok OK, Accepted.
Test #40:
score: 0
Accepted
time: 0ms
memory: 3788kb
input:
40
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 25 0 -25 0 0 29 0 -29 29 0 -29 0 0 33 0 -33 33 0 -33 0 0 37 0 -37 1000000000 1000 -1000000000 1000 114 1 2 39 40 5 1 6 2 7 3 8 4 9 5 10 6 11 7 12 8 13 9 14 10 15 11 ...
result:
ok OK, Accepted.
Test #41:
score: 0
Accepted
time: 0ms
memory: 3660kb
input:
41
output:
No
result:
ok OK, Accepted.
Test #42:
score: 0
Accepted
time: 0ms
memory: 3852kb
input:
42
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 25 0 -25 0 0 29 0 -29 29 0 -29 0 0 33 0 -33 33 0 -33 0 1000 1000000000 1000 -1000000000 37 0 -37 0 41 0 -41 0 120 1 2 37 38 5 1 6 2 7 3 8 4 9 5 10 6 11 7 12 8 13 9 1...
result:
ok OK, Accepted.
Test #43:
score: 0
Accepted
time: 0ms
memory: 3740kb
input:
43
output:
No
result:
ok OK, Accepted.
Test #44:
score: 0
Accepted
time: 0ms
memory: 3900kb
input:
44
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 25 0 -25 0 0 29 0 -29 29 0 -29 0 0 33 0 -33 33 0 -33 0 0 37 0 -37 37 0 -37 0 0 41 0 -41 1000000000 1000 -1000000000 1000 126 1 2 43 44 5 1 6 2 7 3 8 4 9 5 10 6 11 7 ...
result:
ok OK, Accepted.
Test #45:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
45
output:
No
result:
ok OK, Accepted.
Test #46:
score: 0
Accepted
time: 0ms
memory: 3776kb
input:
46
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 25 0 -25 0 0 29 0 -29 29 0 -29 0 0 33 0 -33 33 0 -33 0 0 37 0 -37 37 0 -37 0 1000 1000000000 1000 -1000000000 41 0 -41 0 45 0 -45 0 132 1 2 41 42 5 1 6 2 7 3 8 4 9 5...
result:
ok OK, Accepted.
Test #47:
score: 0
Accepted
time: 0ms
memory: 3784kb
input:
47
output:
No
result:
ok OK, Accepted.
Test #48:
score: 0
Accepted
time: 0ms
memory: 3848kb
input:
48
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 25 0 -25 0 0 29 0 -29 29 0 -29 0 0 33 0 -33 33 0 -33 0 0 37 0 -37 37 0 -37 0 0 41 0 -41 41 0 -41 0 0 45 0 -45 1000000000 1000 -1000000000 1000 138 1 2 47 48 5 1 6 2 ...
result:
ok OK, Accepted.
Test #49:
score: 0
Accepted
time: 0ms
memory: 3844kb
input:
49
output:
No
result:
ok OK, Accepted.
Test #50:
score: 0
Accepted
time: 0ms
memory: 3808kb
input:
50
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 25 0 -25 0 0 29 0 -29 29 0 -29 0 0 33 0 -33 33 0 -33 0 0 37 0 -37 37 0 -37 0 0 41 0 -41 41 0 -41 0 1000 1000000000 1000 -1000000000 45 0 -45 0 49 0 -49 0 144 1 2 45 ...
result:
ok OK, Accepted.
Test #51:
score: 0
Accepted
time: 0ms
memory: 3780kb
input:
51
output:
No
result:
ok OK, Accepted.
Test #52:
score: 0
Accepted
time: 0ms
memory: 3780kb
input:
52
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 25 0 -25 0 0 29 0 -29 29 0 -29 0 0 33 0 -33 33 0 -33 0 0 37 0 -37 37 0 -37 0 0 41 0 -41 41 0 -41 0 0 45 0 -45 45 0 -45 0 0 49 0 -49 1000000000 1000 -1000000000 1000 ...
result:
ok OK, Accepted.
Test #53:
score: 0
Accepted
time: 0ms
memory: 3784kb
input:
53
output:
No
result:
ok OK, Accepted.
Test #54:
score: 0
Accepted
time: 0ms
memory: 3864kb
input:
54
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 25 0 -25 0 0 29 0 -29 29 0 -29 0 0 33 0 -33 33 0 -33 0 0 37 0 -37 37 0 -37 0 0 41 0 -41 41 0 -41 0 0 45 0 -45 45 0 -45 0 1000 1000000000 1000 -1000000000 49 0 -49 0 ...
result:
ok OK, Accepted.
Test #55:
score: 0
Accepted
time: 0ms
memory: 3780kb
input:
55
output:
No
result:
ok OK, Accepted.
Test #56:
score: 0
Accepted
time: 0ms
memory: 3844kb
input:
56
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 25 0 -25 0 0 29 0 -29 29 0 -29 0 0 33 0 -33 33 0 -33 0 0 37 0 -37 37 0 -37 0 0 41 0 -41 41 0 -41 0 0 45 0 -45 45 0 -45 0 0 49 0 -49 49 0 -49 0 0 53 0 -53 1000000000 ...
result:
ok OK, Accepted.
Test #57:
score: 0
Accepted
time: 0ms
memory: 3720kb
input:
57
output:
No
result:
ok OK, Accepted.
Test #58:
score: 0
Accepted
time: 0ms
memory: 3788kb
input:
58
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 25 0 -25 0 0 29 0 -29 29 0 -29 0 0 33 0 -33 33 0 -33 0 0 37 0 -37 37 0 -37 0 0 41 0 -41 41 0 -41 0 0 45 0 -45 45 0 -45 0 0 49 0 -49 49 0 -49 0 1000 1000000000 1000 -...
result:
ok OK, Accepted.
Test #59:
score: 0
Accepted
time: 0ms
memory: 3732kb
input:
59
output:
No
result:
ok OK, Accepted.
Test #60:
score: 0
Accepted
time: 0ms
memory: 3796kb
input:
60
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 25 0 -25 0 0 29 0 -29 29 0 -29 0 0 33 0 -33 33 0 -33 0 0 37 0 -37 37 0 -37 0 0 41 0 -41 41 0 -41 0 0 45 0 -45 45 0 -45 0 0 49 0 -49 49 0 -49 0 0 53 0 -53 53 0 -53 0 ...
result:
ok OK, Accepted.
Test #61:
score: 0
Accepted
time: 0ms
memory: 3692kb
input:
61
output:
No
result:
ok OK, Accepted.
Test #62:
score: 0
Accepted
time: 0ms
memory: 3860kb
input:
62
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 25 0 -25 0 0 29 0 -29 29 0 -29 0 0 33 0 -33 33 0 -33 0 0 37 0 -37 37 0 -37 0 0 41 0 -41 41 0 -41 0 0 45 0 -45 45 0 -45 0 0 49 0 -49 49 0 -49 0 0 53 0 -53 53 0 -53 0 ...
result:
ok OK, Accepted.
Test #63:
score: 0
Accepted
time: 0ms
memory: 3780kb
input:
63
output:
No
result:
ok OK, Accepted.
Test #64:
score: 0
Accepted
time: 0ms
memory: 3836kb
input:
64
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 25 0 -25 0 0 29 0 -29 29 0 -29 0 0 33 0 -33 33 0 -33 0 0 37 0 -37 37 0 -37 0 0 41 0 -41 41 0 -41 0 0 45 0 -45 45 0 -45 0 0 49 0 -49 49 0 -49 0 0 53 0 -53 53 0 -53 0 ...
result:
ok OK, Accepted.
Test #65:
score: 0
Accepted
time: 0ms
memory: 3716kb
input:
65
output:
No
result:
ok OK, Accepted.
Test #66:
score: 0
Accepted
time: 0ms
memory: 3852kb
input:
66
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 25 0 -25 0 0 29 0 -29 29 0 -29 0 0 33 0 -33 33 0 -33 0 0 37 0 -37 37 0 -37 0 0 41 0 -41 41 0 -41 0 0 45 0 -45 45 0 -45 0 0 49 0 -49 49 0 -49 0 0 53 0 -53 53 0 -53 0 ...
result:
ok OK, Accepted.
Test #67:
score: 0
Accepted
time: 0ms
memory: 3728kb
input:
67
output:
No
result:
ok OK, Accepted.
Test #68:
score: 0
Accepted
time: 0ms
memory: 3804kb
input:
68
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 25 0 -25 0 0 29 0 -29 29 0 -29 0 0 33 0 -33 33 0 -33 0 0 37 0 -37 37 0 -37 0 0 41 0 -41 41 0 -41 0 0 45 0 -45 45 0 -45 0 0 49 0 -49 49 0 -49 0 0 53 0 -53 53 0 -53 0 ...
result:
ok OK, Accepted.
Test #69:
score: 0
Accepted
time: 0ms
memory: 3708kb
input:
69
output:
No
result:
ok OK, Accepted.
Test #70:
score: 0
Accepted
time: 0ms
memory: 3856kb
input:
70
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 25 0 -25 0 0 29 0 -29 29 0 -29 0 0 33 0 -33 33 0 -33 0 0 37 0 -37 37 0 -37 0 0 41 0 -41 41 0 -41 0 0 45 0 -45 45 0 -45 0 0 49 0 -49 49 0 -49 0 0 53 0 -53 53 0 -53 0 ...
result:
ok OK, Accepted.
Test #71:
score: 0
Accepted
time: 0ms
memory: 3736kb
input:
71
output:
No
result:
ok OK, Accepted.
Test #72:
score: 0
Accepted
time: 0ms
memory: 3860kb
input:
72
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 25 0 -25 0 0 29 0 -29 29 0 -29 0 0 33 0 -33 33 0 -33 0 0 37 0 -37 37 0 -37 0 0 41 0 -41 41 0 -41 0 0 45 0 -45 45 0 -45 0 0 49 0 -49 49 0 -49 0 0 53 0 -53 53 0 -53 0 ...
result:
ok OK, Accepted.
Test #73:
score: 0
Accepted
time: 0ms
memory: 3664kb
input:
73
output:
No
result:
ok OK, Accepted.
Test #74:
score: 0
Accepted
time: 0ms
memory: 3848kb
input:
74
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 25 0 -25 0 0 29 0 -29 29 0 -29 0 0 33 0 -33 33 0 -33 0 0 37 0 -37 37 0 -37 0 0 41 0 -41 41 0 -41 0 0 45 0 -45 45 0 -45 0 0 49 0 -49 49 0 -49 0 0 53 0 -53 53 0 -53 0 ...
result:
ok OK, Accepted.
Test #75:
score: 0
Accepted
time: 0ms
memory: 3712kb
input:
75
output:
No
result:
ok OK, Accepted.
Test #76:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
76
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 25 0 -25 0 0 29 0 -29 29 0 -29 0 0 33 0 -33 33 0 -33 0 0 37 0 -37 37 0 -37 0 0 41 0 -41 41 0 -41 0 0 45 0 -45 45 0 -45 0 0 49 0 -49 49 0 -49 0 0 53 0 -53 53 0 -53 0 ...
result:
ok OK, Accepted.
Test #77:
score: 0
Accepted
time: 0ms
memory: 3708kb
input:
77
output:
No
result:
ok OK, Accepted.
Test #78:
score: 0
Accepted
time: 0ms
memory: 3864kb
input:
78
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 25 0 -25 0 0 29 0 -29 29 0 -29 0 0 33 0 -33 33 0 -33 0 0 37 0 -37 37 0 -37 0 0 41 0 -41 41 0 -41 0 0 45 0 -45 45 0 -45 0 0 49 0 -49 49 0 -49 0 0 53 0 -53 53 0 -53 0 ...
result:
ok OK, Accepted.
Test #79:
score: 0
Accepted
time: 0ms
memory: 3652kb
input:
79
output:
No
result:
ok OK, Accepted.
Test #80:
score: 0
Accepted
time: 0ms
memory: 3784kb
input:
80
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 25 0 -25 0 0 29 0 -29 29 0 -29 0 0 33 0 -33 33 0 -33 0 0 37 0 -37 37 0 -37 0 0 41 0 -41 41 0 -41 0 0 45 0 -45 45 0 -45 0 0 49 0 -49 49 0 -49 0 0 53 0 -53 53 0 -53 0 ...
result:
ok OK, Accepted.
Test #81:
score: 0
Accepted
time: 0ms
memory: 3660kb
input:
81
output:
No
result:
ok OK, Accepted.
Test #82:
score: 0
Accepted
time: 0ms
memory: 3844kb
input:
82
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 25 0 -25 0 0 29 0 -29 29 0 -29 0 0 33 0 -33 33 0 -33 0 0 37 0 -37 37 0 -37 0 0 41 0 -41 41 0 -41 0 0 45 0 -45 45 0 -45 0 0 49 0 -49 49 0 -49 0 0 53 0 -53 53 0 -53 0 ...
result:
ok OK, Accepted.
Test #83:
score: 0
Accepted
time: 0ms
memory: 3736kb
input:
83
output:
No
result:
ok OK, Accepted.
Test #84:
score: 0
Accepted
time: 0ms
memory: 3792kb
input:
84
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 25 0 -25 0 0 29 0 -29 29 0 -29 0 0 33 0 -33 33 0 -33 0 0 37 0 -37 37 0 -37 0 0 41 0 -41 41 0 -41 0 0 45 0 -45 45 0 -45 0 0 49 0 -49 49 0 -49 0 0 53 0 -53 53 0 -53 0 ...
result:
ok OK, Accepted.
Test #85:
score: 0
Accepted
time: 0ms
memory: 3716kb
input:
85
output:
No
result:
ok OK, Accepted.
Test #86:
score: 0
Accepted
time: 0ms
memory: 3864kb
input:
86
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 25 0 -25 0 0 29 0 -29 29 0 -29 0 0 33 0 -33 33 0 -33 0 0 37 0 -37 37 0 -37 0 0 41 0 -41 41 0 -41 0 0 45 0 -45 45 0 -45 0 0 49 0 -49 49 0 -49 0 0 53 0 -53 53 0 -53 0 ...
result:
ok OK, Accepted.
Test #87:
score: 0
Accepted
time: 0ms
memory: 3716kb
input:
87
output:
No
result:
ok OK, Accepted.
Test #88:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
88
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 25 0 -25 0 0 29 0 -29 29 0 -29 0 0 33 0 -33 33 0 -33 0 0 37 0 -37 37 0 -37 0 0 41 0 -41 41 0 -41 0 0 45 0 -45 45 0 -45 0 0 49 0 -49 49 0 -49 0 0 53 0 -53 53 0 -53 0 ...
result:
ok OK, Accepted.
Test #89:
score: 0
Accepted
time: 0ms
memory: 3784kb
input:
89
output:
No
result:
ok OK, Accepted.
Test #90:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
90
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 25 0 -25 0 0 29 0 -29 29 0 -29 0 0 33 0 -33 33 0 -33 0 0 37 0 -37 37 0 -37 0 0 41 0 -41 41 0 -41 0 0 45 0 -45 45 0 -45 0 0 49 0 -49 49 0 -49 0 0 53 0 -53 53 0 -53 0 ...
result:
ok OK, Accepted.
Test #91:
score: 0
Accepted
time: 0ms
memory: 3780kb
input:
91
output:
No
result:
ok OK, Accepted.
Test #92:
score: 0
Accepted
time: 0ms
memory: 3848kb
input:
92
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 25 0 -25 0 0 29 0 -29 29 0 -29 0 0 33 0 -33 33 0 -33 0 0 37 0 -37 37 0 -37 0 0 41 0 -41 41 0 -41 0 0 45 0 -45 45 0 -45 0 0 49 0 -49 49 0 -49 0 0 53 0 -53 53 0 -53 0 ...
result:
ok OK, Accepted.
Test #93:
score: 0
Accepted
time: 0ms
memory: 3784kb
input:
93
output:
No
result:
ok OK, Accepted.
Test #94:
score: 0
Accepted
time: 0ms
memory: 3852kb
input:
94
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 25 0 -25 0 0 29 0 -29 29 0 -29 0 0 33 0 -33 33 0 -33 0 0 37 0 -37 37 0 -37 0 0 41 0 -41 41 0 -41 0 0 45 0 -45 45 0 -45 0 0 49 0 -49 49 0 -49 0 0 53 0 -53 53 0 -53 0 ...
result:
ok OK, Accepted.
Test #95:
score: 0
Accepted
time: 0ms
memory: 3844kb
input:
95
output:
No
result:
ok OK, Accepted.
Test #96:
score: 0
Accepted
time: 0ms
memory: 3788kb
input:
96
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 25 0 -25 0 0 29 0 -29 29 0 -29 0 0 33 0 -33 33 0 -33 0 0 37 0 -37 37 0 -37 0 0 41 0 -41 41 0 -41 0 0 45 0 -45 45 0 -45 0 0 49 0 -49 49 0 -49 0 0 53 0 -53 53 0 -53 0 ...
result:
ok OK, Accepted.
Test #97:
score: 0
Accepted
time: 0ms
memory: 3720kb
input:
97
output:
No
result:
ok OK, Accepted.
Test #98:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
98
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 25 0 -25 0 0 29 0 -29 29 0 -29 0 0 33 0 -33 33 0 -33 0 0 37 0 -37 37 0 -37 0 0 41 0 -41 41 0 -41 0 0 45 0 -45 45 0 -45 0 0 49 0 -49 49 0 -49 0 0 53 0 -53 53 0 -53 0 ...
result:
ok OK, Accepted.
Test #99:
score: 0
Accepted
time: 0ms
memory: 3708kb
input:
99
output:
No
result:
ok OK, Accepted.
Test #100:
score: 0
Accepted
time: 0ms
memory: 3864kb
input:
100
output:
Yes 0 1 0 -1 1 0 -1 0 0 5 0 -5 5 0 -5 0 0 9 0 -9 9 0 -9 0 0 13 0 -13 13 0 -13 0 0 17 0 -17 17 0 -17 0 0 21 0 -21 21 0 -21 0 0 25 0 -25 25 0 -25 0 0 29 0 -29 29 0 -29 0 0 33 0 -33 33 0 -33 0 0 37 0 -37 37 0 -37 0 0 41 0 -41 41 0 -41 0 0 45 0 -45 45 0 -45 0 0 49 0 -49 49 0 -49 0 0 53 0 -53 53 0 -53 0 ...
result:
ok OK, Accepted.
Extra Test:
score: 0
Extra Test Passed