QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#372517 | #8041. Life is Hard and Undecidable, but... | ucup-team1001# | AC ✓ | 1ms | 3708kb | C++23 | 473b | 2024-03-31 14:31:15 | 2024-03-31 14:31:15 |
Judging History
answer
//
// Created by DELLPC on 24-3-31.
//
#include <bits/stdc++.h>
using namespace std;
void solve() {
int x = 150, y = 150;
int n;
cin >> n;
cout << 2 * n - 1 << endl;
for (int i = 1; i < n; i++) {
cout << x - i << " " << x - i << endl;
cout << x + i << " " << x + i << endl;
}
cout << x << " " << x << endl;
}
int main() {
int t = 1;
// cin >> t;
while (t--) {
solve();
}
}
详细
Test #1:
score: 100
Accepted
time: 0ms
memory: 3704kb
input:
1
output:
1 150 150
result:
ok n=1
Test #2:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
2
output:
3 149 149 151 151 150 150
result:
ok n=3
Test #3:
score: 0
Accepted
time: 1ms
memory: 3600kb
input:
3
output:
5 149 149 151 151 148 148 152 152 150 150
result:
ok n=5
Test #4:
score: 0
Accepted
time: 0ms
memory: 3600kb
input:
4
output:
7 149 149 151 151 148 148 152 152 147 147 153 153 150 150
result:
ok n=7
Test #5:
score: 0
Accepted
time: 1ms
memory: 3708kb
input:
5
output:
9 149 149 151 151 148 148 152 152 147 147 153 153 146 146 154 154 150 150
result:
ok n=9
Test #6:
score: 0
Accepted
time: 0ms
memory: 3536kb
input:
6
output:
11 149 149 151 151 148 148 152 152 147 147 153 153 146 146 154 154 145 145 155 155 150 150
result:
ok n=11
Test #7:
score: 0
Accepted
time: 0ms
memory: 3632kb
input:
7
output:
13 149 149 151 151 148 148 152 152 147 147 153 153 146 146 154 154 145 145 155 155 144 144 156 156 150 150
result:
ok n=13
Test #8:
score: 0
Accepted
time: 0ms
memory: 3664kb
input:
8
output:
15 149 149 151 151 148 148 152 152 147 147 153 153 146 146 154 154 145 145 155 155 144 144 156 156 143 143 157 157 150 150
result:
ok n=15
Test #9:
score: 0
Accepted
time: 1ms
memory: 3552kb
input:
9
output:
17 149 149 151 151 148 148 152 152 147 147 153 153 146 146 154 154 145 145 155 155 144 144 156 156 143 143 157 157 142 142 158 158 150 150
result:
ok n=17
Test #10:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
10
output:
19 149 149 151 151 148 148 152 152 147 147 153 153 146 146 154 154 145 145 155 155 144 144 156 156 143 143 157 157 142 142 158 158 141 141 159 159 150 150
result:
ok n=19
Test #11:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
13
output:
25 149 149 151 151 148 148 152 152 147 147 153 153 146 146 154 154 145 145 155 155 144 144 156 156 143 143 157 157 142 142 158 158 141 141 159 159 140 140 160 160 139 139 161 161 138 138 162 162 150 150
result:
ok n=25
Test #12:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
17
output:
33 149 149 151 151 148 148 152 152 147 147 153 153 146 146 154 154 145 145 155 155 144 144 156 156 143 143 157 157 142 142 158 158 141 141 159 159 140 140 160 160 139 139 161 161 138 138 162 162 137 137 163 163 136 136 164 164 135 135 165 165 134 134 166 166 150 150
result:
ok n=33
Test #13:
score: 0
Accepted
time: 1ms
memory: 3664kb
input:
23
output:
45 149 149 151 151 148 148 152 152 147 147 153 153 146 146 154 154 145 145 155 155 144 144 156 156 143 143 157 157 142 142 158 158 141 141 159 159 140 140 160 160 139 139 161 161 138 138 162 162 137 137 163 163 136 136 164 164 135 135 165 165 134 134 166 166 133 133 167 167 132 132 168 168 131 131 1...
result:
ok n=45
Test #14:
score: 0
Accepted
time: 1ms
memory: 3552kb
input:
29
output:
57 149 149 151 151 148 148 152 152 147 147 153 153 146 146 154 154 145 145 155 155 144 144 156 156 143 143 157 157 142 142 158 158 141 141 159 159 140 140 160 160 139 139 161 161 138 138 162 162 137 137 163 163 136 136 164 164 135 135 165 165 134 134 166 166 133 133 167 167 132 132 168 168 131 131 1...
result:
ok n=57
Test #15:
score: 0
Accepted
time: 1ms
memory: 3596kb
input:
31
output:
61 149 149 151 151 148 148 152 152 147 147 153 153 146 146 154 154 145 145 155 155 144 144 156 156 143 143 157 157 142 142 158 158 141 141 159 159 140 140 160 160 139 139 161 161 138 138 162 162 137 137 163 163 136 136 164 164 135 135 165 165 134 134 166 166 133 133 167 167 132 132 168 168 131 131 1...
result:
ok n=61
Test #16:
score: 0
Accepted
time: 0ms
memory: 3532kb
input:
37
output:
73 149 149 151 151 148 148 152 152 147 147 153 153 146 146 154 154 145 145 155 155 144 144 156 156 143 143 157 157 142 142 158 158 141 141 159 159 140 140 160 160 139 139 161 161 138 138 162 162 137 137 163 163 136 136 164 164 135 135 165 165 134 134 166 166 133 133 167 167 132 132 168 168 131 131 1...
result:
ok n=73
Test #17:
score: 0
Accepted
time: 0ms
memory: 3592kb
input:
41
output:
81 149 149 151 151 148 148 152 152 147 147 153 153 146 146 154 154 145 145 155 155 144 144 156 156 143 143 157 157 142 142 158 158 141 141 159 159 140 140 160 160 139 139 161 161 138 138 162 162 137 137 163 163 136 136 164 164 135 135 165 165 134 134 166 166 133 133 167 167 132 132 168 168 131 131 1...
result:
ok n=81
Test #18:
score: 0
Accepted
time: 1ms
memory: 3608kb
input:
43
output:
85 149 149 151 151 148 148 152 152 147 147 153 153 146 146 154 154 145 145 155 155 144 144 156 156 143 143 157 157 142 142 158 158 141 141 159 159 140 140 160 160 139 139 161 161 138 138 162 162 137 137 163 163 136 136 164 164 135 135 165 165 134 134 166 166 133 133 167 167 132 132 168 168 131 131 1...
result:
ok n=85
Test #19:
score: 0
Accepted
time: 1ms
memory: 3632kb
input:
100
output:
199 149 149 151 151 148 148 152 152 147 147 153 153 146 146 154 154 145 145 155 155 144 144 156 156 143 143 157 157 142 142 158 158 141 141 159 159 140 140 160 160 139 139 161 161 138 138 162 162 137 137 163 163 136 136 164 164 135 135 165 165 134 134 166 166 133 133 167 167 132 132 168 168 131 131 ...
result:
ok n=199
Test #20:
score: 0
Accepted
time: 1ms
memory: 3604kb
input:
85
output:
169 149 149 151 151 148 148 152 152 147 147 153 153 146 146 154 154 145 145 155 155 144 144 156 156 143 143 157 157 142 142 158 158 141 141 159 159 140 140 160 160 139 139 161 161 138 138 162 162 137 137 163 163 136 136 164 164 135 135 165 165 134 134 166 166 133 133 167 167 132 132 168 168 131 131 ...
result:
ok n=169
Test #21:
score: 0
Accepted
time: 1ms
memory: 3588kb
input:
97
output:
193 149 149 151 151 148 148 152 152 147 147 153 153 146 146 154 154 145 145 155 155 144 144 156 156 143 143 157 157 142 142 158 158 141 141 159 159 140 140 160 160 139 139 161 161 138 138 162 162 137 137 163 163 136 136 164 164 135 135 165 165 134 134 166 166 133 133 167 167 132 132 168 168 131 131 ...
result:
ok n=193
Test #22:
score: 0
Accepted
time: 1ms
memory: 3532kb
input:
98
output:
195 149 149 151 151 148 148 152 152 147 147 153 153 146 146 154 154 145 145 155 155 144 144 156 156 143 143 157 157 142 142 158 158 141 141 159 159 140 140 160 160 139 139 161 161 138 138 162 162 137 137 163 163 136 136 164 164 135 135 165 165 134 134 166 166 133 133 167 167 132 132 168 168 131 131 ...
result:
ok n=195
Test #23:
score: 0
Accepted
time: 1ms
memory: 3656kb
input:
99
output:
197 149 149 151 151 148 148 152 152 147 147 153 153 146 146 154 154 145 145 155 155 144 144 156 156 143 143 157 157 142 142 158 158 141 141 159 159 140 140 160 160 139 139 161 161 138 138 162 162 137 137 163 163 136 136 164 164 135 135 165 165 134 134 166 166 133 133 167 167 132 132 168 168 131 131 ...
result:
ok n=197
Extra Test:
score: 0
Extra Test Passed