QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#577740#8934. Challenge NPCskip2004WA 13ms3704kbC++20499b2024-09-20 14:28:212024-09-20 14:28:21

Judging History

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

  • [2024-09-20 14:28:21]
  • 评测
  • 测评结果:WA
  • 用时:13ms
  • 内存:3704kb
  • [2024-09-20 14:28:21]
  • 提交

answer

#include<bits/stdc++.h>
namespace rgs = std::ranges;
using std::cin, std::cout;
using ll = long long;
using u64 = unsigned long long;
using db = double;
int main() {
	std::ios::sync_with_stdio(false), cin.tie(0);
	int n = 1024, m = (n / 2) * (n / 2), c = 2;
	cout << n << ' ' << m << ' ' << c << '\n';
	for(int i = 1;i <= n;++i) {
		cout << i % 2 + 1 << " \n"[i == n];
	}
	for(int i = 1;i <= n;i += 2) {
		for(int j = 2;j <= n;j += 2) {
			cout << i << ' ' << j << '\n';
		}
	}
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 13ms
memory: 3704kb

input:

1

output:

1024 262144 2
2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 ...

result:

wrong answer The graph is not correct