結果
問題 | No.1551 誕生日の三角形 |
ユーザー |
|
提出日時 | 2021-06-20 20:24:34 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 424 bytes |
コンパイル時間 | 1,365 ms |
コンパイル使用メモリ | 168,608 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-22 22:34:43 |
合計ジャッジ時間 | 1,874 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 9 |
ソースコード
//#include <atcoder/all>#include <bits/stdc++.h>using namespace std;//using namespace atcoder;using ll = long long;#define all(A) A.begin(),A.end()using vll = vector<ll>;#define rep(i, n) for (long long i = 0; i < (long long)(n); i++)using Graph = vector<vector<ll>>;Graph G;vll dist;vector<bool> seen;ll mod = 1e9 + 7;int main() {double L;cin>>L;cout<<setprecision(16)<<L*L*sqrt(3)/36<<endl;}