QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#114744 | #6189. Full Clue Problem | std_abs# | WA | 1ms | 3512kb | C++20 | 1.1kb | 2023-06-23 13:08:29 | 2023-06-23 13:08:31 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define pb push_back
#define pii pair<int, int>
#define all(a) a.begin(), a.end()
#define sz(a) ((int)a.size())
const int mod = 1e9 + 7, N = 53, M = 200000;
int main() {
ios::sync_with_stdio(false), cin.tie(0);
int n;
cin >> n;
vector <vector <int>> a(n, vector <int> (n));
vector <vector <int>> b(n, vector <int> (n));
vector <vector <int>> c(n, vector <int> (n));
a[0][0] = 2, a[0][1] = 3;
a[1][0] = 3, a[1][1] = 2;
b[0][0] = 1, b[0][1] = 1, b[1][0] = 1;
c[1][1] = 1, c[0][1] = 1, c[1][0] = 1;
for (int i = 0; i < n; ++i) {
for (int j = 0; j < n; ++j) {
cout << a[i][j] << " \n"[j == n - 1];
}
}
cout << '\n';
for (int i = 0; i < n; ++i) {
for (int j = 0; j < n; ++j) {
cout << b[i][j] << " \n"[j == n - 1];
}
}
cout << '\n';
for (int i = 0; i < n; ++i) {
for (int j = 0; j < n; ++j) {
cout << c[i][j] << " \n"[j == n - 1];
}
}
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 1ms
memory: 3512kb
input:
5
output:
2 3 0 0 0 3 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
result:
wrong answer (0, 2) doesn't satisfy with clues