QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#368831 | #1837. Hamiltonian | crsfaa# | AC ✓ | 1ms | 3716kb | C++14 | 7.7kb | 2024-03-27 16:55:24 | 2024-03-27 16:55:24 |
Judging History
answer
#include<bits/stdc++.h>
#define Yukinoshita namespace
#define Yukino std
using Yukinoshita Yukino;
int table[]={-3,23,2,1,3,2,4,1,4,3,5,4,6,5,7,6,8,7,9,6,9,8,10,7,10,9,11,10,12,1,12,11,13,12,14,13,15,10,15,14,16,15,17,5,17,16,18,17,-17,24,2,1,3,2,4,3,5,4,6,5,7,6,8,4,8,7,9,8,10,9,11,10,12,1,12,11,13,8,13,12,14,13,15,14,16,3,16,5,16,12,16,15,17,16,18,2,18,17,-1,24,2,1,3,2,4,3,5,4,6,5,7,6,8,4,8,5,8,7,9,8,10,9,11,10,12,4,12,5,12,11,13,12,14,13,15,6,15,7,15,14,16,11,16,15,17,16,18,17,-4,22,2,1,3,2,4,3,5,4,6,5,7,6,8,7,9,8,10,9,11,1,11,10,12,11,13,12,14,13,15,5,15,10,15,14,16,13,16,15,17,15,17,16,18,17,-16,23,2,1,3,2,4,3,5,4,6,5,7,4,7,6,8,7,9,8,10,6,10,9,11,1,11,10,12,11,13,12,14,13,15,1,15,14,16,15,17,15,17,16,18,11,18,17,-2,22,2,1,3,2,4,3,5,4,6,5,7,6,8,7,9,8,10,3,10,9,11,10,12,10,12,11,13,7,13,9,13,12,14,13,15,14,16,15,17,16,18,16,18,17,-22,24,2,1,3,2,4,3,5,4,6,5,7,6,8,3,8,7,9,8,10,9,11,10,12,1,12,11,13,12,14,13,15,14,16,9,16,15,17,3,17,15,17,16,18,6,18,7,18,17,-5,23,2,1,3,2,4,3,5,4,6,5,7,6,8,7,9,8,10,2,10,7,10,9,11,10,12,11,13,12,14,3,14,13,15,3,15,5,15,14,16,15,17,16,18,13,18,17,-7,23,2,1,3,2,4,3,5,4,6,5,7,6,8,3,8,7,9,7,9,8,10,9,11,10,12,11,13,3,13,5,13,12,14,13,15,14,16,7,16,15,17,16,18,2,18,17,-35,25,2,1,3,2,4,3,5,4,6,5,7,2,7,6,8,7,9,8,10,6,10,9,11,8,11,10,12,1,12,9,12,11,13,12,14,3,14,13,15,14,16,15,17,16,18,3,18,10,18,17,-30,22,2,1,3,2,4,3,5,4,6,5,7,6,8,7,9,6,9,8,10,9,11,10,12,11,13,12,14,2,14,13,15,1,15,7,15,14,16,15,17,16,18,3,18,17,-6,22,2,1,3,2,4,3,5,4,6,5,7,6,8,1,8,7,9,4,9,8,10,9,11,9,11,10,12,1,12,11,13,12,14,12,14,13,15,14,16,15,17,16,18,17,-28,24,2,1,3,2,4,3,5,4,6,1,6,5,7,6,8,7,9,8,10,8,10,9,11,10,12,11,13,12,14,13,15,14,16,10,16,14,16,15,17,2,17,16,18,3,18,11,18,17,-9,25,2,1,3,2,4,3,5,4,6,5,7,6,8,7,9,6,9,8,10,2,10,9,11,8,11,10,12,1,12,2,12,11,13,9,13,12,14,13,15,8,15,12,15,14,16,15,17,16,18,17,-29,23,2,1,3,2,4,3,5,4,6,5,7,6,8,7,9,8,10,9,11,10,12,11,13,6,13,9,13,12,14,13,15,8,15,14,16,15,17,16,18,1,18,2,18,5,18,17,-10,24,2,1,3,2,4,3,5,4,6,1,6,5,7,2,7,6,8,7,9,8,10,9,11,1,11,6,11,10,12,5,12,11,13,12,14,13,15,14,16,1,16,11,16,15,17,16,18,17,-14,22,2,1,3,2,4,3,5,4,6,5,7,2,7,3,7,6,8,7,9,8,10,9,11,1,11,10,12,11,13,12,14,4,14,13,15,14,16,15,17,16,18,3,18,17,-27,22,2,1,3,2,4,3,5,4,6,4,6,5,7,4,7,6,8,7,9,8,10,9,11,10,12,11,13,12,14,10,14,11,14,13,15,14,16,15,17,16,18,1,18,17,-52,24,2,1,3,2,4,3,5,1,5,4,6,1,6,5,7,4,7,6,8,7,9,8,10,9,11,10,12,11,13,12,14,11,14,13,15,14,16,6,16,15,17,16,18,2,18,7,18,17,-11,25,2,1,3,2,4,3,5,4,6,5,7,6,8,7,9,8,10,8,10,9,11,10,12,11,13,6,13,12,14,9,14,13,15,1,15,14,16,3,16,6,16,11,16,15,17,13,17,16,18,17,-8,24,2,1,3,2,4,3,5,4,6,5,7,6,8,7,9,2,9,8,10,9,11,10,12,11,13,5,13,12,14,13,15,12,15,13,15,14,16,15,17,6,17,16,18,3,18,6,18,17,-43,24,2,1,3,2,4,3,5,4,6,5,7,6,8,7,9,8,10,9,11,10,12,1,12,11,13,12,14,13,15,14,16,8,16,12,16,13,16,15,17,2,17,11,17,16,18,7,18,17,-42,24,2,1,3,2,4,3,5,1,5,3,5,4,6,1,6,2,6,5,7,6,8,7,9,8,10,9,11,7,11,10,12,11,13,12,14,13,15,14,16,15,17,2,17,16,18,3,18,17,-20,24,2,1,3,2,4,3,5,4,6,5,7,2,7,6,8,6,8,7,9,8,10,9,11,10,12,11,13,12,14,1,14,13,15,11,15,14,16,5,16,14,16,15,17,16,18,5,18,17,-32,24,2,1,3,2,4,3,5,4,6,5,7,6,8,7,9,8,10,9,11,1,11,3,11,6,11,10,12,8,12,11,13,12,14,13,15,10,15,14,16,15,17,16,18,3,18,4,18,17,-12,22,2,1,3,1,3,2,4,3,5,4,6,5,7,5,7,6,8,2,8,7,9,8,10,9,11,10,12,11,13,12,14,13,15,14,16,15,17,1,17,16,18,10,18,17,-47,23,2,1,3,2,4,3,5,4,6,1,6,5,7,6,8,7,9,8,10,9,11,6,11,10,12,11,13,12,14,13,15,14,16,1,16,15,17,10,17,13,17,16,18,5,18,17,-38,24,2,1,3,2,4,3,5,4,6,5,7,2,7,6,8,7,9,1,9,8,10,6,10,9,11,10,12,11,13,7,13,12,14,13,15,3,15,14,16,15,17,16,18,9,18,14,18,17,-49,23,2,1,3,2,4,3,5,1,5,4,6,4,6,5,7,6,8,4,8,7,9,1,9,8,10,9,11,10,12,11,13,12,14,3,14,13,15,14,16,15,17,16,18,13,18,17,-41,25,2,1,3,2,4,3,5,4,6,1,6,3,6,5,7,6,8,3,8,7,9,2,9,6,9,8,10,9,11,2,11,10,12,11,13,12,14,13,15,8,15,14,16,15,17,16,18,7,18,17,-40,25,2,1,3,2,4,3,5,4,6,3,6,5,7,6,8,4,8,7,9,8,10,9,11,10,12,11,13,1,13,12,14,13,15,12,15,14,16,15,17,8,17,16,18,2,18,3,18,16,18,17,-56,24,2,1,3,2,4,3,5,4,6,5,7,1,7,6,8,7,9,6,9,8,10,2,10,9,11,10,12,11,13,12,14,13,15,4,15,14,16,2,16,9,16,15,17,16,18,3,18,17,-19,23,2,1,3,1,3,2,4,3,5,4,6,5,7,6,8,7,9,8,10,5,10,9,11,10,12,11,13,2,13,12,14,13,15,2,15,14,16,15,17,16,18,5,18,11,18,17,-55,24,2,1,3,2,4,3,5,1,5,4,6,5,7,2,7,6,8,7,9,8,10,8,10,9,11,4,11,10,12,11,13,12,14,13,15,12,15,14,16,15,17,16,18,1,18,4,18,17,-13,25,2,1,3,2,4,1,4,3,5,4,6,5,7,6,8,7,9,6,9,8,10,9,11,8,11,10,12,11,13,12,14,10,14,13,15,1,15,9,15,14,16,5,16,15,17,5,17,16,18,17,-31,24,2,1,3,2,4,3,5,4,6,1,6,5,7,5,7,6,8,7,9,8,10,9,11,4,11,10,12,8,12,11,13,2,13,12,14,13,15,14,16,9,16,15,17,16,18,11,18,17,-33,23,2,1,3,2,4,3,5,4,6,5,7,6,8,5,8,7,9,1,9,8,10,9,11,10,12,11,13,7,13,12,14,3,14,13,15,4,15,14,16,15,17,16,18,2,18,17,-36,25,2,1,3,2,4,3,5,4,6,1,6,5,7,6,8,7,9,8,10,9,11,10,12,1,12,8,12,11,13,12,14,10,14,13,15,14,16,9,16,14,16,15,17,16,18,13,18,15,18,17,-21,25,2,1,3,2,4,3,5,4,6,5,7,6,8,7,9,8,10,8,10,9,11,10,12,8,12,11,13,10,13,12,14,13,15,14,16,1,16,13,16,15,17,12,17,16,18,5,18,10,18,17,-51,24,2,1,3,2,4,3,5,4,6,1,6,5,7,6,8,7,9,1,9,8,10,9,11,10,12,11,13,8,13,12,14,13,15,6,15,14,16,11,16,15,17,8,17,16,18,12,18,17,-54,25,2,1,3,2,4,3,5,4,6,1,6,5,7,6,8,4,8,6,8,7,9,8,10,7,10,9,11,10,12,11,13,12,14,13,15,12,15,14,16,15,17,2,17,16,18,3,18,7,18,17,-15,25,2,1,3,2,4,3,5,4,6,5,7,1,7,6,8,3,8,7,9,8,10,9,11,10,12,5,12,11,13,2,13,9,13,12,14,7,14,13,15,14,16,15,17,3,17,16,18,13,18,17,-37,23,2,1,3,1,3,2,4,3,5,4,6,5,7,6,8,5,8,7,9,8,10,9,11,10,12,11,13,9,13,12,14,13,15,10,15,14,16,11,16,15,17,16,18,2,18,17,-53,24,2,1,3,2,4,3,5,4,6,5,7,6,8,3,8,7,9,8,10,2,10,9,11,1,11,10,12,11,13,3,13,11,13,12,14,13,15,7,15,14,16,15,17,16,18,12,18,17,-25,24,2,1,3,2,4,3,5,4,6,5,7,1,7,6,8,7,9,8,10,9,11,10,12,10,12,11,13,7,13,12,14,1,14,13,15,14,16,11,16,15,17,6,17,16,18,4,18,17,-34,22,2,1,3,2,4,3,5,4,6,5,7,6,8,7,9,1,9,8,10,9,11,9,11,10,12,11,13,12,14,13,15,14,16,15,17,1,17,16,18,6,18,16,18,17,-23,25,2,1,3,2,4,3,5,4,6,5,7,6,8,2,8,7,9,2,9,8,10,9,11,10,12,11,13,12,14,12,14,13,15,7,15,10,15,14,16,4,16,15,17,1,17,16,18,8,18,17,-44,23,2,1,3,2,4,1,4,3,5,4,6,5,7,6,8,7,9,8,10,9,11,1,11,10,12,6,12,11,13,12,14,2,14,13,15,10,15,14,16,15,17,16,18,1,18,17,-24,21,2,1,3,2,4,3,5,4,6,5,7,3,7,6,8,7,9,8,10,9,11,3,11,10,12,11,13,12,14,13,15,13,15,14,16,15,17,16,18,1,18,17,-26,23,2,1,3,2,4,3,5,1,5,4,6,5,7,6,8,7,9,8,10,9,11,10,12,1,12,6,12,11,13,12,14,13,15,14,16,15,17,11,17,16,18,3,18,9,18,17,-39,23,2,1,3,2,4,3,5,4,6,5,7,6,8,3,8,7,9,6,9,8,10,9,11,1,11,10,12,2,12,11,13,10,13,12,14,13,15,14,16,15,17,16,18,10,18,17,-59,25,2,1,3,2,4,3,5,3,5,4,6,5,7,6,8,7,9,8,10,9,11,7,11,8,11,10,12,11,13,12,14,1,14,12,14,13,15,13,15,14,16,15,17,16,18,1,18,14,18,17,-18,24,2,1,3,2,4,1,4,3,5,4,6,5,7,6,8,7,9,5,9,8,10,9,11,1,11,10,12,11,13,6,13,12,14,13,15,12,15,14,16,12,16,15,17,16,18,9,18,17,-46,24,2,1,3,2,4,1,4,3,5,4,6,5,7,6,8,7,9,5,9,8,10,1,10,9,11,10,12,11,13,1,13,12,14,12,14,13,15,14,16,9,16,15,17,16,18,3,18,17,-57,24,2,1,3,2,4,3,5,4,6,5,7,6,8,4,8,7,9,8,10,9,11,6,11,10,12,10,12,11,13,1,13,12,14,13,15,14,16,15,17,7,17,16,18,10,18,11,18,17,-60,24,2,1,3,2,4,3,5,4,6,1,6,4,6,5,7,4,7,6,8,7,9,8,10,4,10,9,11,10,12,11,13,5,13,12,14,13,15,14,16,15,17,16,18,3,18,9,18,17,-45,24,2,1,3,2,4,3,5,4,6,5,7,6,8,7,9,6,9,8,10,9,11,8,11,10,12,2,12,11,13,12,14,12,14,13,15,2,15,7,15,14,16,15,17,16,18,1,18,17,-50,24,2,1,3,2,4,3,5,4,6,5,7,6,8,6,8,7,9,8,10,9,11,7,11,10,12,11,13,12,14,1,14,13,15,12,15,14,16,15,17,16,18,2,18,8,18,16,18,17,-48,24,2,1,3,2,4,3,5,4,6,4,6,5,7,5,7,6,8,7,9,8,10,6,10,9,11,2,11,10,12,11,13,12,14,13,15,14,16,8,16,15,17,16,18,1,18,14,18,17,-58,25,2,1,3,2,4,3,5,4,6,5,7,1,7,4,7,6,8,7,9,8,10,9,11,10,12,11,13,5,13,12,14,11,14,13,15,1,15,14,16,15,17,7,17,16,18,12,18,16,18,17};
int main()
{
int k,i,j;
cin>>k;
for(i=0;;i++)
if(-table[i]==k)
{
i++;
cout<<18<<' '<<table[i]<<endl;
int j=i+1;
while(table[i]--)
{
cout<<table[j]<<' '<<table[j+1]<<endl;
j+=2;
}
return 0;
}
}
詳細信息
Test #1:
score: 100
Accepted
time: 1ms
memory: 3552kb
input:
1
output:
18 24 2 1 3 2 4 3 5 4 6 5 7 6 8 4 8 5 8 7 9 8 10 9 11 10 12 4 12 5 12 11 13 12 14 13 15 6 15 7 15 14 16 11 16 15 17 16 18 17
result:
ok correct
Test #2:
score: 0
Accepted
time: 1ms
memory: 3676kb
input:
2
output:
18 22 2 1 3 2 4 3 5 4 6 5 7 6 8 7 9 8 10 3 10 9 11 10 12 10 12 11 13 7 13 9 13 12 14 13 15 14 16 15 17 16 18 16 18 17
result:
ok correct
Test #3:
score: 0
Accepted
time: 1ms
memory: 3712kb
input:
3
output:
18 23 2 1 3 2 4 1 4 3 5 4 6 5 7 6 8 7 9 6 9 8 10 7 10 9 11 10 12 1 12 11 13 12 14 13 15 10 15 14 16 15 17 5 17 16 18 17
result:
ok correct
Test #4:
score: 0
Accepted
time: 1ms
memory: 3648kb
input:
4
output:
18 22 2 1 3 2 4 3 5 4 6 5 7 6 8 7 9 8 10 9 11 1 11 10 12 11 13 12 14 13 15 5 15 10 15 14 16 13 16 15 17 15 17 16 18 17
result:
ok correct
Test #5:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
5
output:
18 23 2 1 3 2 4 3 5 4 6 5 7 6 8 7 9 8 10 2 10 7 10 9 11 10 12 11 13 12 14 3 14 13 15 3 15 5 15 14 16 15 17 16 18 13 18 17
result:
ok correct
Test #6:
score: 0
Accepted
time: 1ms
memory: 3700kb
input:
6
output:
18 22 2 1 3 2 4 3 5 4 6 5 7 6 8 1 8 7 9 4 9 8 10 9 11 9 11 10 12 1 12 11 13 12 14 12 14 13 15 14 16 15 17 16 18 17
result:
ok correct
Test #7:
score: 0
Accepted
time: 0ms
memory: 3700kb
input:
7
output:
18 23 2 1 3 2 4 3 5 4 6 5 7 6 8 3 8 7 9 7 9 8 10 9 11 10 12 11 13 3 13 5 13 12 14 13 15 14 16 7 16 15 17 16 18 2 18 17
result:
ok correct
Test #8:
score: 0
Accepted
time: 0ms
memory: 3676kb
input:
8
output:
18 24 2 1 3 2 4 3 5 4 6 5 7 6 8 7 9 2 9 8 10 9 11 10 12 11 13 5 13 12 14 13 15 12 15 13 15 14 16 15 17 6 17 16 18 3 18 6 18 17
result:
ok correct
Test #9:
score: 0
Accepted
time: 1ms
memory: 3600kb
input:
9
output:
18 25 2 1 3 2 4 3 5 4 6 5 7 6 8 7 9 6 9 8 10 2 10 9 11 8 11 10 12 1 12 2 12 11 13 9 13 12 14 13 15 8 15 12 15 14 16 15 17 16 18 17
result:
ok correct
Test #10:
score: 0
Accepted
time: 1ms
memory: 3644kb
input:
10
output:
18 24 2 1 3 2 4 3 5 4 6 1 6 5 7 2 7 6 8 7 9 8 10 9 11 1 11 6 11 10 12 5 12 11 13 12 14 13 15 14 16 1 16 11 16 15 17 16 18 17
result:
ok correct
Test #11:
score: 0
Accepted
time: 1ms
memory: 3560kb
input:
11
output:
18 25 2 1 3 2 4 3 5 4 6 5 7 6 8 7 9 8 10 8 10 9 11 10 12 11 13 6 13 12 14 9 14 13 15 1 15 14 16 3 16 6 16 11 16 15 17 13 17 16 18 17
result:
ok correct
Test #12:
score: 0
Accepted
time: 0ms
memory: 3564kb
input:
12
output:
18 22 2 1 3 1 3 2 4 3 5 4 6 5 7 5 7 6 8 2 8 7 9 8 10 9 11 10 12 11 13 12 14 13 15 14 16 15 17 1 17 16 18 10 18 17
result:
ok correct
Test #13:
score: 0
Accepted
time: 0ms
memory: 3556kb
input:
13
output:
18 25 2 1 3 2 4 1 4 3 5 4 6 5 7 6 8 7 9 6 9 8 10 9 11 8 11 10 12 11 13 12 14 10 14 13 15 1 15 9 15 14 16 5 16 15 17 5 17 16 18 17
result:
ok correct
Test #14:
score: 0
Accepted
time: 1ms
memory: 3540kb
input:
14
output:
18 22 2 1 3 2 4 3 5 4 6 5 7 2 7 3 7 6 8 7 9 8 10 9 11 1 11 10 12 11 13 12 14 4 14 13 15 14 16 15 17 16 18 3 18 17
result:
ok correct
Test #15:
score: 0
Accepted
time: 0ms
memory: 3696kb
input:
15
output:
18 25 2 1 3 2 4 3 5 4 6 5 7 1 7 6 8 3 8 7 9 8 10 9 11 10 12 5 12 11 13 2 13 9 13 12 14 7 14 13 15 14 16 15 17 3 17 16 18 13 18 17
result:
ok correct
Test #16:
score: 0
Accepted
time: 0ms
memory: 3600kb
input:
16
output:
18 23 2 1 3 2 4 3 5 4 6 5 7 4 7 6 8 7 9 8 10 6 10 9 11 1 11 10 12 11 13 12 14 13 15 1 15 14 16 15 17 15 17 16 18 11 18 17
result:
ok correct
Test #17:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
17
output:
18 24 2 1 3 2 4 3 5 4 6 5 7 6 8 4 8 7 9 8 10 9 11 10 12 1 12 11 13 8 13 12 14 13 15 14 16 3 16 5 16 12 16 15 17 16 18 2 18 17
result:
ok correct
Test #18:
score: 0
Accepted
time: 0ms
memory: 3556kb
input:
18
output:
18 24 2 1 3 2 4 1 4 3 5 4 6 5 7 6 8 7 9 5 9 8 10 9 11 1 11 10 12 11 13 6 13 12 14 13 15 12 15 14 16 12 16 15 17 16 18 9 18 17
result:
ok correct
Test #19:
score: 0
Accepted
time: 1ms
memory: 3600kb
input:
19
output:
18 23 2 1 3 1 3 2 4 3 5 4 6 5 7 6 8 7 9 8 10 5 10 9 11 10 12 11 13 2 13 12 14 13 15 2 15 14 16 15 17 16 18 5 18 11 18 17
result:
ok correct
Test #20:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
20
output:
18 24 2 1 3 2 4 3 5 4 6 5 7 2 7 6 8 6 8 7 9 8 10 9 11 10 12 11 13 12 14 1 14 13 15 11 15 14 16 5 16 14 16 15 17 16 18 5 18 17
result:
ok correct
Test #21:
score: 0
Accepted
time: 1ms
memory: 3600kb
input:
21
output:
18 25 2 1 3 2 4 3 5 4 6 5 7 6 8 7 9 8 10 8 10 9 11 10 12 8 12 11 13 10 13 12 14 13 15 14 16 1 16 13 16 15 17 12 17 16 18 5 18 10 18 17
result:
ok correct
Test #22:
score: 0
Accepted
time: 0ms
memory: 3660kb
input:
22
output:
18 24 2 1 3 2 4 3 5 4 6 5 7 6 8 3 8 7 9 8 10 9 11 10 12 1 12 11 13 12 14 13 15 14 16 9 16 15 17 3 17 15 17 16 18 6 18 7 18 17
result:
ok correct
Test #23:
score: 0
Accepted
time: 1ms
memory: 3604kb
input:
23
output:
18 25 2 1 3 2 4 3 5 4 6 5 7 6 8 2 8 7 9 2 9 8 10 9 11 10 12 11 13 12 14 12 14 13 15 7 15 10 15 14 16 4 16 15 17 1 17 16 18 8 18 17
result:
ok correct
Test #24:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
24
output:
18 21 2 1 3 2 4 3 5 4 6 5 7 3 7 6 8 7 9 8 10 9 11 3 11 10 12 11 13 12 14 13 15 13 15 14 16 15 17 16 18 1 18 17
result:
ok correct
Test #25:
score: 0
Accepted
time: 0ms
memory: 3648kb
input:
25
output:
18 24 2 1 3 2 4 3 5 4 6 5 7 1 7 6 8 7 9 8 10 9 11 10 12 10 12 11 13 7 13 12 14 1 14 13 15 14 16 11 16 15 17 6 17 16 18 4 18 17
result:
ok correct
Test #26:
score: 0
Accepted
time: 1ms
memory: 3700kb
input:
26
output:
18 23 2 1 3 2 4 3 5 1 5 4 6 5 7 6 8 7 9 8 10 9 11 10 12 1 12 6 12 11 13 12 14 13 15 14 16 15 17 11 17 16 18 3 18 9 18 17
result:
ok correct
Test #27:
score: 0
Accepted
time: 1ms
memory: 3616kb
input:
27
output:
18 22 2 1 3 2 4 3 5 4 6 4 6 5 7 4 7 6 8 7 9 8 10 9 11 10 12 11 13 12 14 10 14 11 14 13 15 14 16 15 17 16 18 1 18 17
result:
ok correct
Test #28:
score: 0
Accepted
time: 1ms
memory: 3596kb
input:
28
output:
18 24 2 1 3 2 4 3 5 4 6 1 6 5 7 6 8 7 9 8 10 8 10 9 11 10 12 11 13 12 14 13 15 14 16 10 16 14 16 15 17 2 17 16 18 3 18 11 18 17
result:
ok correct
Test #29:
score: 0
Accepted
time: 1ms
memory: 3608kb
input:
29
output:
18 23 2 1 3 2 4 3 5 4 6 5 7 6 8 7 9 8 10 9 11 10 12 11 13 6 13 9 13 12 14 13 15 8 15 14 16 15 17 16 18 1 18 2 18 5 18 17
result:
ok correct
Test #30:
score: 0
Accepted
time: 1ms
memory: 3612kb
input:
30
output:
18 22 2 1 3 2 4 3 5 4 6 5 7 6 8 7 9 6 9 8 10 9 11 10 12 11 13 12 14 2 14 13 15 1 15 7 15 14 16 15 17 16 18 3 18 17
result:
ok correct
Test #31:
score: 0
Accepted
time: 1ms
memory: 3560kb
input:
31
output:
18 24 2 1 3 2 4 3 5 4 6 1 6 5 7 5 7 6 8 7 9 8 10 9 11 4 11 10 12 8 12 11 13 2 13 12 14 13 15 14 16 9 16 15 17 16 18 11 18 17
result:
ok correct
Test #32:
score: 0
Accepted
time: 0ms
memory: 3532kb
input:
32
output:
18 24 2 1 3 2 4 3 5 4 6 5 7 6 8 7 9 8 10 9 11 1 11 3 11 6 11 10 12 8 12 11 13 12 14 13 15 10 15 14 16 15 17 16 18 3 18 4 18 17
result:
ok correct
Test #33:
score: 0
Accepted
time: 0ms
memory: 3700kb
input:
33
output:
18 23 2 1 3 2 4 3 5 4 6 5 7 6 8 5 8 7 9 1 9 8 10 9 11 10 12 11 13 7 13 12 14 3 14 13 15 4 15 14 16 15 17 16 18 2 18 17
result:
ok correct
Test #34:
score: 0
Accepted
time: 1ms
memory: 3564kb
input:
34
output:
18 22 2 1 3 2 4 3 5 4 6 5 7 6 8 7 9 1 9 8 10 9 11 9 11 10 12 11 13 12 14 13 15 14 16 15 17 1 17 16 18 6 18 16 18 17
result:
ok correct
Test #35:
score: 0
Accepted
time: 0ms
memory: 3696kb
input:
35
output:
18 25 2 1 3 2 4 3 5 4 6 5 7 2 7 6 8 7 9 8 10 6 10 9 11 8 11 10 12 1 12 9 12 11 13 12 14 3 14 13 15 14 16 15 17 16 18 3 18 10 18 17
result:
ok correct
Test #36:
score: 0
Accepted
time: 0ms
memory: 3712kb
input:
36
output:
18 25 2 1 3 2 4 3 5 4 6 1 6 5 7 6 8 7 9 8 10 9 11 10 12 1 12 8 12 11 13 12 14 10 14 13 15 14 16 9 16 14 16 15 17 16 18 13 18 15 18 17
result:
ok correct
Test #37:
score: 0
Accepted
time: 0ms
memory: 3600kb
input:
37
output:
18 23 2 1 3 1 3 2 4 3 5 4 6 5 7 6 8 5 8 7 9 8 10 9 11 10 12 11 13 9 13 12 14 13 15 10 15 14 16 11 16 15 17 16 18 2 18 17
result:
ok correct
Test #38:
score: 0
Accepted
time: 1ms
memory: 3620kb
input:
38
output:
18 24 2 1 3 2 4 3 5 4 6 5 7 2 7 6 8 7 9 1 9 8 10 6 10 9 11 10 12 11 13 7 13 12 14 13 15 3 15 14 16 15 17 16 18 9 18 14 18 17
result:
ok correct
Test #39:
score: 0
Accepted
time: 1ms
memory: 3544kb
input:
39
output:
18 23 2 1 3 2 4 3 5 4 6 5 7 6 8 3 8 7 9 6 9 8 10 9 11 1 11 10 12 2 12 11 13 10 13 12 14 13 15 14 16 15 17 16 18 10 18 17
result:
ok correct
Test #40:
score: 0
Accepted
time: 0ms
memory: 3664kb
input:
40
output:
18 25 2 1 3 2 4 3 5 4 6 3 6 5 7 6 8 4 8 7 9 8 10 9 11 10 12 11 13 1 13 12 14 13 15 12 15 14 16 15 17 8 17 16 18 2 18 3 18 16 18 17
result:
ok correct
Test #41:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
41
output:
18 25 2 1 3 2 4 3 5 4 6 1 6 3 6 5 7 6 8 3 8 7 9 2 9 6 9 8 10 9 11 2 11 10 12 11 13 12 14 13 15 8 15 14 16 15 17 16 18 7 18 17
result:
ok correct
Test #42:
score: 0
Accepted
time: 1ms
memory: 3716kb
input:
42
output:
18 24 2 1 3 2 4 3 5 1 5 3 5 4 6 1 6 2 6 5 7 6 8 7 9 8 10 9 11 7 11 10 12 11 13 12 14 13 15 14 16 15 17 2 17 16 18 3 18 17
result:
ok correct
Test #43:
score: 0
Accepted
time: 1ms
memory: 3660kb
input:
43
output:
18 24 2 1 3 2 4 3 5 4 6 5 7 6 8 7 9 8 10 9 11 10 12 1 12 11 13 12 14 13 15 14 16 8 16 12 16 13 16 15 17 2 17 11 17 16 18 7 18 17
result:
ok correct
Test #44:
score: 0
Accepted
time: 1ms
memory: 3672kb
input:
44
output:
18 23 2 1 3 2 4 1 4 3 5 4 6 5 7 6 8 7 9 8 10 9 11 1 11 10 12 6 12 11 13 12 14 2 14 13 15 10 15 14 16 15 17 16 18 1 18 17
result:
ok correct
Test #45:
score: 0
Accepted
time: 0ms
memory: 3560kb
input:
45
output:
18 24 2 1 3 2 4 3 5 4 6 5 7 6 8 7 9 6 9 8 10 9 11 8 11 10 12 2 12 11 13 12 14 12 14 13 15 2 15 7 15 14 16 15 17 16 18 1 18 17
result:
ok correct
Test #46:
score: 0
Accepted
time: 1ms
memory: 3596kb
input:
46
output:
18 24 2 1 3 2 4 1 4 3 5 4 6 5 7 6 8 7 9 5 9 8 10 1 10 9 11 10 12 11 13 1 13 12 14 12 14 13 15 14 16 9 16 15 17 16 18 3 18 17
result:
ok correct
Test #47:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
47
output:
18 23 2 1 3 2 4 3 5 4 6 1 6 5 7 6 8 7 9 8 10 9 11 6 11 10 12 11 13 12 14 13 15 14 16 1 16 15 17 10 17 13 17 16 18 5 18 17
result:
ok correct
Test #48:
score: 0
Accepted
time: 0ms
memory: 3708kb
input:
48
output:
18 24 2 1 3 2 4 3 5 4 6 4 6 5 7 5 7 6 8 7 9 8 10 6 10 9 11 2 11 10 12 11 13 12 14 13 15 14 16 8 16 15 17 16 18 1 18 14 18 17
result:
ok correct
Test #49:
score: 0
Accepted
time: 1ms
memory: 3600kb
input:
49
output:
18 23 2 1 3 2 4 3 5 1 5 4 6 4 6 5 7 6 8 4 8 7 9 1 9 8 10 9 11 10 12 11 13 12 14 3 14 13 15 14 16 15 17 16 18 13 18 17
result:
ok correct
Test #50:
score: 0
Accepted
time: 0ms
memory: 3712kb
input:
50
output:
18 24 2 1 3 2 4 3 5 4 6 5 7 6 8 6 8 7 9 8 10 9 11 7 11 10 12 11 13 12 14 1 14 13 15 12 15 14 16 15 17 16 18 2 18 8 18 16 18 17
result:
ok correct
Test #51:
score: 0
Accepted
time: 1ms
memory: 3596kb
input:
51
output:
18 24 2 1 3 2 4 3 5 4 6 1 6 5 7 6 8 7 9 1 9 8 10 9 11 10 12 11 13 8 13 12 14 13 15 6 15 14 16 11 16 15 17 8 17 16 18 12 18 17
result:
ok correct
Test #52:
score: 0
Accepted
time: 0ms
memory: 3556kb
input:
52
output:
18 24 2 1 3 2 4 3 5 1 5 4 6 1 6 5 7 4 7 6 8 7 9 8 10 9 11 10 12 11 13 12 14 11 14 13 15 14 16 6 16 15 17 16 18 2 18 7 18 17
result:
ok correct
Test #53:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
53
output:
18 24 2 1 3 2 4 3 5 4 6 5 7 6 8 3 8 7 9 8 10 2 10 9 11 1 11 10 12 11 13 3 13 11 13 12 14 13 15 7 15 14 16 15 17 16 18 12 18 17
result:
ok correct
Test #54:
score: 0
Accepted
time: 1ms
memory: 3600kb
input:
54
output:
18 25 2 1 3 2 4 3 5 4 6 1 6 5 7 6 8 4 8 6 8 7 9 8 10 7 10 9 11 10 12 11 13 12 14 13 15 12 15 14 16 15 17 2 17 16 18 3 18 7 18 17
result:
ok correct
Test #55:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
55
output:
18 24 2 1 3 2 4 3 5 1 5 4 6 5 7 2 7 6 8 7 9 8 10 8 10 9 11 4 11 10 12 11 13 12 14 13 15 12 15 14 16 15 17 16 18 1 18 4 18 17
result:
ok correct
Test #56:
score: 0
Accepted
time: 0ms
memory: 3696kb
input:
56
output:
18 24 2 1 3 2 4 3 5 4 6 5 7 1 7 6 8 7 9 6 9 8 10 2 10 9 11 10 12 11 13 12 14 13 15 4 15 14 16 2 16 9 16 15 17 16 18 3 18 17
result:
ok correct
Test #57:
score: 0
Accepted
time: 0ms
memory: 3672kb
input:
57
output:
18 24 2 1 3 2 4 3 5 4 6 5 7 6 8 4 8 7 9 8 10 9 11 6 11 10 12 10 12 11 13 1 13 12 14 13 15 14 16 15 17 7 17 16 18 10 18 11 18 17
result:
ok correct
Test #58:
score: 0
Accepted
time: 0ms
memory: 3556kb
input:
58
output:
18 25 2 1 3 2 4 3 5 4 6 5 7 1 7 4 7 6 8 7 9 8 10 9 11 10 12 11 13 5 13 12 14 11 14 13 15 1 15 14 16 15 17 7 17 16 18 12 18 16 18 17
result:
ok correct
Test #59:
score: 0
Accepted
time: 1ms
memory: 3604kb
input:
59
output:
18 25 2 1 3 2 4 3 5 3 5 4 6 5 7 6 8 7 9 8 10 9 11 7 11 8 11 10 12 11 13 12 14 1 14 12 14 13 15 13 15 14 16 15 17 16 18 1 18 14 18 17
result:
ok correct
Test #60:
score: 0
Accepted
time: 0ms
memory: 3556kb
input:
60
output:
18 24 2 1 3 2 4 3 5 4 6 1 6 4 6 5 7 4 7 6 8 7 9 8 10 4 10 9 11 10 12 11 13 5 13 12 14 13 15 14 16 15 17 16 18 3 18 9 18 17
result:
ok correct