結果

問題 No.98 円を描こう
ユーザー taktak
提出日時 2018-08-11 11:13:01
言語 F#
(F# 4.0)
結果
WA  
実行時間 -
コード長 180 bytes
コンパイル時間 12,047 ms
コンパイル使用メモリ 188,904 KB
実行使用メモリ 31,220 KB
最終ジャッジ日時 2023-10-24 13:46:45
合計ジャッジ時間 14,324 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 58 ms
31,216 KB
testcase_01 AC 58 ms
31,216 KB
testcase_02 AC 58 ms
31,216 KB
testcase_03 AC 57 ms
31,120 KB
testcase_04 WA -
testcase_05 AC 58 ms
31,216 KB
testcase_06 AC 57 ms
31,216 KB
testcase_07 AC 57 ms
31,220 KB
testcase_08 AC 58 ms
31,216 KB
testcase_09 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (375 ms)。
MSBuild のバージョン 17.7.3+8ec440e68 (.NET)
  main -> /home/judge/data/code/bin/Release/net7.0/main.dll
  main -> /home/judge/data/code/bin/Release/net7.0/publish/

ソースコード

diff #

let Xp, Yp =
    let t = stdin.ReadLine().Split() |> Array.map float
    t.[0], t.[1]

let r = (sqrt <| Xp ** 2.0 + Yp ** 2.0) * 2.0 + 0.5
System.Math.Ceiling r |> stdout.WriteLine
0