QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#120124#6641. XOR DiceCmsMartinRE 0ms0kbC++14418b2023-07-06 14:05:452023-07-06 14:05:47

Judging History

你现在查看的是最新测评结果

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-07-06 14:05:47]
  • 评测
  • 测评结果:RE
  • 用时:0ms
  • 内存:0kb
  • [2023-07-06 14:05:45]
  • 提交

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

output:


result: