結果

問題 No.166 マス埋めゲーム
ユーザー hum_ophum_op
提出日時 2016-04-14 22:27:34
言語 F#
(F# 4.0)
結果
WA  
実行時間 -
コード長 284 bytes
コンパイル時間 14,100 ms
コンパイル使用メモリ 185,792 KB
実行使用メモリ 38,912 KB
最終ジャッジ日時 2024-04-15 01:32:42
合計ジャッジ時間 14,759 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

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

open System

let No166 () =
    let IN = Console.ReadLine().Split(' ')
    let mass = (Int32.Parse IN.[0]) * (Int32.Parse IN.[1])
    let N = int32 <| IN.[2]
    let K = int32 <| IN.[3]

    if mass % N = K - 1 then
        printfn "NO"
    else
        printfn "YES"

    ()
No166 ()
0