QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#120218 | #6641. XOR Dice | CmsMartin | AC ✓ | 2ms | 3560kb | C++14 | 348b | 2023-07-06 15:06:12 | 2023-07-06 15:06:14 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
int n, d;
int main() {
ios::sync_with_stdio(false); cin.tie(0); cout.tie(0);
cin >> n >> d;
for (int i = 1; i <= n; i++) {
int x = 1 << 6, y = 1 << 12;
cout << 0 << " " << 0 + d * x << " " << 0 + d * y << " " << d << " " << d + d * x << " " << d + d * y << endl;
}
return 0;
}
详细
Test #1:
score: 100
Accepted
time: 1ms
memory: 3420kb
input:
3 2
output:
0 128 8192 2 130 8194 0 128 8192 2 130 8194 0 128 8192 2 130 8194
result:
ok Correct answer
Test #2:
score: 0
Accepted
time: 0ms
memory: 3560kb
input:
100 60
output:
0 3840 245760 60 3900 245820 0 3840 245760 60 3900 245820 0 3840 245760 60 3900 245820 0 3840 245760 60 3900 245820 0 3840 245760 60 3900 245820 0 3840 245760 60 3900 245820 0 3840 245760 60 3900 245820 0 3840 245760 60 3900 245820 0 3840 245760 60 3900 245820 0 3840 245760 60 3900 245820 0 3840 245...
result:
ok Correct answer
Test #3:
score: 0
Accepted
time: 2ms
memory: 3560kb
input:
99 2
output:
0 128 8192 2 130 8194 0 128 8192 2 130 8194 0 128 8192 2 130 8194 0 128 8192 2 130 8194 0 128 8192 2 130 8194 0 128 8192 2 130 8194 0 128 8192 2 130 8194 0 128 8192 2 130 8194 0 128 8192 2 130 8194 0 128 8192 2 130 8194 0 128 8192 2 130 8194 0 128 8192 2 130 8194 0 128 8192 2 130 8194 0 128 8192 2 1...
result:
ok Correct answer
Test #4:
score: 0
Accepted
time: 2ms
memory: 3376kb
input:
99 59
output:
0 3776 241664 59 3835 241723 0 3776 241664 59 3835 241723 0 3776 241664 59 3835 241723 0 3776 241664 59 3835 241723 0 3776 241664 59 3835 241723 0 3776 241664 59 3835 241723 0 3776 241664 59 3835 241723 0 3776 241664 59 3835 241723 0 3776 241664 59 3835 241723 0 3776 241664 59 3835 241723 0 3776 241...
result:
ok Correct answer
Test #5:
score: 0
Accepted
time: 2ms
memory: 3556kb
input:
93 17
output:
0 1088 69632 17 1105 69649 0 1088 69632 17 1105 69649 0 1088 69632 17 1105 69649 0 1088 69632 17 1105 69649 0 1088 69632 17 1105 69649 0 1088 69632 17 1105 69649 0 1088 69632 17 1105 69649 0 1088 69632 17 1105 69649 0 1088 69632 17 1105 69649 0 1088 69632 17 1105 69649 0 1088 69632 17 1105 69649 0 1...
result:
ok Correct answer
Test #6:
score: 0
Accepted
time: 2ms
memory: 3316kb
input:
100 49
output:
0 3136 200704 49 3185 200753 0 3136 200704 49 3185 200753 0 3136 200704 49 3185 200753 0 3136 200704 49 3185 200753 0 3136 200704 49 3185 200753 0 3136 200704 49 3185 200753 0 3136 200704 49 3185 200753 0 3136 200704 49 3185 200753 0 3136 200704 49 3185 200753 0 3136 200704 49 3185 200753 0 3136 200...
result:
ok Correct answer
Test #7:
score: 0
Accepted
time: 2ms
memory: 3512kb
input:
100 5
output:
0 320 20480 5 325 20485 0 320 20480 5 325 20485 0 320 20480 5 325 20485 0 320 20480 5 325 20485 0 320 20480 5 325 20485 0 320 20480 5 325 20485 0 320 20480 5 325 20485 0 320 20480 5 325 20485 0 320 20480 5 325 20485 0 320 20480 5 325 20485 0 320 20480 5 325 20485 0 320 20480 5 325 20485 0 320 20480 ...
result:
ok Correct answer
Test #8:
score: 0
Accepted
time: 0ms
memory: 3400kb
input:
1 57
output:
0 3648 233472 57 3705 233529
result:
ok Correct answer
Test #9:
score: 0
Accepted
time: 0ms
memory: 3392kb
input:
1 22
output:
0 1408 90112 22 1430 90134
result:
ok Correct answer
Test #10:
score: 0
Accepted
time: 1ms
memory: 3396kb
input:
1 60
output:
0 3840 245760 60 3900 245820
result:
ok Correct answer
Test #11:
score: 0
Accepted
time: 1ms
memory: 3404kb
input:
1 2
output:
0 128 8192 2 130 8194
result:
ok Correct answer
Test #12:
score: 0
Accepted
time: 1ms
memory: 3520kb
input:
10 24
output:
0 1536 98304 24 1560 98328 0 1536 98304 24 1560 98328 0 1536 98304 24 1560 98328 0 1536 98304 24 1560 98328 0 1536 98304 24 1560 98328 0 1536 98304 24 1560 98328 0 1536 98304 24 1560 98328 0 1536 98304 24 1560 98328 0 1536 98304 24 1560 98328 0 1536 98304 24 1560 98328
result:
ok Correct answer