QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#369501 | #6743. water235 | xjx | WA | 1ms | 3548kb | C++11 | 249b | 2024-03-28 12:45:45 | 2024-03-28 12:45:47 |
Judging History
answer
#include<iostream>
using namespace std;
int main()
{
int n, m;
cin >> n >> m;
for (int i = 1;i <= n;i++, cout << endl)
for (int j = 1;j <= m;j++)
cout << (i & 1&&j==1 || i==1&&j & 1 || i == n && j == 1 || j == m && i == 1) << " ";
}
詳細信息
Test #1:
score: 0
Wrong Answer
time: 1ms
memory: 3548kb
input:
2 1
output:
1 1
result:
wrong output format Unexpected end of file - int32 expected