結果

問題 No.172 UFOを捕まえろ
ユーザー regeregeregerege
提出日時 2016-10-02 04:03:11
言語 F#
(F# 4.0)
結果
AC  
実行時間 364 ms / 5,000 ms
コード長 166 bytes
コンパイル時間 7,372 ms
コンパイル使用メモリ 190,680 KB
実行使用メモリ 35,068 KB
最終ジャッジ日時 2024-05-01 09:30:40
合計ジャッジ時間 17,091 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 347 ms
34,256 KB
testcase_01 AC 346 ms
34,680 KB
testcase_02 AC 352 ms
33,864 KB
testcase_03 AC 352 ms
34,936 KB
testcase_04 AC 350 ms
34,940 KB
testcase_05 AC 349 ms
34,560 KB
testcase_06 AC 364 ms
35,068 KB
testcase_07 AC 347 ms
34,792 KB
testcase_08 AC 347 ms
34,792 KB
testcase_09 AC 348 ms
34,564 KB
testcase_10 AC 350 ms
34,928 KB
testcase_11 AC 350 ms
34,656 KB
testcase_12 AC 348 ms
34,548 KB
testcase_13 AC 348 ms
34,676 KB
testcase_14 AC 351 ms
34,932 KB
testcase_15 AC 351 ms
33,972 KB
testcase_16 AC 349 ms
34,248 KB
testcase_17 AC 349 ms
34,676 KB
testcase_18 AC 349 ms
34,668 KB
testcase_19 AC 356 ms
35,060 KB
testcase_20 AC 351 ms
34,684 KB
testcase_21 AC 350 ms
34,912 KB
testcase_22 AC 358 ms
34,936 KB
testcase_23 AC 352 ms
34,168 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (232 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 args = stdin.ReadLine().Split(' ')
let x = int args.[0]
let y = int args.[1]
let r = float args.[2]
let P = abs x +  abs y + int(ceil(r * sqrt 2.))
printfn "%d" P
0