結果
問題 | No.82 市松模様 |
ユーザー | regerege |
提出日時 | 2016-03-28 22:51:06 |
言語 | F# (F# 4.0) |
結果 |
AC
|
実行時間 | 83 ms / 5,000 ms |
コード長 | 279 bytes |
コンパイル時間 | 10,508 ms |
コンパイル使用メモリ | 185,260 KB |
実行使用メモリ | 30,972 KB |
最終ジャッジ日時 | 2024-04-10 05:17:36 |
合計ジャッジ時間 | 12,188 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 81 ms
30,848 KB |
testcase_01 | AC | 81 ms
30,592 KB |
testcase_02 | AC | 81 ms
30,720 KB |
testcase_03 | AC | 82 ms
30,588 KB |
testcase_04 | AC | 83 ms
30,720 KB |
testcase_05 | AC | 83 ms
30,848 KB |
testcase_06 | AC | 82 ms
30,716 KB |
testcase_07 | AC | 80 ms
30,840 KB |
testcase_08 | AC | 81 ms
30,848 KB |
testcase_09 | AC | 81 ms
30,972 KB |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (625 ms)。 MSBuild のバージョン 17.9.6+a4ecab324 (.NET) main -> /home/judge/data/code/bin/Release/net8.0/main.dll main -> /home/judge/data/code/bin/Release/net8.0/publish/
ソースコード
let rec s a = seq { yield a; yield! s (21^^^a) } let s2 n a = s a |> Seq.take n let arr = stdin.ReadLine().Split(' ') let W = int arr.[0] let H = int arr.[1] let C = int arr.[2].[0] s2 H C |> Seq.map ((s2 W) >> Seq.map (char>>string) >> Seq.reduce(+)) |> Seq.iter (printfn "%s")