QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#49278 | #2540. Build The Grid | Bovmelo | WA | 1ms | 3460kb | C++20 | 456b | 2022-09-19 21:34:21 | 2022-09-19 21:34:23 |
Judging History
answer
// Nothing is Given, Everything is Earned.
#include<bits/stdc++.h>
using namespace std;
int main()
{
int n; cin>>n;
vector<vector<int>> a;
for(int i=0;i<n;i+=2)
{
a.push_back(vector(i,0));
a.push_back(vector(i,1));
for(auto &i:a)
{
i.push_back(0);
i.push_back(1);
}
}
for(auto i:a)
{
for(auto j:i) cout<<(j?'B':'W');
cout<<"\n";
}
return 0;
}
詳細信息
Test #1:
score: 0
Wrong Answer
time: 1ms
memory: 3460kb
input:
3
output:
WBWB WBWB WWWB BBWB
result:
wrong answer invalid output