結果
| 問題 | No.1622 三角形の面積 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-12-07 21:10:40 |
| 言語 | C# (.NET 8.0.404) |
| 結果 |
AC
|
| 実行時間 | 64 ms / 2,000 ms |
| コード長 | 337 bytes |
| 記録 | |
| コンパイル時間 | 7,410 ms |
| コンパイル使用メモリ | 169,860 KB |
| 実行使用メモリ | 188,496 KB |
| 最終ジャッジ日時 | 2025-12-07 21:10:50 |
| 合計ジャッジ時間 | 8,628 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 4 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (105 ミリ秒)。 main -> /home/judge/data/code/bin/Release/net8.0/main.dll main -> /home/judge/data/code/bin/Release/net8.0/publish/
ソースコード
using System;
class Program
{
static void Main()
{
int t = int.Parse(Console.ReadLine());
for (int i = 0; i < t; i++)
{
double r = double.Parse(Console.ReadLine());
double area = 3 * Math.Sqrt(3) / 4 * r * r;
Console.WriteLine(area.ToString("F12"));
}
}
}