結果
問題 |
No.166 マス埋めゲーム
|
ユーザー |
|
提出日時 | 2016-08-14 19:12:37 |
言語 | F# (F# 4.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 158 bytes |
コンパイル時間 | 8,687 ms |
コンパイル使用メモリ | 190,352 KB |
実行使用メモリ | 37,216 KB |
最終ジャッジ日時 | 2024-11-07 16:48:34 |
合計ジャッジ時間 | 12,528 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 10 WA * 5 RE * 5 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (258 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 arr = stdin.ReadLine().Split(' ') |> Array.map int let H,W,N,K = arr.[0],arr.[1],arr.[2],arr.[3] let m = H*W printfn <| if m%N = K%m then "YES" else "NO"