結果

問題 No.172 UFOを捕まえろ
ユーザー regeregeregerege
提出日時 2016-10-02 04:03:11
言語 F#
(F# 4.0)
結果
AC  
実行時間 87 ms / 5,000 ms
コード長 166 bytes
コンパイル時間 4,471 ms
コンパイル使用メモリ 153,432 KB
実行使用メモリ 26,916 KB
最終ジャッジ日時 2023-08-13 16:45:44
合計ジャッジ時間 6,632 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 85 ms
22,792 KB
testcase_01 AC 84 ms
24,916 KB
testcase_02 AC 85 ms
22,936 KB
testcase_03 AC 85 ms
22,872 KB
testcase_04 AC 85 ms
22,840 KB
testcase_05 AC 85 ms
22,828 KB
testcase_06 AC 87 ms
24,860 KB
testcase_07 AC 85 ms
22,980 KB
testcase_08 AC 86 ms
24,824 KB
testcase_09 AC 84 ms
22,728 KB
testcase_10 AC 85 ms
20,844 KB
testcase_11 AC 85 ms
22,776 KB
testcase_12 AC 86 ms
22,852 KB
testcase_13 AC 84 ms
22,780 KB
testcase_14 AC 85 ms
22,804 KB
testcase_15 AC 84 ms
22,800 KB
testcase_16 AC 85 ms
22,784 KB
testcase_17 AC 85 ms
22,864 KB
testcase_18 AC 85 ms
24,848 KB
testcase_19 AC 85 ms
22,880 KB
testcase_20 AC 86 ms
22,820 KB
testcase_21 AC 85 ms
22,780 KB
testcase_22 AC 84 ms
22,800 KB
testcase_23 AC 86 ms
26,916 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

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