QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#344443 | #5575. Knight's Tour Redux | FAKUMARER | AC ✓ | 7ms | 3752kb | C++14 | 2.3kb | 2024-03-04 16:10:03 | 2024-03-04 16:10:03 |
Judging History
answer
#include <iostream>
#define A 10
#define B 11
using namespace std;
inline void Print (const int x, const int y) {
cout << x << ' ' << y << '\n';
}
inline void Work_5 (const int x) {
Print (x + 2, x + 4);
Print (x + 3, x + 1);
Print (x + 0, x + 0);
Print (x + 1, x + 3);
Print (x + 4, x + 2);
}
inline void Work_6 (const int x) {
Print (x + 0, x + 0);
Print (x + 1, x + 3);
Print (x + 4, x + 4);
Print (x + 5, x + 1);
Print (x + 2, x + 2);
Print (x + 3, x + 5);
}
inline void Work_7 (const int x) {
Print (x + 0, x + 0);
Print (x + 1, x + 3);
Print (x + 4, x + 4);
Print (x + 5, x + 1);
Print (x + 2, x + 2);
Print (x + 3, x + 5);
Print (x + 6, x + 6);
}
inline void Work_8 (const int x) {
Print (x + 0, x + 0);
Print (x + 1, x + 3);
Print (x + 2, x + 6);
Print (x + 5, x + 7);
Print (x + 4, x + 4);
Print (x + 3, x + 1);
Print (x + 6, x + 2);
Print (x + 7, x + 5);
}
inline void Work_9 (const int x) {
Print (x + 0, x + 0);
Print (x + 1, x + 3);
Print (x + 2, x + 6);
Print (x + 5, x + 7);
Print (x + 4, x + 4);
Print (x + 3, x + 1);
Print (x + 6, x + 2);
Print (x + 7, x + 5);
Print (x + 8, x + 8);
}
inline void Work_A (const int x) {
Print (x + 0, x + 0);
Print (x + 1, x + 3);
Print (x + 2, x + 6);
Print (x + 3, x + 9);
Print (x + 6, x + 8);
Print (x + 5, x + 5);
Print (x + 4, x + 2);
Print (x + 7, x + 1);
Print (x + 8, x + 4);
Print (x + 9, x + 7);
}
inline void Work_B (const int x) {
Print (x + 0, x + 0);
Print (x + 1, x + 3);
Print (x + 2, x + 6);
Print (x + 3, x + 9);
Print (x + 6, x + 8);
Print (x + 5, x + 5);
Print (x + 4, x + 2);
Print (x + 7, x + 1);
Print (x + 8, x + 4);
Print (x + 9, x + 7);
Print (x + A, x + A);
}
int N, P = 1;
int main () {
ios::sync_with_stdio(0);
cin.tie(0), cout.tie(0);
cin >> N;
if (N == 1) return cout << "POSSIBLE" << endl << 1 << ' ' << 1 << endl, 0;
if (N <= 4) return cout << "IMPOSSIBLE" << endl, 0;
cout << "POSSIBLE" << endl;
if (N == 5) return Work_5 (P), 0;
while (N >= 12) Work_6 (P), P += 6, N -= 6;
if (N == 6) Work_6 (P);
if (N == 7) Work_7 (P);
if (N == 8) Work_8 (P);
if (N == 9) Work_9 (P);
if (N == A) Work_A (P);
if (N == B) Work_B (P);
return 0;
}
详细
Test #1:
score: 100
Accepted
time: 0ms
memory: 3612kb
input:
1
output:
POSSIBLE 1 1
result:
ok answer = 1
Test #2:
score: 0
Accepted
time: 0ms
memory: 3692kb
input:
2
output:
IMPOSSIBLE
result:
ok answer = 0
Test #3:
score: 0
Accepted
time: 0ms
memory: 3680kb
input:
3
output:
IMPOSSIBLE
result:
ok answer = 0
Test #4:
score: 0
Accepted
time: 0ms
memory: 3692kb
input:
4
output:
IMPOSSIBLE
result:
ok answer = 0
Test #5:
score: 0
Accepted
time: 0ms
memory: 3740kb
input:
5
output:
POSSIBLE 3 5 4 2 1 1 2 4 5 3
result:
ok answer = 1
Test #6:
score: 0
Accepted
time: 0ms
memory: 3692kb
input:
6
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6
result:
ok answer = 1
Test #7:
score: 0
Accepted
time: 0ms
memory: 3672kb
input:
7
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7
result:
ok answer = 1
Test #8:
score: 0
Accepted
time: 0ms
memory: 3620kb
input:
8
output:
POSSIBLE 1 1 2 4 3 7 6 8 5 5 4 2 7 3 8 6
result:
ok answer = 1
Test #9:
score: 0
Accepted
time: 0ms
memory: 3732kb
input:
9
output:
POSSIBLE 1 1 2 4 3 7 6 8 5 5 4 2 7 3 8 6 9 9
result:
ok answer = 1
Test #10:
score: 0
Accepted
time: 0ms
memory: 3628kb
input:
10
output:
POSSIBLE 1 1 2 4 3 7 4 10 7 9 6 6 5 3 8 2 9 5 10 8
result:
ok answer = 1
Test #11:
score: 0
Accepted
time: 0ms
memory: 3684kb
input:
11
output:
POSSIBLE 1 1 2 4 3 7 4 10 7 9 6 6 5 3 8 2 9 5 10 8 11 11
result:
ok answer = 1
Test #12:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
12
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12
result:
ok answer = 1
Test #13:
score: 0
Accepted
time: 0ms
memory: 3696kb
input:
13
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13
result:
ok answer = 1
Test #14:
score: 0
Accepted
time: 0ms
memory: 3700kb
input:
14
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 9 13 12 14 11 11 10 8 13 9 14 12
result:
ok answer = 1
Test #15:
score: 0
Accepted
time: 0ms
memory: 3676kb
input:
15
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 9 13 12 14 11 11 10 8 13 9 14 12 15 15
result:
ok answer = 1
Test #16:
score: 0
Accepted
time: 0ms
memory: 3700kb
input:
16
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 9 13 10 16 13 15 12 12 11 9 14 8 15 11 16 14
result:
ok answer = 1
Test #17:
score: 0
Accepted
time: 0ms
memory: 3680kb
input:
17
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 9 13 10 16 13 15 12 12 11 9 14 8 15 11 16 14 17 17
result:
ok answer = 1
Test #18:
score: 0
Accepted
time: 0ms
memory: 3696kb
input:
18
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18
result:
ok answer = 1
Test #19:
score: 0
Accepted
time: 0ms
memory: 3700kb
input:
19
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19
result:
ok answer = 1
Test #20:
score: 0
Accepted
time: 0ms
memory: 3624kb
input:
20
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 15 19 18 20 17 17 16 14 19 15 20 18
result:
ok answer = 1
Test #21:
score: 0
Accepted
time: 7ms
memory: 3748kb
input:
99990
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #22:
score: 0
Accepted
time: 7ms
memory: 3628kb
input:
99991
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #23:
score: 0
Accepted
time: 3ms
memory: 3740kb
input:
99992
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #24:
score: 0
Accepted
time: 3ms
memory: 3684kb
input:
99993
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #25:
score: 0
Accepted
time: 7ms
memory: 3624kb
input:
99994
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #26:
score: 0
Accepted
time: 3ms
memory: 3624kb
input:
99995
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #27:
score: 0
Accepted
time: 3ms
memory: 3640kb
input:
99996
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #28:
score: 0
Accepted
time: 7ms
memory: 3700kb
input:
99997
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #29:
score: 0
Accepted
time: 7ms
memory: 3700kb
input:
99998
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #30:
score: 0
Accepted
time: 7ms
memory: 3700kb
input:
99999
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #31:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
100000
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #32:
score: 0
Accepted
time: 0ms
memory: 3680kb
input:
74615
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #33:
score: 0
Accepted
time: 2ms
memory: 3616kb
input:
25027
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #34:
score: 0
Accepted
time: 0ms
memory: 3652kb
input:
40852
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #35:
score: 0
Accepted
time: 3ms
memory: 3684kb
input:
31411
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #36:
score: 0
Accepted
time: 3ms
memory: 3700kb
input:
37332
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #37:
score: 0
Accepted
time: 0ms
memory: 3740kb
input:
80435
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #38:
score: 0
Accepted
time: 3ms
memory: 3680kb
input:
90457
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #39:
score: 0
Accepted
time: 1ms
memory: 3604kb
input:
1796
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #40:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
55809
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #41:
score: 0
Accepted
time: 7ms
memory: 3680kb
input:
97013
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #42:
score: 0
Accepted
time: 6ms
memory: 3684kb
input:
77938
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #43:
score: 0
Accepted
time: 7ms
memory: 3684kb
input:
87884
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #44:
score: 0
Accepted
time: 5ms
memory: 3616kb
input:
61687
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #45:
score: 0
Accepted
time: 3ms
memory: 3620kb
input:
32567
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #46:
score: 0
Accepted
time: 0ms
memory: 3620kb
input:
53441
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #47:
score: 0
Accepted
time: 2ms
memory: 3648kb
input:
19197
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #48:
score: 0
Accepted
time: 0ms
memory: 3620kb
input:
77260
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #49:
score: 0
Accepted
time: 1ms
memory: 3632kb
input:
6699
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #50:
score: 0
Accepted
time: 5ms
memory: 3696kb
input:
72561
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #51:
score: 0
Accepted
time: 5ms
memory: 3688kb
input:
60412
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #52:
score: 0
Accepted
time: 6ms
memory: 3752kb
input:
78243
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #53:
score: 0
Accepted
time: 7ms
memory: 3748kb
input:
93055
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #54:
score: 0
Accepted
time: 5ms
memory: 3628kb
input:
72060
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #55:
score: 0
Accepted
time: 0ms
memory: 3628kb
input:
10561
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #56:
score: 0
Accepted
time: 4ms
memory: 3624kb
input:
56368
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #57:
score: 0
Accepted
time: 4ms
memory: 3700kb
input:
44898
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #58:
score: 0
Accepted
time: 5ms
memory: 3676kb
input:
69941
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #59:
score: 0
Accepted
time: 0ms
memory: 3680kb
input:
24192
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #60:
score: 0
Accepted
time: 0ms
memory: 3700kb
input:
13677
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #61:
score: 0
Accepted
time: 4ms
memory: 3672kb
input:
47780
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #62:
score: 0
Accepted
time: 0ms
memory: 3680kb
input:
36022
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #63:
score: 0
Accepted
time: 4ms
memory: 3632kb
input:
50675
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #64:
score: 0
Accepted
time: 2ms
memory: 3700kb
input:
26644
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #65:
score: 0
Accepted
time: 4ms
memory: 3736kb
input:
56969
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #66:
score: 0
Accepted
time: 4ms
memory: 3684kb
input:
53401
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #67:
score: 0
Accepted
time: 2ms
memory: 3744kb
input:
24772
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #68:
score: 0
Accepted
time: 3ms
memory: 3624kb
input:
35433
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #69:
score: 0
Accepted
time: 7ms
memory: 3668kb
input:
89877
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #70:
score: 0
Accepted
time: 7ms
memory: 3632kb
input:
99986
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1
Test #71:
score: 0
Accepted
time: 0ms
memory: 3736kb
input:
6094
output:
POSSIBLE 1 1 2 4 5 5 6 2 3 3 4 6 7 7 8 10 11 11 12 8 9 9 10 12 13 13 14 16 17 17 18 14 15 15 16 18 19 19 20 22 23 23 24 20 21 21 22 24 25 25 26 28 29 29 30 26 27 27 28 30 31 31 32 34 35 35 36 32 33 33 34 36 37 37 38 40 41 41 42 38 39 39 40 42 43 43 44 46 47 47 48 44 45 45 46 48 49 49 50 52 53 53 54 ...
result:
ok answer = 1