結果

問題 No.166 マス埋めゲーム
ユーザー regeregeregerege
提出日時 2016-08-14 09:34:14
言語 F#
(F# 4.0)
結果
WA  
実行時間 -
コード長 158 bytes
コンパイル時間 9,803 ms
コンパイル使用メモリ 183,756 KB
実行使用メモリ 37,248 KB
最終ジャッジ日時 2024-04-25 06:32:28
合計ジャッジ時間 13,428 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 58 ms
30,208 KB
testcase_01 AC 58 ms
30,080 KB
testcase_02 AC 56 ms
30,080 KB
testcase_03 WA -
testcase_04 AC 57 ms
30,464 KB
testcase_05 WA -
testcase_06 AC 57 ms
30,080 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 56 ms
30,336 KB
testcase_10 AC 58 ms
30,080 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 RE -
testcase_14 RE -
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 57 ms
30,208 KB
testcase_18 WA -
testcase_19 RE -
testcase_20 RE -
testcase_21 RE -
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (212 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/

ソースコード

diff #

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 N%m = K%m then "YES" else "NO"
0