結果
| 問題 | No.98 円を描こう |
| コンテスト | |
| ユーザー |
Adamantite
|
| 提出日時 | 2023-06-28 18:03:14 |
| 言語 | C# (.NET 10.0.403 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 38 ms / 5,000 ms |
| + 708µs | |
| コード長 | 365 bytes |
| 記録 | |
| コンパイル時間 | 5,097 ms |
| コンパイル使用メモリ | 169,816 KB |
| 実行使用メモリ | 31,056 KB |
| 最終ジャッジ日時 | 2026-11-11 00:43:39 |
| 合計ジャッジ時間 | 7,005 ms |
|
ジャッジサーバーID (参考情報) |
judge7_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 7 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (172 ミリ秒)。 main -> /home/judge/data/code/bin/Release/net10.0/main.dll main -> /home/judge/data/code/bin/Release/net10.0/publish/
ソースコード
using System;
namespace No98_LetsDrawCircle
{
internal class Program
{
static void Main(string[] args) {
string[] param = Console.ReadLine().Split(' ');
int xp = int.Parse(param[0]);
int yp = int.Parse(param[1]);
Console.WriteLine(Math.Floor(2 * Math.Sqrt(xp * xp + yp * yp) + 1));
}
}
}
Adamantite