結果
| 問題 |
No.89 どんどんドーナツどーんといこう!
|
| コンテスト | |
| ユーザー |
Maeda
|
| 提出日時 | 2025-04-09 11:44:30 |
| 言語 | C# (.NET 8.0.404) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 464 bytes |
| コンパイル時間 | 7,635 ms |
| コンパイル使用メモリ | 170,864 KB |
| 実行使用メモリ | 188,136 KB |
| 最終ジャッジ日時 | 2025-04-09 11:44:41 |
| 合計ジャッジ時間 | 9,111 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | WA * 9 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (97 ミリ秒)。 main -> /home/judge/data/code/bin/Release/net8.0/main.dll main -> /home/judge/data/code/bin/Release/net8.0/publish/
ソースコード
class Program
{
static void Main(string[] args)
{
const double pi = Math.PI;
int calorie = int.Parse(Console.ReadLine());
string[] size = Console.ReadLine().Split(' ');
int inNum = int.Parse(size[0]);
int outNum = int.Parse(size[1]);
double ans = Math.Acos(calorie*(outNum*outNum - inNum*inNum)*(outNum-inNum)*pi);
Console.WriteLine(ans );
}
}
Maeda