結果
問題 |
No.1551 誕生日の三角形
|
ユーザー |
![]() |
提出日時 | 2021-06-18 22:14:16 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 302 bytes |
コンパイル時間 | 1,828 ms |
コンパイル使用メモリ | 192,160 KB |
最終ジャッジ日時 | 2025-01-22 09:22:58 |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 9 |
ソースコード
#define ALL(v) v.begin(),v.end() #define ALL(v) v.begin(),v.end() typedef long long ll; #include <bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(false); std::cin.tie(nullptr); double l; cin>>l; cout<<fixed<<setprecision(20)<<l*l*sqrt(3)/36<<endl; return 0; }