QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#462944 | #6641. XOR Dice | grass8cow# | AC ✓ | 0ms | 3940kb | C++17 | 232b | 2024-07-04 10:11:08 | 2024-07-04 10:11:08 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
int n,d;
int main(){
scanf("%d%d",&n,&d);
while(n--){
printf("%d %d %d %d %d %d\n",d,d*64,d*(64+1),d*(64*64+64+1),d*(64*64+64),d*(64*64+1));
}
return 0;
}
詳細信息
Test #1:
score: 100
Accepted
time: 0ms
memory: 3788kb
input:
3 2
output:
2 128 130 8322 8320 8194 2 128 130 8322 8320 8194 2 128 130 8322 8320 8194
result:
ok Correct answer
Test #2:
score: 0
Accepted
time: 0ms
memory: 3868kb
input:
100 60
output:
60 3840 3900 249660 249600 245820 60 3840 3900 249660 249600 245820 60 3840 3900 249660 249600 245820 60 3840 3900 249660 249600 245820 60 3840 3900 249660 249600 245820 60 3840 3900 249660 249600 245820 60 3840 3900 249660 249600 245820 60 3840 3900 249660 249600 245820 60 3840 3900 249660 249600 2...
result:
ok Correct answer
Test #3:
score: 0
Accepted
time: 0ms
memory: 3788kb
input:
99 2
output:
2 128 130 8322 8320 8194 2 128 130 8322 8320 8194 2 128 130 8322 8320 8194 2 128 130 8322 8320 8194 2 128 130 8322 8320 8194 2 128 130 8322 8320 8194 2 128 130 8322 8320 8194 2 128 130 8322 8320 8194 2 128 130 8322 8320 8194 2 128 130 8322 8320 8194 2 128 130 8322 8320 8194 2 128 130 8322 8320 8194 ...
result:
ok Correct answer
Test #4:
score: 0
Accepted
time: 0ms
memory: 3824kb
input:
99 59
output:
59 3776 3835 245499 245440 241723 59 3776 3835 245499 245440 241723 59 3776 3835 245499 245440 241723 59 3776 3835 245499 245440 241723 59 3776 3835 245499 245440 241723 59 3776 3835 245499 245440 241723 59 3776 3835 245499 245440 241723 59 3776 3835 245499 245440 241723 59 3776 3835 245499 245440 2...
result:
ok Correct answer
Test #5:
score: 0
Accepted
time: 0ms
memory: 3860kb
input:
93 17
output:
17 1088 1105 70737 70720 69649 17 1088 1105 70737 70720 69649 17 1088 1105 70737 70720 69649 17 1088 1105 70737 70720 69649 17 1088 1105 70737 70720 69649 17 1088 1105 70737 70720 69649 17 1088 1105 70737 70720 69649 17 1088 1105 70737 70720 69649 17 1088 1105 70737 70720 69649 17 1088 1105 70737 70...
result:
ok Correct answer
Test #6:
score: 0
Accepted
time: 0ms
memory: 3844kb
input:
100 49
output:
49 3136 3185 203889 203840 200753 49 3136 3185 203889 203840 200753 49 3136 3185 203889 203840 200753 49 3136 3185 203889 203840 200753 49 3136 3185 203889 203840 200753 49 3136 3185 203889 203840 200753 49 3136 3185 203889 203840 200753 49 3136 3185 203889 203840 200753 49 3136 3185 203889 203840 2...
result:
ok Correct answer
Test #7:
score: 0
Accepted
time: 0ms
memory: 3884kb
input:
100 5
output:
5 320 325 20805 20800 20485 5 320 325 20805 20800 20485 5 320 325 20805 20800 20485 5 320 325 20805 20800 20485 5 320 325 20805 20800 20485 5 320 325 20805 20800 20485 5 320 325 20805 20800 20485 5 320 325 20805 20800 20485 5 320 325 20805 20800 20485 5 320 325 20805 20800 20485 5 320 325 20805 2080...
result:
ok Correct answer
Test #8:
score: 0
Accepted
time: 0ms
memory: 3796kb
input:
1 57
output:
57 3648 3705 237177 237120 233529
result:
ok Correct answer
Test #9:
score: 0
Accepted
time: 0ms
memory: 3868kb
input:
1 22
output:
22 1408 1430 91542 91520 90134
result:
ok Correct answer
Test #10:
score: 0
Accepted
time: 0ms
memory: 3784kb
input:
1 60
output:
60 3840 3900 249660 249600 245820
result:
ok Correct answer
Test #11:
score: 0
Accepted
time: 0ms
memory: 3812kb
input:
1 2
output:
2 128 130 8322 8320 8194
result:
ok Correct answer
Test #12:
score: 0
Accepted
time: 0ms
memory: 3940kb
input:
10 24
output:
24 1536 1560 99864 99840 98328 24 1536 1560 99864 99840 98328 24 1536 1560 99864 99840 98328 24 1536 1560 99864 99840 98328 24 1536 1560 99864 99840 98328 24 1536 1560 99864 99840 98328 24 1536 1560 99864 99840 98328 24 1536 1560 99864 99840 98328 24 1536 1560 99864 99840 98328 24 1536 1560 99864 99...
result:
ok Correct answer