QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#508179#6189. Full Clue ProblemchimeraWA 1ms3680kbC++14499b2024-08-07 08:12:152024-08-07 08:12:16

Judging History

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

  • [2024-08-07 08:12:16]
  • 评测
  • 测评结果:WA
  • 用时:1ms
  • 内存:3680kb
  • [2024-08-07 08:12:15]
  • 提交

answer

#include <bits/stdc++.h>
using namespace std;
#define ll long long


int A[3][2][2] = {{{3,2},{2,3}}, {{1,1},{0,1}}, {{1,0},{1,1}}};

int main() {
    int N; cin >> N;
    for(ll k = 0; k < 3; k++) {
        for(ll i = 0; i < N; i++) {
            for(ll j = 0; j < N; j++) {
                if(i < 2 && j < 2) {
                    cout << A[k][i][j];
                } else cout << 0;
                cout << " ";
            }
            cout << "\n";
        }
    }
    
}

詳細信息

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 3680kb

input:

5

output:

3 2 0 0 0 
2 3 0 0 0 
0 0 0 0 0 
0 0 0 0 0 
0 0 0 0 0 
1 1 0 0 0 
0 1 0 0 0 
0 0 0 0 0 
0 0 0 0 0 
0 0 0 0 0 
1 0 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