結果
| 問題 |
No.1551 誕生日の三角形
|
| コンテスト | |
| ユーザー |
bluemegane
|
| 提出日時 | 2021-06-18 22:30:32 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
AC
|
| 実行時間 | 24 ms / 1,000 ms |
| コード長 | 226 bytes |
| コンパイル時間 | 3,979 ms |
| コンパイル使用メモリ | 108,064 KB |
| 実行使用メモリ | 29,064 KB |
| 最終ジャッジ日時 | 2024-06-22 20:55:51 |
| 合計ジャッジ時間 | 3,266 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 9 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using static System.Math;
using System;
public class Hello
{
static void Main()
{
var L = int.Parse(Console.ReadLine().Trim());
var a = L / 3d;
Console.WriteLine(Sqrt(3) / 4d * a * a);
}
}
bluemegane