QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#735329#8041. Life is Hard and Undecidable, but...medicosWA 0ms3664kbC++17264b2024-11-11 19:15:462024-11-11 19:15:47

Judging History

This is the latest submission verdict.

  • [2024-11-11 19:15:47]
  • Judged
  • Verdict: WA
  • Time: 0ms
  • Memory: 3664kb
  • [2024-11-11 19:15:46]
  • Submitted

answer

#include <bits/stdc++.h>

using namespace std;

signed main() {
	ios::sync_with_stdio(0), cin.tie(0);
	
	int n;
	cin >> n;
	
	cout << 2 * n - 1 << "\n";
	for (int i = 1; i < 1 + 2 * n - 1; ++i) {
		cout << i << " " << 1 << "\n";
	}
	
	return 0;
}  

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 3648kb

input:

1

output:

1
1 1

result:

ok n=1

Test #2:

score: -100
Wrong Answer
time: 0ms
memory: 3664kb

input:

2

output:

3
1 1
2 1
3 1

result:

wrong answer Alive at generation 2