結果
問題 |
No.98 円を描こう
|
ユーザー |
|
提出日時 | 2016-04-04 21:33:02 |
言語 | F# (F# 4.0) |
結果 |
AC
|
実行時間 | 311 ms / 5,000 ms |
コード長 | 169 bytes |
コンパイル時間 | 15,244 ms |
コンパイル使用メモリ | 191,416 KB |
実行使用メモリ | 34,856 KB |
最終ジャッジ日時 | 2024-10-04 00:53:54 |
合計ジャッジ時間 | 17,886 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 6 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (816 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/
ソースコード
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