QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#120124 | #6641. XOR Dice | CmsMartin | RE | 0ms | 0kb | C++14 | 418b | 2023-07-06 14:05:45 | 2023-07-06 14:05:47 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
int n, d;
int main() {
freopen("dice.in", "r", stdin);
freopen("dice.out", "w", stdout);
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;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Dangerous Syscalls
input:
3 2