結果
| 問題 |
No.82 市松模様
|
| コンテスト | |
| ユーザー |
cureskol
|
| 提出日時 | 2020-03-21 15:40:11 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 225 bytes |
| コンパイル時間 | 1,621 ms |
| コンパイル使用メモリ | 165,912 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-12-23 00:04:28 |
| 合計ジャッジ時間 | 2,297 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 7 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
signed main(){
int h,w;char c;cin>>h>>w>>c;
for(int i=0;i<h;i++){
for(int j=0;j<w;j++){
cout<<((i+j)&1?'B'+'W'-c:c);
}cout<<endl;
}
}
cureskol