QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#630328 | #9415. Matrix | futarian | WA | 0ms | 3824kb | C++14 | 404b | 2024-10-11 17:56:35 | 2024-10-11 17:56:40 |
Judging History
answer
#include "bits/stdc++.h"
using namespace std;
int n;
signed main()
{
scanf("%d",&n);
for(int i = 1 ; i <= n ; i ++) printf("%d ",i);puts("");
int w = n + 1;
for(int j = 2 ; j <= n - 1 ; j ++)
{
printf("%d ",w ++);
for(int i = 2 ; i <= n ; i ++) printf("%d ",1);
puts("");
}
for(int i = 1 ; i <= n - 2 ; i ++) printf("%d ",1);
printf("%d %d\n",2 * n - 1,2 * n);
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 3824kb
input:
2
output:
1 2 3 4
result:
wrong answer Line [name=yesno] equals to "1 2 ", doesn't correspond to pattern "Yes|No" (test case 1)