QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#674506#9415. MatrixSpinoza#WA 0ms3644kbC++20413b2024-10-25 16:10:062024-10-25 16:10:07

Judging History

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

  • [2024-10-25 16:10:07]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3644kb
  • [2024-10-25 16:10:06]
  • 提交

answer

#include<bits/stdc++.h>
const int P = 998244353;
typedef long long ll;
using namespace std;
void solve() {
	int n;
	cin >> n;
	if (n == 2) {
		cout << "Yes\n1 2\n3 4";
		return;
	}
	if (n == 3) {
		cout << "Yes\n3 2 6\n4 3 3\n3 1 5";
		return;
	}
	cout << "No";
	return;
}
int main() {
	ios::sync_with_stdio(false);
	cin.tie(0);
	int t = 1;
//	cin >> t;
	while (t--) solve();
	return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2

output:

Yes
1 2
3 4

result:

ok Correct. (1 test case)

Test #2:

score: 0
Accepted
time: 0ms
memory: 3636kb

input:

3

output:

Yes
3 2 6
4 3 3
3 1 5

result:

ok Correct. (1 test case)

Test #3:

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

input:

4

output:

No

result:

wrong answer Jury has answer while participant hasn't. (test case 1)