結果
問題 | No.98 円を描こう |
ユーザー | しらゆき |
提出日時 | 2015-11-18 11:07:09 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 65 ms / 5,000 ms |
コード長 | 280 bytes |
コンパイル時間 | 3,345 ms |
コンパイル使用メモリ | 104,956 KB |
実行使用メモリ | 24,916 KB |
最終ジャッジ日時 | 2023-10-11 17:57:47 |
合計ジャッジ時間 | 3,465 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 64 ms
22,724 KB |
testcase_01 | AC | 65 ms
24,916 KB |
testcase_02 | AC | 64 ms
24,744 KB |
testcase_03 | AC | 64 ms
22,828 KB |
testcase_04 | AC | 64 ms
22,740 KB |
testcase_05 | AC | 64 ms
22,596 KB |
testcase_06 | AC | 64 ms
22,720 KB |
testcase_07 | AC | 64 ms
22,700 KB |
testcase_08 | AC | 63 ms
22,696 KB |
testcase_09 | AC | 64 ms
22,668 KB |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; class Program { static void Main() { string[] s = Console.ReadLine().Split(); double x = double.Parse(s[0]); double y = double.Parse(s[1]); Console.WriteLine(Math.Ceiling(Math.Sqrt(x * x + y * y) * 2 + 0.000000001)); } }