結果

問題 No.863 計算量
ユーザー natoriusannatoriusan
提出日時 2023-08-01 18:06:38
言語 F#
(F# 4.0)
結果
AC  
実行時間 317 ms / 1,000 ms
コード長 151 bytes
コンパイル時間 10,413 ms
コンパイル使用メモリ 186,920 KB
実行使用メモリ 34,480 KB
最終ジャッジ日時 2024-04-19 17:19:22
合計ジャッジ時間 14,181 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 301 ms
34,480 KB
testcase_01 AC 310 ms
34,360 KB
testcase_02 AC 310 ms
34,056 KB
testcase_03 AC 308 ms
34,464 KB
testcase_04 AC 317 ms
34,360 KB
testcase_05 AC 310 ms
33,624 KB
testcase_06 AC 303 ms
34,356 KB
testcase_07 AC 304 ms
34,456 KB
testcase_08 AC 301 ms
34,476 KB
testcase_09 AC 307 ms
34,332 KB
testcase_10 AC 301 ms
34,360 KB
testcase_11 AC 300 ms
34,084 KB
testcase_12 AC 296 ms
34,356 KB
testcase_13 AC 309 ms
34,096 KB
testcase_14 AC 304 ms
33,664 KB
testcase_15 AC 307 ms
34,356 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (282 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 a = stdin.ReadLine () |> int64
let b = stdin.ReadLine () |> int64

if b - 40L <= 40L * a && 40L * a <= b + 1L then
    1
else
    2
|> printfn "%d"
0