結果
| 問題 | No.1622 三角形の面積 | 
| コンテスト | |
| ユーザー | 👑 | 
| 提出日時 | 2021-12-15 00:06:31 | 
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 3 ms / 2,000 ms | 
| コード長 | 260 bytes | 
| コンパイル時間 | 985 ms | 
| コンパイル使用メモリ | 73,720 KB | 
| 実行使用メモリ | 5,376 KB | 
| 最終ジャッジ日時 | 2024-07-23 19:44:19 | 
| 合計ジャッジ時間 | 1,184 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 1 | 
| other | AC * 4 | 
ソースコード
#include <iostream>
#include <iomanip>
#include <cmath>
using namespace std;
int main(){
    int t;cin>>t;
    for(int i = 0; t > i; i++){
        int x;cin>>x;
        cout << fixed << setprecision(10) << (double)x*x/2*sin((double)2*M_PI/3)*3 << endl;
    }
}
            
            
            
        