結果
問題 |
No.1551 誕生日の三角形
|
ユーザー |
|
提出日時 | 2021-06-21 15:55:14 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 33 ms / 1,000 ms |
コード長 | 187 bytes |
コンパイル時間 | 1,973 ms |
コンパイル使用メモリ | 190,608 KB |
最終ジャッジ日時 | 2025-01-22 10:56:17 |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 9 |
ソースコード
#include <bits/stdc++.h> using std::cin; using std::cout; int main() { double L; cin >> L; double a = L / 3; double s = a * a * sqrt(3) / 4; printf("%.10lf\n", s); return 0; }