結果
問題 | No.82 市松模様 |
ユーザー |
|
提出日時 | 2020-06-14 19:47:51 |
言語 | OCaml (5.2.1) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 221 bytes |
コンパイル時間 | 290 ms |
コンパイル使用メモリ | 21,316 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-09 01:12:09 |
合計ジャッジ時間 | 824 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 7 |
ソースコード
Scanf.scanf "%d %d %c" (fun w h c ->let d = if c = 'B' then "BW" else "WB" infor i = 1 to h dofor j = 1 to w doprint_char d.[(i + j) mod 2]done;print_newline ()done)