QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#417751 | #5528. Least Annoying Constructive Problem | APJifengc | AC ✓ | 9ms | 3892kb | C++14 | 706b | 2024-05-22 21:38:18 | 2024-05-22 21:38:19 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
const int MAXN = 505;
int n;
void output(int u, int v) {
u++, v++;
if (u > v) swap(u, v);
printf("%d %d\n", u, v);
}
int main() {
scanf("%d", &n);
if (n & 1) {
for (int t = 0; t <= n / 2; t++) {
for (int i = 1; i <= n / 2; i++) output((i - 1 + t) % n, (n - i + t) % n);
if (t < n / 2) for (int i = n / 2; i >= 1; i--) output((i + t) % n, (n - i + t) % n);
}
} else {
for (int i = 0; i < n - 1; i++) {
output(n - 1, i);
for (int j = n / 2 - 1; j >= 1; j--) output((j + i) % (n - 1), (n - 1 - j + i) % (n - 1));
}
}
return 0;
}
詳細信息
Test #1:
score: 100
Accepted
time: 1ms
memory: 3660kb
input:
3
output:
1 3 2 3 1 2
result:
ok Correct
Test #2:
score: 0
Accepted
time: 0ms
memory: 3868kb
input:
4
output:
1 4 2 3 2 4 1 3 3 4 1 2
result:
ok Correct
Test #3:
score: 0
Accepted
time: 0ms
memory: 3784kb
input:
5
output:
1 5 2 4 3 4 2 5 1 2 3 5 4 5 1 3 2 3 1 4
result:
ok Correct
Test #4:
score: 0
Accepted
time: 0ms
memory: 3772kb
input:
6
output:
1 6 3 4 2 5 2 6 4 5 1 3 3 6 1 5 2 4 4 6 1 2 3 5 5 6 2 3 1 4
result:
ok Correct
Test #5:
score: 0
Accepted
time: 0ms
memory: 3800kb
input:
7
output:
1 7 2 6 3 5 4 5 3 6 2 7 1 2 3 7 4 6 5 6 4 7 1 3 2 3 1 4 5 7 6 7 1 5 2 4 3 4 2 5 1 6
result:
ok Correct
Test #6:
score: 0
Accepted
time: 0ms
memory: 3744kb
input:
8
output:
1 8 4 5 3 6 2 7 2 8 5 6 4 7 1 3 3 8 6 7 1 5 2 4 4 8 1 7 2 6 3 5 5 8 1 2 3 7 4 6 6 8 2 3 1 4 5 7 7 8 3 4 2 5 1 6
result:
ok Correct
Test #7:
score: 0
Accepted
time: 0ms
memory: 3716kb
input:
9
output:
1 9 2 8 3 7 4 6 5 6 4 7 3 8 2 9 1 2 3 9 4 8 5 7 6 7 5 8 4 9 1 3 2 3 1 4 5 9 6 8 7 8 6 9 1 5 2 4 3 4 2 5 1 6 7 9 8 9 1 7 2 6 3 5 4 5 3 6 2 7 1 8
result:
ok Correct
Test #8:
score: 0
Accepted
time: 0ms
memory: 3760kb
input:
10
output:
1 10 5 6 4 7 3 8 2 9 2 10 6 7 5 8 4 9 1 3 3 10 7 8 6 9 1 5 2 4 4 10 8 9 1 7 2 6 3 5 5 10 1 9 2 8 3 7 4 6 6 10 1 2 3 9 4 8 5 7 7 10 2 3 1 4 5 9 6 8 8 10 3 4 2 5 1 6 7 9 9 10 4 5 3 6 2 7 1 8
result:
ok Correct
Test #9:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
11
output:
1 11 2 10 3 9 4 8 5 7 6 7 5 8 4 9 3 10 2 11 1 2 3 11 4 10 5 9 6 8 7 8 6 9 5 10 4 11 1 3 2 3 1 4 5 11 6 10 7 9 8 9 7 10 6 11 1 5 2 4 3 4 2 5 1 6 7 11 8 10 9 10 8 11 1 7 2 6 3 5 4 5 3 6 2 7 1 8 9 11 10 11 1 9 2 8 3 7 4 6 5 6 4 7 3 8 2 9 1 10
result:
ok Correct
Test #10:
score: 0
Accepted
time: 0ms
memory: 3864kb
input:
12
output:
1 12 6 7 5 8 4 9 3 10 2 11 2 12 7 8 6 9 5 10 4 11 1 3 3 12 8 9 7 10 6 11 1 5 2 4 4 12 9 10 8 11 1 7 2 6 3 5 5 12 10 11 1 9 2 8 3 7 4 6 6 12 1 11 2 10 3 9 4 8 5 7 7 12 1 2 3 11 4 10 5 9 6 8 8 12 2 3 1 4 5 11 6 10 7 9 9 12 3 4 2 5 1 6 7 11 8 10 10 12 4 5 3 6 2 7 1 8 9 11 11 12 5 6 4 7 3 8 2 9 1 10
result:
ok Correct
Test #11:
score: 0
Accepted
time: 0ms
memory: 3892kb
input:
13
output:
1 13 2 12 3 11 4 10 5 9 6 8 7 8 6 9 5 10 4 11 3 12 2 13 1 2 3 13 4 12 5 11 6 10 7 9 8 9 7 10 6 11 5 12 4 13 1 3 2 3 1 4 5 13 6 12 7 11 8 10 9 10 8 11 7 12 6 13 1 5 2 4 3 4 2 5 1 6 7 13 8 12 9 11 10 11 9 12 8 13 1 7 2 6 3 5 4 5 3 6 2 7 1 8 9 13 10 12 11 12 10 13 1 9 2 8 3 7 4 6 5 6 4 7 3 8 2 9 1 10 1...
result:
ok Correct
Test #12:
score: 0
Accepted
time: 0ms
memory: 3836kb
input:
14
output:
1 14 7 8 6 9 5 10 4 11 3 12 2 13 2 14 8 9 7 10 6 11 5 12 4 13 1 3 3 14 9 10 8 11 7 12 6 13 1 5 2 4 4 14 10 11 9 12 8 13 1 7 2 6 3 5 5 14 11 12 10 13 1 9 2 8 3 7 4 6 6 14 12 13 1 11 2 10 3 9 4 8 5 7 7 14 1 13 2 12 3 11 4 10 5 9 6 8 8 14 1 2 3 13 4 12 5 11 6 10 7 9 9 14 2 3 1 4 5 13 6 12 7 11 8 10 10 ...
result:
ok Correct
Test #13:
score: 0
Accepted
time: 0ms
memory: 3784kb
input:
15
output:
1 15 2 14 3 13 4 12 5 11 6 10 7 9 8 9 7 10 6 11 5 12 4 13 3 14 2 15 1 2 3 15 4 14 5 13 6 12 7 11 8 10 9 10 8 11 7 12 6 13 5 14 4 15 1 3 2 3 1 4 5 15 6 14 7 13 8 12 9 11 10 11 9 12 8 13 7 14 6 15 1 5 2 4 3 4 2 5 1 6 7 15 8 14 9 13 10 12 11 12 10 13 9 14 8 15 1 7 2 6 3 5 4 5 3 6 2 7 1 8 9 15 10 14 11 ...
result:
ok Correct
Test #14:
score: 0
Accepted
time: 0ms
memory: 3768kb
input:
16
output:
1 16 8 9 7 10 6 11 5 12 4 13 3 14 2 15 2 16 9 10 8 11 7 12 6 13 5 14 4 15 1 3 3 16 10 11 9 12 8 13 7 14 6 15 1 5 2 4 4 16 11 12 10 13 9 14 8 15 1 7 2 6 3 5 5 16 12 13 11 14 10 15 1 9 2 8 3 7 4 6 6 16 13 14 12 15 1 11 2 10 3 9 4 8 5 7 7 16 14 15 1 13 2 12 3 11 4 10 5 9 6 8 8 16 1 15 2 14 3 13 4 12 5 ...
result:
ok Correct
Test #15:
score: 0
Accepted
time: 0ms
memory: 3824kb
input:
17
output:
1 17 2 16 3 15 4 14 5 13 6 12 7 11 8 10 9 10 8 11 7 12 6 13 5 14 4 15 3 16 2 17 1 2 3 17 4 16 5 15 6 14 7 13 8 12 9 11 10 11 9 12 8 13 7 14 6 15 5 16 4 17 1 3 2 3 1 4 5 17 6 16 7 15 8 14 9 13 10 12 11 12 10 13 9 14 8 15 7 16 6 17 1 5 2 4 3 4 2 5 1 6 7 17 8 16 9 15 10 14 11 13 12 13 11 14 10 15 9 16 ...
result:
ok Correct
Test #16:
score: 0
Accepted
time: 0ms
memory: 3768kb
input:
18
output:
1 18 9 10 8 11 7 12 6 13 5 14 4 15 3 16 2 17 2 18 10 11 9 12 8 13 7 14 6 15 5 16 4 17 1 3 3 18 11 12 10 13 9 14 8 15 7 16 6 17 1 5 2 4 4 18 12 13 11 14 10 15 9 16 8 17 1 7 2 6 3 5 5 18 13 14 12 15 11 16 10 17 1 9 2 8 3 7 4 6 6 18 14 15 13 16 12 17 1 11 2 10 3 9 4 8 5 7 7 18 15 16 14 17 1 13 2 12 3 1...
result:
ok Correct
Test #17:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
19
output:
1 19 2 18 3 17 4 16 5 15 6 14 7 13 8 12 9 11 10 11 9 12 8 13 7 14 6 15 5 16 4 17 3 18 2 19 1 2 3 19 4 18 5 17 6 16 7 15 8 14 9 13 10 12 11 12 10 13 9 14 8 15 7 16 6 17 5 18 4 19 1 3 2 3 1 4 5 19 6 18 7 17 8 16 9 15 10 14 11 13 12 13 11 14 10 15 9 16 8 17 7 18 6 19 1 5 2 4 3 4 2 5 1 6 7 19 8 18 9 17 ...
result:
ok Correct
Test #18:
score: 0
Accepted
time: 0ms
memory: 3864kb
input:
20
output:
1 20 10 11 9 12 8 13 7 14 6 15 5 16 4 17 3 18 2 19 2 20 11 12 10 13 9 14 8 15 7 16 6 17 5 18 4 19 1 3 3 20 12 13 11 14 10 15 9 16 8 17 7 18 6 19 1 5 2 4 4 20 13 14 12 15 11 16 10 17 9 18 8 19 1 7 2 6 3 5 5 20 14 15 13 16 12 17 11 18 10 19 1 9 2 8 3 7 4 6 6 20 15 16 14 17 13 18 12 19 1 11 2 10 3 9 4 ...
result:
ok Correct
Test #19:
score: 0
Accepted
time: 0ms
memory: 3672kb
input:
21
output:
1 21 2 20 3 19 4 18 5 17 6 16 7 15 8 14 9 13 10 12 11 12 10 13 9 14 8 15 7 16 6 17 5 18 4 19 3 20 2 21 1 2 3 21 4 20 5 19 6 18 7 17 8 16 9 15 10 14 11 13 12 13 11 14 10 15 9 16 8 17 7 18 6 19 5 20 4 21 1 3 2 3 1 4 5 21 6 20 7 19 8 18 9 17 10 16 11 15 12 14 13 14 12 15 11 16 10 17 9 18 8 19 7 20 6 21...
result:
ok Correct
Test #20:
score: 0
Accepted
time: 0ms
memory: 3868kb
input:
22
output:
1 22 11 12 10 13 9 14 8 15 7 16 6 17 5 18 4 19 3 20 2 21 2 22 12 13 11 14 10 15 9 16 8 17 7 18 6 19 5 20 4 21 1 3 3 22 13 14 12 15 11 16 10 17 9 18 8 19 7 20 6 21 1 5 2 4 4 22 14 15 13 16 12 17 11 18 10 19 9 20 8 21 1 7 2 6 3 5 5 22 15 16 14 17 13 18 12 19 11 20 10 21 1 9 2 8 3 7 4 6 6 22 16 17 15 1...
result:
ok Correct
Test #21:
score: 0
Accepted
time: 0ms
memory: 3836kb
input:
23
output:
1 23 2 22 3 21 4 20 5 19 6 18 7 17 8 16 9 15 10 14 11 13 12 13 11 14 10 15 9 16 8 17 7 18 6 19 5 20 4 21 3 22 2 23 1 2 3 23 4 22 5 21 6 20 7 19 8 18 9 17 10 16 11 15 12 14 13 14 12 15 11 16 10 17 9 18 8 19 7 20 6 21 5 22 4 23 1 3 2 3 1 4 5 23 6 22 7 21 8 20 9 19 10 18 11 17 12 16 13 15 14 15 13 16 1...
result:
ok Correct
Test #22:
score: 0
Accepted
time: 0ms
memory: 3672kb
input:
24
output:
1 24 12 13 11 14 10 15 9 16 8 17 7 18 6 19 5 20 4 21 3 22 2 23 2 24 13 14 12 15 11 16 10 17 9 18 8 19 7 20 6 21 5 22 4 23 1 3 3 24 14 15 13 16 12 17 11 18 10 19 9 20 8 21 7 22 6 23 1 5 2 4 4 24 15 16 14 17 13 18 12 19 11 20 10 21 9 22 8 23 1 7 2 6 3 5 5 24 16 17 15 18 14 19 13 20 12 21 11 22 10 23 1...
result:
ok Correct
Test #23:
score: 0
Accepted
time: 0ms
memory: 3700kb
input:
25
output:
1 25 2 24 3 23 4 22 5 21 6 20 7 19 8 18 9 17 10 16 11 15 12 14 13 14 12 15 11 16 10 17 9 18 8 19 7 20 6 21 5 22 4 23 3 24 2 25 1 2 3 25 4 24 5 23 6 22 7 21 8 20 9 19 10 18 11 17 12 16 13 15 14 15 13 16 12 17 11 18 10 19 9 20 8 21 7 22 6 23 5 24 4 25 1 3 2 3 1 4 5 25 6 24 7 23 8 22 9 21 10 20 11 19 1...
result:
ok Correct
Test #24:
score: 0
Accepted
time: 0ms
memory: 3748kb
input:
26
output:
1 26 13 14 12 15 11 16 10 17 9 18 8 19 7 20 6 21 5 22 4 23 3 24 2 25 2 26 14 15 13 16 12 17 11 18 10 19 9 20 8 21 7 22 6 23 5 24 4 25 1 3 3 26 15 16 14 17 13 18 12 19 11 20 10 21 9 22 8 23 7 24 6 25 1 5 2 4 4 26 16 17 15 18 14 19 13 20 12 21 11 22 10 23 9 24 8 25 1 7 2 6 3 5 5 26 17 18 16 19 15 20 1...
result:
ok Correct
Test #25:
score: 0
Accepted
time: 0ms
memory: 3780kb
input:
27
output:
1 27 2 26 3 25 4 24 5 23 6 22 7 21 8 20 9 19 10 18 11 17 12 16 13 15 14 15 13 16 12 17 11 18 10 19 9 20 8 21 7 22 6 23 5 24 4 25 3 26 2 27 1 2 3 27 4 26 5 25 6 24 7 23 8 22 9 21 10 20 11 19 12 18 13 17 14 16 15 16 14 17 13 18 12 19 11 20 10 21 9 22 8 23 7 24 6 25 5 26 4 27 1 3 2 3 1 4 5 27 6 26 7 25...
result:
ok Correct
Test #26:
score: 0
Accepted
time: 0ms
memory: 3784kb
input:
28
output:
1 28 14 15 13 16 12 17 11 18 10 19 9 20 8 21 7 22 6 23 5 24 4 25 3 26 2 27 2 28 15 16 14 17 13 18 12 19 11 20 10 21 9 22 8 23 7 24 6 25 5 26 4 27 1 3 3 28 16 17 15 18 14 19 13 20 12 21 11 22 10 23 9 24 8 25 7 26 6 27 1 5 2 4 4 28 17 18 16 19 15 20 14 21 13 22 12 23 11 24 10 25 9 26 8 27 1 7 2 6 3 5 ...
result:
ok Correct
Test #27:
score: 0
Accepted
time: 1ms
memory: 3836kb
input:
29
output:
1 29 2 28 3 27 4 26 5 25 6 24 7 23 8 22 9 21 10 20 11 19 12 18 13 17 14 16 15 16 14 17 13 18 12 19 11 20 10 21 9 22 8 23 7 24 6 25 5 26 4 27 3 28 2 29 1 2 3 29 4 28 5 27 6 26 7 25 8 24 9 23 10 22 11 21 12 20 13 19 14 18 15 17 16 17 15 18 14 19 13 20 12 21 11 22 10 23 9 24 8 25 7 26 6 27 5 28 4 29 1 ...
result:
ok Correct
Test #28:
score: 0
Accepted
time: 0ms
memory: 3672kb
input:
30
output:
1 30 15 16 14 17 13 18 12 19 11 20 10 21 9 22 8 23 7 24 6 25 5 26 4 27 3 28 2 29 2 30 16 17 15 18 14 19 13 20 12 21 11 22 10 23 9 24 8 25 7 26 6 27 5 28 4 29 1 3 3 30 17 18 16 19 15 20 14 21 13 22 12 23 11 24 10 25 9 26 8 27 7 28 6 29 1 5 2 4 4 30 18 19 17 20 16 21 15 22 14 23 13 24 12 25 11 26 10 2...
result:
ok Correct
Test #29:
score: 0
Accepted
time: 1ms
memory: 3744kb
input:
90
output:
1 90 45 46 44 47 43 48 42 49 41 50 40 51 39 52 38 53 37 54 36 55 35 56 34 57 33 58 32 59 31 60 30 61 29 62 28 63 27 64 26 65 25 66 24 67 23 68 22 69 21 70 20 71 19 72 18 73 17 74 16 75 15 76 14 77 13 78 12 79 11 80 10 81 9 82 8 83 7 84 6 85 5 86 4 87 3 88 2 89 2 90 46 47 45 48 44 49 43 50 42 51 41 5...
result:
ok Correct
Test #30:
score: 0
Accepted
time: 1ms
memory: 3860kb
input:
91
output:
1 91 2 90 3 89 4 88 5 87 6 86 7 85 8 84 9 83 10 82 11 81 12 80 13 79 14 78 15 77 16 76 17 75 18 74 19 73 20 72 21 71 22 70 23 69 24 68 25 67 26 66 27 65 28 64 29 63 30 62 31 61 32 60 33 59 34 58 35 57 36 56 37 55 38 54 39 53 40 52 41 51 42 50 43 49 44 48 45 47 46 47 45 48 44 49 43 50 42 51 41 52 40 ...
result:
ok Correct
Test #31:
score: 0
Accepted
time: 1ms
memory: 3704kb
input:
92
output:
1 92 46 47 45 48 44 49 43 50 42 51 41 52 40 53 39 54 38 55 37 56 36 57 35 58 34 59 33 60 32 61 31 62 30 63 29 64 28 65 27 66 26 67 25 68 24 69 23 70 22 71 21 72 20 73 19 74 18 75 17 76 16 77 15 78 14 79 13 80 12 81 11 82 10 83 9 84 8 85 7 86 6 87 5 88 4 89 3 90 2 91 2 92 47 48 46 49 45 50 44 51 43 5...
result:
ok Correct
Test #32:
score: 0
Accepted
time: 1ms
memory: 3776kb
input:
93
output:
1 93 2 92 3 91 4 90 5 89 6 88 7 87 8 86 9 85 10 84 11 83 12 82 13 81 14 80 15 79 16 78 17 77 18 76 19 75 20 74 21 73 22 72 23 71 24 70 25 69 26 68 27 67 28 66 29 65 30 64 31 63 32 62 33 61 34 60 35 59 36 58 37 57 38 56 39 55 40 54 41 53 42 52 43 51 44 50 45 49 46 48 47 48 46 49 45 50 44 51 43 52 42 ...
result:
ok Correct
Test #33:
score: 0
Accepted
time: 1ms
memory: 3816kb
input:
94
output:
1 94 47 48 46 49 45 50 44 51 43 52 42 53 41 54 40 55 39 56 38 57 37 58 36 59 35 60 34 61 33 62 32 63 31 64 30 65 29 66 28 67 27 68 26 69 25 70 24 71 23 72 22 73 21 74 20 75 19 76 18 77 17 78 16 79 15 80 14 81 13 82 12 83 11 84 10 85 9 86 8 87 7 88 6 89 5 90 4 91 3 92 2 93 2 94 48 49 47 50 46 51 45 5...
result:
ok Correct
Test #34:
score: 0
Accepted
time: 1ms
memory: 3804kb
input:
95
output:
1 95 2 94 3 93 4 92 5 91 6 90 7 89 8 88 9 87 10 86 11 85 12 84 13 83 14 82 15 81 16 80 17 79 18 78 19 77 20 76 21 75 22 74 23 73 24 72 25 71 26 70 27 69 28 68 29 67 30 66 31 65 32 64 33 63 34 62 35 61 36 60 37 59 38 58 39 57 40 56 41 55 42 54 43 53 44 52 45 51 46 50 47 49 48 49 47 50 46 51 45 52 44 ...
result:
ok Correct
Test #35:
score: 0
Accepted
time: 0ms
memory: 3868kb
input:
96
output:
1 96 48 49 47 50 46 51 45 52 44 53 43 54 42 55 41 56 40 57 39 58 38 59 37 60 36 61 35 62 34 63 33 64 32 65 31 66 30 67 29 68 28 69 27 70 26 71 25 72 24 73 23 74 22 75 21 76 20 77 19 78 18 79 17 80 16 81 15 82 14 83 13 84 12 85 11 86 10 87 9 88 8 89 7 90 6 91 5 92 4 93 3 94 2 95 2 96 49 50 48 51 47 5...
result:
ok Correct
Test #36:
score: 0
Accepted
time: 1ms
memory: 3808kb
input:
97
output:
1 97 2 96 3 95 4 94 5 93 6 92 7 91 8 90 9 89 10 88 11 87 12 86 13 85 14 84 15 83 16 82 17 81 18 80 19 79 20 78 21 77 22 76 23 75 24 74 25 73 26 72 27 71 28 70 29 69 30 68 31 67 32 66 33 65 34 64 35 63 36 62 37 61 38 60 39 59 40 58 41 57 42 56 43 55 44 54 45 53 46 52 47 51 48 50 49 50 48 51 47 52 46 ...
result:
ok Correct
Test #37:
score: 0
Accepted
time: 0ms
memory: 3700kb
input:
98
output:
1 98 49 50 48 51 47 52 46 53 45 54 44 55 43 56 42 57 41 58 40 59 39 60 38 61 37 62 36 63 35 64 34 65 33 66 32 67 31 68 30 69 29 70 28 71 27 72 26 73 25 74 24 75 23 76 22 77 21 78 20 79 19 80 18 81 17 82 16 83 15 84 14 85 13 86 12 87 11 88 10 89 9 90 8 91 7 92 6 93 5 94 4 95 3 96 2 97 2 98 50 51 49 5...
result:
ok Correct
Test #38:
score: 0
Accepted
time: 1ms
memory: 3836kb
input:
99
output:
1 99 2 98 3 97 4 96 5 95 6 94 7 93 8 92 9 91 10 90 11 89 12 88 13 87 14 86 15 85 16 84 17 83 18 82 19 81 20 80 21 79 22 78 23 77 24 76 25 75 26 74 27 73 28 72 29 71 30 70 31 69 32 68 33 67 34 66 35 65 36 64 37 63 38 62 39 61 40 60 41 59 42 58 43 57 44 56 45 55 46 54 47 53 48 52 49 51 50 51 49 52 48 ...
result:
ok Correct
Test #39:
score: 0
Accepted
time: 1ms
memory: 3708kb
input:
100
output:
1 100 50 51 49 52 48 53 47 54 46 55 45 56 44 57 43 58 42 59 41 60 40 61 39 62 38 63 37 64 36 65 35 66 34 67 33 68 32 69 31 70 30 71 29 72 28 73 27 74 26 75 25 76 24 77 23 78 22 79 21 80 20 81 19 82 18 83 17 84 16 85 15 86 14 87 13 88 12 89 11 90 10 91 9 92 8 93 7 94 6 95 5 96 4 97 3 98 2 99 2 100 51...
result:
ok Correct
Test #40:
score: 0
Accepted
time: 9ms
memory: 3772kb
input:
490
output:
1 490 245 246 244 247 243 248 242 249 241 250 240 251 239 252 238 253 237 254 236 255 235 256 234 257 233 258 232 259 231 260 230 261 229 262 228 263 227 264 226 265 225 266 224 267 223 268 222 269 221 270 220 271 219 272 218 273 217 274 216 275 215 276 214 277 213 278 212 279 211 280 210 281 209 28...
result:
ok Correct
Test #41:
score: 0
Accepted
time: 9ms
memory: 3816kb
input:
491
output:
1 491 2 490 3 489 4 488 5 487 6 486 7 485 8 484 9 483 10 482 11 481 12 480 13 479 14 478 15 477 16 476 17 475 18 474 19 473 20 472 21 471 22 470 23 469 24 468 25 467 26 466 27 465 28 464 29 463 30 462 31 461 32 460 33 459 34 458 35 457 36 456 37 455 38 454 39 453 40 452 41 451 42 450 43 449 44 448 4...
result:
ok Correct
Test #42:
score: 0
Accepted
time: 9ms
memory: 3784kb
input:
492
output:
1 492 246 247 245 248 244 249 243 250 242 251 241 252 240 253 239 254 238 255 237 256 236 257 235 258 234 259 233 260 232 261 231 262 230 263 229 264 228 265 227 266 226 267 225 268 224 269 223 270 222 271 221 272 220 273 219 274 218 275 217 276 216 277 215 278 214 279 213 280 212 281 211 282 210 28...
result:
ok Correct
Test #43:
score: 0
Accepted
time: 9ms
memory: 3660kb
input:
493
output:
1 493 2 492 3 491 4 490 5 489 6 488 7 487 8 486 9 485 10 484 11 483 12 482 13 481 14 480 15 479 16 478 17 477 18 476 19 475 20 474 21 473 22 472 23 471 24 470 25 469 26 468 27 467 28 466 29 465 30 464 31 463 32 462 33 461 34 460 35 459 36 458 37 457 38 456 39 455 40 454 41 453 42 452 43 451 44 450 4...
result:
ok Correct
Test #44:
score: 0
Accepted
time: 9ms
memory: 3744kb
input:
494
output:
1 494 247 248 246 249 245 250 244 251 243 252 242 253 241 254 240 255 239 256 238 257 237 258 236 259 235 260 234 261 233 262 232 263 231 264 230 265 229 266 228 267 227 268 226 269 225 270 224 271 223 272 222 273 221 274 220 275 219 276 218 277 217 278 216 279 215 280 214 281 213 282 212 283 211 28...
result:
ok Correct
Test #45:
score: 0
Accepted
time: 6ms
memory: 3836kb
input:
495
output:
1 495 2 494 3 493 4 492 5 491 6 490 7 489 8 488 9 487 10 486 11 485 12 484 13 483 14 482 15 481 16 480 17 479 18 478 19 477 20 476 21 475 22 474 23 473 24 472 25 471 26 470 27 469 28 468 29 467 30 466 31 465 32 464 33 463 34 462 35 461 36 460 37 459 38 458 39 457 40 456 41 455 42 454 43 453 44 452 4...
result:
ok Correct
Test #46:
score: 0
Accepted
time: 9ms
memory: 3720kb
input:
496
output:
1 496 248 249 247 250 246 251 245 252 244 253 243 254 242 255 241 256 240 257 239 258 238 259 237 260 236 261 235 262 234 263 233 264 232 265 231 266 230 267 229 268 228 269 227 270 226 271 225 272 224 273 223 274 222 275 221 276 220 277 219 278 218 279 217 280 216 281 215 282 214 283 213 284 212 28...
result:
ok Correct
Test #47:
score: 0
Accepted
time: 9ms
memory: 3868kb
input:
497
output:
1 497 2 496 3 495 4 494 5 493 6 492 7 491 8 490 9 489 10 488 11 487 12 486 13 485 14 484 15 483 16 482 17 481 18 480 19 479 20 478 21 477 22 476 23 475 24 474 25 473 26 472 27 471 28 470 29 469 30 468 31 467 32 466 33 465 34 464 35 463 36 462 37 461 38 460 39 459 40 458 41 457 42 456 43 455 44 454 4...
result:
ok Correct
Test #48:
score: 0
Accepted
time: 9ms
memory: 3660kb
input:
498
output:
1 498 249 250 248 251 247 252 246 253 245 254 244 255 243 256 242 257 241 258 240 259 239 260 238 261 237 262 236 263 235 264 234 265 233 266 232 267 231 268 230 269 229 270 228 271 227 272 226 273 225 274 224 275 223 276 222 277 221 278 220 279 219 280 218 281 217 282 216 283 215 284 214 285 213 28...
result:
ok Correct
Test #49:
score: 0
Accepted
time: 9ms
memory: 3744kb
input:
499
output:
1 499 2 498 3 497 4 496 5 495 6 494 7 493 8 492 9 491 10 490 11 489 12 488 13 487 14 486 15 485 16 484 17 483 18 482 19 481 20 480 21 479 22 478 23 477 24 476 25 475 26 474 27 473 28 472 29 471 30 470 31 469 32 468 33 467 34 466 35 465 36 464 37 463 38 462 39 461 40 460 41 459 42 458 43 457 44 456 4...
result:
ok Correct
Test #50:
score: 0
Accepted
time: 6ms
memory: 3744kb
input:
500
output:
1 500 250 251 249 252 248 253 247 254 246 255 245 256 244 257 243 258 242 259 241 260 240 261 239 262 238 263 237 264 236 265 235 266 234 267 233 268 232 269 231 270 230 271 229 272 228 273 227 274 226 275 225 276 224 277 223 278 222 279 221 280 220 281 219 282 218 283 217 284 216 285 215 286 214 28...
result:
ok Correct