結果
| 問題 | No.1622 三角形の面積 | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2023-03-25 11:59:52 | 
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 244 bytes | 
| コンパイル時間 | 1,503 ms | 
| コンパイル使用メモリ | 165,312 KB | 
| 実行使用メモリ | 5,376 KB | 
| 最終ジャッジ日時 | 2024-09-18 19:15:05 | 
| 合計ジャッジ時間 | 1,946 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 1 | 
| other | AC * 4 | 
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
void solve(){
  int r;
  cin>>r;
  cout<<setprecision(10)<<(double)3*sqrt(3)*r*r/4<<endl;
}
int main(){
  int t;
  cin>>t;
  rep(i,t) solve();
}
            
            
            
        