QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#674506 | #9415. Matrix | Spinoza# | WA | 0ms | 3644kb | C++20 | 413b | 2024-10-25 16:10:06 | 2024-10-25 16:10:07 |
Judging History
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)