結果

問題 No.1551 誕生日の三角形
ユーザー 杨娵隅
提出日時 2021-08-07 22:40:13
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 166 bytes
コンパイル時間 1,467 ms
コンパイル使用メモリ 164,544 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-09-18 19:38:00
合計ジャッジ時間 2,014 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;

int main()
{
    double x; scanf("%lf", &x);
    
    double l = x / 3.0;
    printf("%.22lf", l * l * sqrt(3) / 4);
}
0