結果
| 問題 |
No.1551 誕生日の三角形
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-06-18 21:26:59 |
| 言語 | C++17(clang) (17.0.6 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 249 bytes |
| コンパイル時間 | 4,117 ms |
| コンパイル使用メモリ | 160,768 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-06-22 19:51:30 |
| 合計ジャッジ時間 | 2,626 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 9 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(0),cin.tie(0),cout.tie(0);
long double l;
cin >> l;
long double s = l / 3.;
cout << fixed << setprecision(10) << sqrtl(3.) * s * s / 4. << "\n";
return 0;
}