QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#394867 | #7756. Omniscia Spares None | linweitong | AC ✓ | 1ms | 3776kb | C++20 | 2.7kb | 2024-04-20 20:52:23 | 2024-04-20 20:52:23 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
const int N=1000000;
int n;
int E[N][2],tot,mp[105][105],a[N],b[N],pd;
void add(int x,int y){
int m=(n/4);m*=4;
if (pd)m=n;
if (x<=0||y<=0||x>m||y>m)return;
if (mp[x][y])return;
mp[x][y]=mp[y][x]=1;
E[++tot][0]=x;E[tot][1]=y;
}
int main(){
cin>>n;
if (n==1)return cout<<"Yes\n1 1\n0",0;
if (n==2)return cout<<"Yes\n1 1\n2 1\n0",0;
if (n==3)return cout<<"Yes\n1 1\n2 1\n2 2\n0",0;
if (n==4)return cout<<"Yes\n1 1\n2 1\n2 2\n1 2\n0",0;
if ((n>=5&&n<=7)||(n&1))return cout<<"No",0;
cout<<"Yes\n";
if (n%4==0){
cout<<"100000000 1000000000\n";
int t=300;
for (int i=1;i<=n;i+=4){
a[i]=0;
b[i]=t*10000;
t--;
add(i,i+1);
add(i,i+5);
add(i,i+4);
add(i,i+7);
add(i,i+3);
add(i,i-4);
}
t=300;
for (int i=2;i<=n;i+=4){
a[i]=-t*10000;
b[i]=0;
t--;
add(i,i-4);
add(i,i-5);
add(i,i-1);
add(i,i+4);
add(i,i+1);
add(i,i-3);
}
t=300;
for (int i=3;i<=n;i+=4){
a[i]=0;
b[i]=-t*10000;
t--;
add(i,i-4);
add(i,i-1);
add(i,i+3);
add(i,i+5);
add(i,i+1);
add(i,i+4);
}
t=300;
for (int i=4;i<=n;i+=4){
a[i]=t*10000;
b[i]=0;
t--;
add(i,i-3);
add(i,i+4);
add(i,i-1);
add(i,i-7);
add(i,i-5);
add(i,i-4);
}
add(n,n-2);
add(1,3);
cout<<a[2]<<" "<<b[2]<<"\n";
cout<<"100000000 -1000000000\n";
for (int i=4;i<=n;++i)cout<<a[i]<<" "<<b[i]<<"\n";
cout<<tot<<"\n";
for (int i=1;i<=tot;++i)cout<<E[i][0]<<" "<<E[i][1]<<"\n";
}
else{
cout<<"-1000000000 -100000000\n";
int t=300;
for (int i=1;i<=n-2;i+=4){
a[i]=-t*10000;
b[i]=0;
t--;
add(i,i-1);
add(i,i+3);
add(i,i+4);
add(i,i+1);
add(i,i-3);
add(i,i-4);
}
t=300;
for (int i=2;i<=n-2;i+=4){
a[i]=0;
b[i]=-t*10000;
t--;
add(i,i-4);
add(i,i-1);
add(i,i+3);
add(i,i+5);
add(i,i+1);
add(i,i+4);
}
t=300;
for (int i=3;i<=n-2;i+=4){
a[i]=t*10000;
b[i]=0;
t--;
add(i,i-4);
add(i,i+4);
add(i,i-3);
add(i,i+1);
add(i,i-1);
add(i,i-5);
}
t=300;
for (int i=4;i<=n-2;i+=4){
a[i]=0;
b[i]=t*10000;
t--;
add(i,i-4);
add(i,i+4);
add(i,i-3);
add(i,i+1);
add(i,i-1);
add(i,i+3);
}
pd=1;
add(4,n-1);
add(1,n-1);
add(3,n-1);
a[n-1]=0;
b[n-1]=301*10000;
add(1,n);
add(2,n);
add(3,n);
a[n]=0;
b[n]=-301*10000;
add(n-5,n-3);
add(1,3);
cout<<a[2]<<" "<<b[2]<<"\n";
cout<<"1000000000 -100000000\n";
for (int i=4;i<=n;++i)cout<<a[i]<<" "<<b[i]<<"\n";
cout<<tot<<"\n";
for (int i=1;i<=tot;++i)cout<<E[i][0]<<" "<<E[i][1]<<"\n";
}
}
这程序好像有点Bug,我给组数据试试?
詳細信息
Test #1:
score: 100
Accepted
time: 0ms
memory: 3652kb
input:
3
output:
Yes 1 1 2 1 2 2 0
result:
ok OK, Accepted.
Test #2:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
4
output:
Yes 1 1 2 1 2 2 1 2 0
result:
ok OK, Accepted.
Test #3:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
1
output:
Yes 1 1 0
result:
ok OK, Accepted.
Test #4:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
2
output:
Yes 1 1 2 1 0
result:
ok OK, Accepted.
Test #5:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
5
output:
No
result:
ok OK, Accepted.
Test #6:
score: 0
Accepted
time: 0ms
memory: 3728kb
input:
6
output:
No
result:
ok OK, Accepted.
Test #7:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
7
output:
No
result:
ok OK, Accepted.
Test #8:
score: 0
Accepted
time: 0ms
memory: 3744kb
input:
8
output:
Yes 100000000 1000000000 -3000000 0 100000000 -1000000000 3000000 0 0 2990000 -2990000 0 0 -2990000 2990000 0 18 1 2 1 6 1 5 1 8 1 4 5 6 5 8 2 6 2 3 6 7 6 3 3 8 3 4 3 7 7 8 4 8 8 6 1 3
result:
ok OK, Accepted.
Test #9:
score: 0
Accepted
time: 0ms
memory: 3692kb
input:
9
output:
No
result:
ok OK, Accepted.
Test #10:
score: 0
Accepted
time: 0ms
memory: 3720kb
input:
10
output:
Yes -1000000000 -100000000 0 -3000000 1000000000 -100000000 0 3000000 -2990000 0 0 -2990000 2990000 0 0 2990000 0 3010000 0 -3010000 24 1 4 1 5 1 2 5 4 5 8 5 6 5 2 2 7 2 3 2 6 6 7 3 7 3 4 7 4 7 8 4 8 4 9 1 9 3 9 1 10 2 10 3 10 5 7 1 3
result:
ok OK, Accepted.
Test #11:
score: 0
Accepted
time: 0ms
memory: 3524kb
input:
11
output:
No
result:
ok OK, Accepted.
Test #12:
score: 0
Accepted
time: 0ms
memory: 3660kb
input:
12
output:
Yes 100000000 1000000000 -3000000 0 100000000 -1000000000 3000000 0 0 2990000 -2990000 0 0 -2990000 2990000 0 0 2980000 -2980000 0 0 -2980000 2980000 0 30 1 2 1 6 1 5 1 8 1 4 5 6 5 10 5 9 5 12 5 8 9 10 9 12 2 6 2 3 6 10 6 7 6 3 10 11 10 7 3 8 3 4 3 7 7 12 7 8 7 11 11 12 4 8 8 12 12 10 1 3
result:
ok OK, Accepted.
Test #13:
score: 0
Accepted
time: 1ms
memory: 3716kb
input:
13
output:
No
result:
ok OK, Accepted.
Test #14:
score: 0
Accepted
time: 0ms
memory: 3656kb
input:
14
output:
Yes -1000000000 -100000000 0 -3000000 1000000000 -100000000 0 3000000 -2990000 0 0 -2990000 2990000 0 0 2990000 -2980000 0 0 -2980000 2980000 0 0 2980000 0 3010000 0 -3010000 36 1 4 1 5 1 2 5 4 5 8 5 9 5 6 5 2 9 8 9 12 9 10 9 6 2 7 2 3 2 6 6 11 6 7 6 10 10 11 3 7 3 4 7 11 7 4 7 8 11 8 11 12 4 8 8 12...
result:
ok OK, Accepted.
Test #15:
score: 0
Accepted
time: 1ms
memory: 3652kb
input:
15
output:
No
result:
ok OK, Accepted.
Test #16:
score: 0
Accepted
time: 1ms
memory: 3616kb
input:
16
output:
Yes 100000000 1000000000 -3000000 0 100000000 -1000000000 3000000 0 0 2990000 -2990000 0 0 -2990000 2990000 0 0 2980000 -2980000 0 0 -2980000 2980000 0 0 2970000 -2970000 0 0 -2970000 2970000 0 42 1 2 1 6 1 5 1 8 1 4 5 6 5 10 5 9 5 12 5 8 9 10 9 14 9 13 9 16 9 12 13 14 13 16 2 6 2 3 6 10 6 7 6 3 10 ...
result:
ok OK, Accepted.
Test #17:
score: 0
Accepted
time: 0ms
memory: 3516kb
input:
17
output:
No
result:
ok OK, Accepted.
Test #18:
score: 0
Accepted
time: 1ms
memory: 3596kb
input:
18
output:
Yes -1000000000 -100000000 0 -3000000 1000000000 -100000000 0 3000000 -2990000 0 0 -2990000 2990000 0 0 2990000 -2980000 0 0 -2980000 2980000 0 0 2980000 -2970000 0 0 -2970000 2970000 0 0 2970000 0 3010000 0 -3010000 48 1 4 1 5 1 2 5 4 5 8 5 9 5 6 5 2 9 8 9 12 9 13 9 10 9 6 13 12 13 16 13 14 13 10 2...
result:
ok OK, Accepted.
Test #19:
score: 0
Accepted
time: 1ms
memory: 3572kb
input:
19
output:
No
result:
ok OK, Accepted.
Test #20:
score: 0
Accepted
time: 0ms
memory: 3752kb
input:
20
output:
Yes 100000000 1000000000 -3000000 0 100000000 -1000000000 3000000 0 0 2990000 -2990000 0 0 -2990000 2990000 0 0 2980000 -2980000 0 0 -2980000 2980000 0 0 2970000 -2970000 0 0 -2970000 2970000 0 0 2960000 -2960000 0 0 -2960000 2960000 0 54 1 2 1 6 1 5 1 8 1 4 5 6 5 10 5 9 5 12 5 8 9 10 9 14 9 13 9 16...
result:
ok OK, Accepted.
Test #21:
score: 0
Accepted
time: 0ms
memory: 3512kb
input:
21
output:
No
result:
ok OK, Accepted.
Test #22:
score: 0
Accepted
time: 0ms
memory: 3604kb
input:
22
output:
Yes -1000000000 -100000000 0 -3000000 1000000000 -100000000 0 3000000 -2990000 0 0 -2990000 2990000 0 0 2990000 -2980000 0 0 -2980000 2980000 0 0 2980000 -2970000 0 0 -2970000 2970000 0 0 2970000 -2960000 0 0 -2960000 2960000 0 0 2960000 0 3010000 0 -3010000 60 1 4 1 5 1 2 5 4 5 8 5 9 5 6 5 2 9 8 9 ...
result:
ok OK, Accepted.
Test #23:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
23
output:
No
result:
ok OK, Accepted.
Test #24:
score: 0
Accepted
time: 1ms
memory: 3652kb
input:
24
output:
Yes 100000000 1000000000 -3000000 0 100000000 -1000000000 3000000 0 0 2990000 -2990000 0 0 -2990000 2990000 0 0 2980000 -2980000 0 0 -2980000 2980000 0 0 2970000 -2970000 0 0 -2970000 2970000 0 0 2960000 -2960000 0 0 -2960000 2960000 0 0 2950000 -2950000 0 0 -2950000 2950000 0 66 1 2 1 6 1 5 1 8 1 4...
result:
ok OK, Accepted.
Test #25:
score: 0
Accepted
time: 1ms
memory: 3520kb
input:
25
output:
No
result:
ok OK, Accepted.
Test #26:
score: 0
Accepted
time: 0ms
memory: 3596kb
input:
26
output:
Yes -1000000000 -100000000 0 -3000000 1000000000 -100000000 0 3000000 -2990000 0 0 -2990000 2990000 0 0 2990000 -2980000 0 0 -2980000 2980000 0 0 2980000 -2970000 0 0 -2970000 2970000 0 0 2970000 -2960000 0 0 -2960000 2960000 0 0 2960000 -2950000 0 0 -2950000 2950000 0 0 2950000 0 3010000 0 -3010000...
result:
ok OK, Accepted.
Test #27:
score: 0
Accepted
time: 0ms
memory: 3708kb
input:
27
output:
No
result:
ok OK, Accepted.
Test #28:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
28
output:
Yes 100000000 1000000000 -3000000 0 100000000 -1000000000 3000000 0 0 2990000 -2990000 0 0 -2990000 2990000 0 0 2980000 -2980000 0 0 -2980000 2980000 0 0 2970000 -2970000 0 0 -2970000 2970000 0 0 2960000 -2960000 0 0 -2960000 2960000 0 0 2950000 -2950000 0 0 -2950000 2950000 0 0 2940000 -2940000 0 0...
result:
ok OK, Accepted.
Test #29:
score: 0
Accepted
time: 0ms
memory: 3524kb
input:
29
output:
No
result:
ok OK, Accepted.
Test #30:
score: 0
Accepted
time: 1ms
memory: 3612kb
input:
30
output:
Yes -1000000000 -100000000 0 -3000000 1000000000 -100000000 0 3000000 -2990000 0 0 -2990000 2990000 0 0 2990000 -2980000 0 0 -2980000 2980000 0 0 2980000 -2970000 0 0 -2970000 2970000 0 0 2970000 -2960000 0 0 -2960000 2960000 0 0 2960000 -2950000 0 0 -2950000 2950000 0 0 2950000 -2940000 0 0 -294000...
result:
ok OK, Accepted.
Test #31:
score: 0
Accepted
time: 0ms
memory: 3700kb
input:
31
output:
No
result:
ok OK, Accepted.
Test #32:
score: 0
Accepted
time: 0ms
memory: 3648kb
input:
32
output:
Yes 100000000 1000000000 -3000000 0 100000000 -1000000000 3000000 0 0 2990000 -2990000 0 0 -2990000 2990000 0 0 2980000 -2980000 0 0 -2980000 2980000 0 0 2970000 -2970000 0 0 -2970000 2970000 0 0 2960000 -2960000 0 0 -2960000 2960000 0 0 2950000 -2950000 0 0 -2950000 2950000 0 0 2940000 -2940000 0 0...
result:
ok OK, Accepted.
Test #33:
score: 0
Accepted
time: 1ms
memory: 3724kb
input:
33
output:
No
result:
ok OK, Accepted.
Test #34:
score: 0
Accepted
time: 0ms
memory: 3732kb
input:
34
output:
Yes -1000000000 -100000000 0 -3000000 1000000000 -100000000 0 3000000 -2990000 0 0 -2990000 2990000 0 0 2990000 -2980000 0 0 -2980000 2980000 0 0 2980000 -2970000 0 0 -2970000 2970000 0 0 2970000 -2960000 0 0 -2960000 2960000 0 0 2960000 -2950000 0 0 -2950000 2950000 0 0 2950000 -2940000 0 0 -294000...
result:
ok OK, Accepted.
Test #35:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
35
output:
No
result:
ok OK, Accepted.
Test #36:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
36
output:
Yes 100000000 1000000000 -3000000 0 100000000 -1000000000 3000000 0 0 2990000 -2990000 0 0 -2990000 2990000 0 0 2980000 -2980000 0 0 -2980000 2980000 0 0 2970000 -2970000 0 0 -2970000 2970000 0 0 2960000 -2960000 0 0 -2960000 2960000 0 0 2950000 -2950000 0 0 -2950000 2950000 0 0 2940000 -2940000 0 0...
result:
ok OK, Accepted.
Test #37:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
37
output:
No
result:
ok OK, Accepted.
Test #38:
score: 0
Accepted
time: 0ms
memory: 3668kb
input:
38
output:
Yes -1000000000 -100000000 0 -3000000 1000000000 -100000000 0 3000000 -2990000 0 0 -2990000 2990000 0 0 2990000 -2980000 0 0 -2980000 2980000 0 0 2980000 -2970000 0 0 -2970000 2970000 0 0 2970000 -2960000 0 0 -2960000 2960000 0 0 2960000 -2950000 0 0 -2950000 2950000 0 0 2950000 -2940000 0 0 -294000...
result:
ok OK, Accepted.
Test #39:
score: 0
Accepted
time: 0ms
memory: 3732kb
input:
39
output:
No
result:
ok OK, Accepted.
Test #40:
score: 0
Accepted
time: 0ms
memory: 3672kb
input:
40
output:
Yes 100000000 1000000000 -3000000 0 100000000 -1000000000 3000000 0 0 2990000 -2990000 0 0 -2990000 2990000 0 0 2980000 -2980000 0 0 -2980000 2980000 0 0 2970000 -2970000 0 0 -2970000 2970000 0 0 2960000 -2960000 0 0 -2960000 2960000 0 0 2950000 -2950000 0 0 -2950000 2950000 0 0 2940000 -2940000 0 0...
result:
ok OK, Accepted.
Test #41:
score: 0
Accepted
time: 0ms
memory: 3692kb
input:
41
output:
No
result:
ok OK, Accepted.
Test #42:
score: 0
Accepted
time: 1ms
memory: 3672kb
input:
42
output:
Yes -1000000000 -100000000 0 -3000000 1000000000 -100000000 0 3000000 -2990000 0 0 -2990000 2990000 0 0 2990000 -2980000 0 0 -2980000 2980000 0 0 2980000 -2970000 0 0 -2970000 2970000 0 0 2970000 -2960000 0 0 -2960000 2960000 0 0 2960000 -2950000 0 0 -2950000 2950000 0 0 2950000 -2940000 0 0 -294000...
result:
ok OK, Accepted.
Test #43:
score: 0
Accepted
time: 0ms
memory: 3648kb
input:
43
output:
No
result:
ok OK, Accepted.
Test #44:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
44
output:
Yes 100000000 1000000000 -3000000 0 100000000 -1000000000 3000000 0 0 2990000 -2990000 0 0 -2990000 2990000 0 0 2980000 -2980000 0 0 -2980000 2980000 0 0 2970000 -2970000 0 0 -2970000 2970000 0 0 2960000 -2960000 0 0 -2960000 2960000 0 0 2950000 -2950000 0 0 -2950000 2950000 0 0 2940000 -2940000 0 0...
result:
ok OK, Accepted.
Test #45:
score: 0
Accepted
time: 0ms
memory: 3516kb
input:
45
output:
No
result:
ok OK, Accepted.
Test #46:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
46
output:
Yes -1000000000 -100000000 0 -3000000 1000000000 -100000000 0 3000000 -2990000 0 0 -2990000 2990000 0 0 2990000 -2980000 0 0 -2980000 2980000 0 0 2980000 -2970000 0 0 -2970000 2970000 0 0 2970000 -2960000 0 0 -2960000 2960000 0 0 2960000 -2950000 0 0 -2950000 2950000 0 0 2950000 -2940000 0 0 -294000...
result:
ok OK, Accepted.
Test #47:
score: 0
Accepted
time: 0ms
memory: 3572kb
input:
47
output:
No
result:
ok OK, Accepted.
Test #48:
score: 0
Accepted
time: 1ms
memory: 3660kb
input:
48
output:
Yes 100000000 1000000000 -3000000 0 100000000 -1000000000 3000000 0 0 2990000 -2990000 0 0 -2990000 2990000 0 0 2980000 -2980000 0 0 -2980000 2980000 0 0 2970000 -2970000 0 0 -2970000 2970000 0 0 2960000 -2960000 0 0 -2960000 2960000 0 0 2950000 -2950000 0 0 -2950000 2950000 0 0 2940000 -2940000 0 0...
result:
ok OK, Accepted.
Test #49:
score: 0
Accepted
time: 1ms
memory: 3712kb
input:
49
output:
No
result:
ok OK, Accepted.
Test #50:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
50
output:
Yes -1000000000 -100000000 0 -3000000 1000000000 -100000000 0 3000000 -2990000 0 0 -2990000 2990000 0 0 2990000 -2980000 0 0 -2980000 2980000 0 0 2980000 -2970000 0 0 -2970000 2970000 0 0 2970000 -2960000 0 0 -2960000 2960000 0 0 2960000 -2950000 0 0 -2950000 2950000 0 0 2950000 -2940000 0 0 -294000...
result:
ok OK, Accepted.
Test #51:
score: 0
Accepted
time: 0ms
memory: 3524kb
input:
51
output:
No
result:
ok OK, Accepted.
Test #52:
score: 0
Accepted
time: 0ms
memory: 3744kb
input:
52
output:
Yes 100000000 1000000000 -3000000 0 100000000 -1000000000 3000000 0 0 2990000 -2990000 0 0 -2990000 2990000 0 0 2980000 -2980000 0 0 -2980000 2980000 0 0 2970000 -2970000 0 0 -2970000 2970000 0 0 2960000 -2960000 0 0 -2960000 2960000 0 0 2950000 -2950000 0 0 -2950000 2950000 0 0 2940000 -2940000 0 0...
result:
ok OK, Accepted.
Test #53:
score: 0
Accepted
time: 0ms
memory: 3648kb
input:
53
output:
No
result:
ok OK, Accepted.
Test #54:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
54
output:
Yes -1000000000 -100000000 0 -3000000 1000000000 -100000000 0 3000000 -2990000 0 0 -2990000 2990000 0 0 2990000 -2980000 0 0 -2980000 2980000 0 0 2980000 -2970000 0 0 -2970000 2970000 0 0 2970000 -2960000 0 0 -2960000 2960000 0 0 2960000 -2950000 0 0 -2950000 2950000 0 0 2950000 -2940000 0 0 -294000...
result:
ok OK, Accepted.
Test #55:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
55
output:
No
result:
ok OK, Accepted.
Test #56:
score: 0
Accepted
time: 0ms
memory: 3676kb
input:
56
output:
Yes 100000000 1000000000 -3000000 0 100000000 -1000000000 3000000 0 0 2990000 -2990000 0 0 -2990000 2990000 0 0 2980000 -2980000 0 0 -2980000 2980000 0 0 2970000 -2970000 0 0 -2970000 2970000 0 0 2960000 -2960000 0 0 -2960000 2960000 0 0 2950000 -2950000 0 0 -2950000 2950000 0 0 2940000 -2940000 0 0...
result:
ok OK, Accepted.
Test #57:
score: 0
Accepted
time: 0ms
memory: 3696kb
input:
57
output:
No
result:
ok OK, Accepted.
Test #58:
score: 0
Accepted
time: 1ms
memory: 3656kb
input:
58
output:
Yes -1000000000 -100000000 0 -3000000 1000000000 -100000000 0 3000000 -2990000 0 0 -2990000 2990000 0 0 2990000 -2980000 0 0 -2980000 2980000 0 0 2980000 -2970000 0 0 -2970000 2970000 0 0 2970000 -2960000 0 0 -2960000 2960000 0 0 2960000 -2950000 0 0 -2950000 2950000 0 0 2950000 -2940000 0 0 -294000...
result:
ok OK, Accepted.
Test #59:
score: 0
Accepted
time: 0ms
memory: 3516kb
input:
59
output:
No
result:
ok OK, Accepted.
Test #60:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
60
output:
Yes 100000000 1000000000 -3000000 0 100000000 -1000000000 3000000 0 0 2990000 -2990000 0 0 -2990000 2990000 0 0 2980000 -2980000 0 0 -2980000 2980000 0 0 2970000 -2970000 0 0 -2970000 2970000 0 0 2960000 -2960000 0 0 -2960000 2960000 0 0 2950000 -2950000 0 0 -2950000 2950000 0 0 2940000 -2940000 0 0...
result:
ok OK, Accepted.
Test #61:
score: 0
Accepted
time: 0ms
memory: 3556kb
input:
61
output:
No
result:
ok OK, Accepted.
Test #62:
score: 0
Accepted
time: 0ms
memory: 3760kb
input:
62
output:
Yes -1000000000 -100000000 0 -3000000 1000000000 -100000000 0 3000000 -2990000 0 0 -2990000 2990000 0 0 2990000 -2980000 0 0 -2980000 2980000 0 0 2980000 -2970000 0 0 -2970000 2970000 0 0 2970000 -2960000 0 0 -2960000 2960000 0 0 2960000 -2950000 0 0 -2950000 2950000 0 0 2950000 -2940000 0 0 -294000...
result:
ok OK, Accepted.
Test #63:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
63
output:
No
result:
ok OK, Accepted.
Test #64:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
64
output:
Yes 100000000 1000000000 -3000000 0 100000000 -1000000000 3000000 0 0 2990000 -2990000 0 0 -2990000 2990000 0 0 2980000 -2980000 0 0 -2980000 2980000 0 0 2970000 -2970000 0 0 -2970000 2970000 0 0 2960000 -2960000 0 0 -2960000 2960000 0 0 2950000 -2950000 0 0 -2950000 2950000 0 0 2940000 -2940000 0 0...
result:
ok OK, Accepted.
Test #65:
score: 0
Accepted
time: 0ms
memory: 3564kb
input:
65
output:
No
result:
ok OK, Accepted.
Test #66:
score: 0
Accepted
time: 1ms
memory: 3684kb
input:
66
output:
Yes -1000000000 -100000000 0 -3000000 1000000000 -100000000 0 3000000 -2990000 0 0 -2990000 2990000 0 0 2990000 -2980000 0 0 -2980000 2980000 0 0 2980000 -2970000 0 0 -2970000 2970000 0 0 2970000 -2960000 0 0 -2960000 2960000 0 0 2960000 -2950000 0 0 -2950000 2950000 0 0 2950000 -2940000 0 0 -294000...
result:
ok OK, Accepted.
Test #67:
score: 0
Accepted
time: 0ms
memory: 3652kb
input:
67
output:
No
result:
ok OK, Accepted.
Test #68:
score: 0
Accepted
time: 0ms
memory: 3688kb
input:
68
output:
Yes 100000000 1000000000 -3000000 0 100000000 -1000000000 3000000 0 0 2990000 -2990000 0 0 -2990000 2990000 0 0 2980000 -2980000 0 0 -2980000 2980000 0 0 2970000 -2970000 0 0 -2970000 2970000 0 0 2960000 -2960000 0 0 -2960000 2960000 0 0 2950000 -2950000 0 0 -2950000 2950000 0 0 2940000 -2940000 0 0...
result:
ok OK, Accepted.
Test #69:
score: 0
Accepted
time: 1ms
memory: 3520kb
input:
69
output:
No
result:
ok OK, Accepted.
Test #70:
score: 0
Accepted
time: 0ms
memory: 3676kb
input:
70
output:
Yes -1000000000 -100000000 0 -3000000 1000000000 -100000000 0 3000000 -2990000 0 0 -2990000 2990000 0 0 2990000 -2980000 0 0 -2980000 2980000 0 0 2980000 -2970000 0 0 -2970000 2970000 0 0 2970000 -2960000 0 0 -2960000 2960000 0 0 2960000 -2950000 0 0 -2950000 2950000 0 0 2950000 -2940000 0 0 -294000...
result:
ok OK, Accepted.
Test #71:
score: 0
Accepted
time: 0ms
memory: 3568kb
input:
71
output:
No
result:
ok OK, Accepted.
Test #72:
score: 0
Accepted
time: 1ms
memory: 3680kb
input:
72
output:
Yes 100000000 1000000000 -3000000 0 100000000 -1000000000 3000000 0 0 2990000 -2990000 0 0 -2990000 2990000 0 0 2980000 -2980000 0 0 -2980000 2980000 0 0 2970000 -2970000 0 0 -2970000 2970000 0 0 2960000 -2960000 0 0 -2960000 2960000 0 0 2950000 -2950000 0 0 -2950000 2950000 0 0 2940000 -2940000 0 0...
result:
ok OK, Accepted.
Test #73:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
73
output:
No
result:
ok OK, Accepted.
Test #74:
score: 0
Accepted
time: 0ms
memory: 3680kb
input:
74
output:
Yes -1000000000 -100000000 0 -3000000 1000000000 -100000000 0 3000000 -2990000 0 0 -2990000 2990000 0 0 2990000 -2980000 0 0 -2980000 2980000 0 0 2980000 -2970000 0 0 -2970000 2970000 0 0 2970000 -2960000 0 0 -2960000 2960000 0 0 2960000 -2950000 0 0 -2950000 2950000 0 0 2950000 -2940000 0 0 -294000...
result:
ok OK, Accepted.
Test #75:
score: 0
Accepted
time: 0ms
memory: 3680kb
input:
75
output:
No
result:
ok OK, Accepted.
Test #76:
score: 0
Accepted
time: 0ms
memory: 3700kb
input:
76
output:
Yes 100000000 1000000000 -3000000 0 100000000 -1000000000 3000000 0 0 2990000 -2990000 0 0 -2990000 2990000 0 0 2980000 -2980000 0 0 -2980000 2980000 0 0 2970000 -2970000 0 0 -2970000 2970000 0 0 2960000 -2960000 0 0 -2960000 2960000 0 0 2950000 -2950000 0 0 -2950000 2950000 0 0 2940000 -2940000 0 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: 1ms
memory: 3688kb
input:
78
output:
Yes -1000000000 -100000000 0 -3000000 1000000000 -100000000 0 3000000 -2990000 0 0 -2990000 2990000 0 0 2990000 -2980000 0 0 -2980000 2980000 0 0 2980000 -2970000 0 0 -2970000 2970000 0 0 2970000 -2960000 0 0 -2960000 2960000 0 0 2960000 -2950000 0 0 -2950000 2950000 0 0 2950000 -2940000 0 0 -294000...
result:
ok OK, Accepted.
Test #79:
score: 0
Accepted
time: 0ms
memory: 3516kb
input:
79
output:
No
result:
ok OK, Accepted.
Test #80:
score: 0
Accepted
time: 0ms
memory: 3700kb
input:
80
output:
Yes 100000000 1000000000 -3000000 0 100000000 -1000000000 3000000 0 0 2990000 -2990000 0 0 -2990000 2990000 0 0 2980000 -2980000 0 0 -2980000 2980000 0 0 2970000 -2970000 0 0 -2970000 2970000 0 0 2960000 -2960000 0 0 -2960000 2960000 0 0 2950000 -2950000 0 0 -2950000 2950000 0 0 2940000 -2940000 0 0...
result:
ok OK, Accepted.
Test #81:
score: 0
Accepted
time: 0ms
memory: 3728kb
input:
81
output:
No
result:
ok OK, Accepted.
Test #82:
score: 0
Accepted
time: 1ms
memory: 3776kb
input:
82
output:
Yes -1000000000 -100000000 0 -3000000 1000000000 -100000000 0 3000000 -2990000 0 0 -2990000 2990000 0 0 2990000 -2980000 0 0 -2980000 2980000 0 0 2980000 -2970000 0 0 -2970000 2970000 0 0 2970000 -2960000 0 0 -2960000 2960000 0 0 2960000 -2950000 0 0 -2950000 2950000 0 0 2950000 -2940000 0 0 -294000...
result:
ok OK, Accepted.
Test #83:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
83
output:
No
result:
ok OK, Accepted.
Test #84:
score: 0
Accepted
time: 0ms
memory: 3628kb
input:
84
output:
Yes 100000000 1000000000 -3000000 0 100000000 -1000000000 3000000 0 0 2990000 -2990000 0 0 -2990000 2990000 0 0 2980000 -2980000 0 0 -2980000 2980000 0 0 2970000 -2970000 0 0 -2970000 2970000 0 0 2960000 -2960000 0 0 -2960000 2960000 0 0 2950000 -2950000 0 0 -2950000 2950000 0 0 2940000 -2940000 0 0...
result:
ok OK, Accepted.
Test #85:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
85
output:
No
result:
ok OK, Accepted.
Test #86:
score: 0
Accepted
time: 1ms
memory: 3704kb
input:
86
output:
Yes -1000000000 -100000000 0 -3000000 1000000000 -100000000 0 3000000 -2990000 0 0 -2990000 2990000 0 0 2990000 -2980000 0 0 -2980000 2980000 0 0 2980000 -2970000 0 0 -2970000 2970000 0 0 2970000 -2960000 0 0 -2960000 2960000 0 0 2960000 -2950000 0 0 -2950000 2950000 0 0 2950000 -2940000 0 0 -294000...
result:
ok OK, Accepted.
Test #87:
score: 0
Accepted
time: 0ms
memory: 3700kb
input:
87
output:
No
result:
ok OK, Accepted.
Test #88:
score: 0
Accepted
time: 0ms
memory: 3624kb
input:
88
output:
Yes 100000000 1000000000 -3000000 0 100000000 -1000000000 3000000 0 0 2990000 -2990000 0 0 -2990000 2990000 0 0 2980000 -2980000 0 0 -2980000 2980000 0 0 2970000 -2970000 0 0 -2970000 2970000 0 0 2960000 -2960000 0 0 -2960000 2960000 0 0 2950000 -2950000 0 0 -2950000 2950000 0 0 2940000 -2940000 0 0...
result:
ok OK, Accepted.
Test #89:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
89
output:
No
result:
ok OK, Accepted.
Test #90:
score: 0
Accepted
time: 1ms
memory: 3652kb
input:
90
output:
Yes -1000000000 -100000000 0 -3000000 1000000000 -100000000 0 3000000 -2990000 0 0 -2990000 2990000 0 0 2990000 -2980000 0 0 -2980000 2980000 0 0 2980000 -2970000 0 0 -2970000 2970000 0 0 2970000 -2960000 0 0 -2960000 2960000 0 0 2960000 -2950000 0 0 -2950000 2950000 0 0 2950000 -2940000 0 0 -294000...
result:
ok OK, Accepted.
Test #91:
score: 0
Accepted
time: 0ms
memory: 3564kb
input:
91
output:
No
result:
ok OK, Accepted.
Test #92:
score: 0
Accepted
time: 1ms
memory: 3756kb
input:
92
output:
Yes 100000000 1000000000 -3000000 0 100000000 -1000000000 3000000 0 0 2990000 -2990000 0 0 -2990000 2990000 0 0 2980000 -2980000 0 0 -2980000 2980000 0 0 2970000 -2970000 0 0 -2970000 2970000 0 0 2960000 -2960000 0 0 -2960000 2960000 0 0 2950000 -2950000 0 0 -2950000 2950000 0 0 2940000 -2940000 0 0...
result:
ok OK, Accepted.
Test #93:
score: 0
Accepted
time: 0ms
memory: 3700kb
input:
93
output:
No
result:
ok OK, Accepted.
Test #94:
score: 0
Accepted
time: 0ms
memory: 3676kb
input:
94
output:
Yes -1000000000 -100000000 0 -3000000 1000000000 -100000000 0 3000000 -2990000 0 0 -2990000 2990000 0 0 2990000 -2980000 0 0 -2980000 2980000 0 0 2980000 -2970000 0 0 -2970000 2970000 0 0 2970000 -2960000 0 0 -2960000 2960000 0 0 2960000 -2950000 0 0 -2950000 2950000 0 0 2950000 -2940000 0 0 -294000...
result:
ok OK, Accepted.
Test #95:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
95
output:
No
result:
ok OK, Accepted.
Test #96:
score: 0
Accepted
time: 0ms
memory: 3704kb
input:
96
output:
Yes 100000000 1000000000 -3000000 0 100000000 -1000000000 3000000 0 0 2990000 -2990000 0 0 -2990000 2990000 0 0 2980000 -2980000 0 0 -2980000 2980000 0 0 2970000 -2970000 0 0 -2970000 2970000 0 0 2960000 -2960000 0 0 -2960000 2960000 0 0 2950000 -2950000 0 0 -2950000 2950000 0 0 2940000 -2940000 0 0...
result:
ok OK, Accepted.
Test #97:
score: 0
Accepted
time: 0ms
memory: 3712kb
input:
97
output:
No
result:
ok OK, Accepted.
Test #98:
score: 0
Accepted
time: 0ms
memory: 3688kb
input:
98
output:
Yes -1000000000 -100000000 0 -3000000 1000000000 -100000000 0 3000000 -2990000 0 0 -2990000 2990000 0 0 2990000 -2980000 0 0 -2980000 2980000 0 0 2980000 -2970000 0 0 -2970000 2970000 0 0 2970000 -2960000 0 0 -2960000 2960000 0 0 2960000 -2950000 0 0 -2950000 2950000 0 0 2950000 -2940000 0 0 -294000...
result:
ok OK, Accepted.
Test #99:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
99
output:
No
result:
ok OK, Accepted.
Test #100:
score: 0
Accepted
time: 0ms
memory: 3744kb
input:
100
output:
Yes 100000000 1000000000 -3000000 0 100000000 -1000000000 3000000 0 0 2990000 -2990000 0 0 -2990000 2990000 0 0 2980000 -2980000 0 0 -2980000 2980000 0 0 2970000 -2970000 0 0 -2970000 2970000 0 0 2960000 -2960000 0 0 -2960000 2960000 0 0 2950000 -2950000 0 0 -2950000 2950000 0 0 2940000 -2940000 0 0...
result:
ok OK, Accepted.
Extra Test:
score: 0
Extra Test Passed