結果
| 問題 | No.98 円を描こう |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-04-04 21:33:02 |
| 言語 | F# (F# 10.0) |
| 結果 |
AC
|
| 実行時間 | 211 ms / 5,000 ms |
| コード長 | 169 bytes |
| 記録 | |
| コンパイル時間 | 10,595 ms |
| コンパイル使用メモリ | 208,932 KB |
| 実行使用メモリ | 36,816 KB |
| 最終ジャッジ日時 | 2026-04-20 00:01:49 |
| 合計ジャッジ時間 | 12,365 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 6 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (258 ミリ秒)。 main -> /home/judge/data/code/bin/Release/net10.0/main.dll main -> /home/judge/data/code/bin/Release/net10.0/publish/
ソースコード
let a = Array.map float <| stdin.ReadLine().Split(' ')
let x,y = a.[0],a.[1]
let s =
if x = 0. || y = 0. then max x y
else sqrt(x*x+y*y)
printfn "%d" <| int(s*2.)+1