QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#114744#6189. Full Clue Problemstd_abs#WA 1ms3512kbC++201.1kb2023-06-23 13:08:292023-06-23 13:08:31

Judging History

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

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-06-23 13:08:31]
  • 评测
  • 测评结果:WA
  • 用时:1ms
  • 内存:3512kb
  • [2023-06-23 13:08:29]
  • 提交

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];
        }
    }
}

详细

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