結果
| 問題 |
No.1622 三角形の面積
|
| コンテスト | |
| ユーザー |
keisuke6
|
| 提出日時 | 2022-05-27 20:31:19 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 283 bytes |
| コンパイル時間 | 1,617 ms |
| コンパイル使用メモリ | 166,436 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-20 15:22:46 |
| 合計ジャッジ時間 | 1,799 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 4 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define double long double
signed main(){
int N;
cin>>N;
for(int i=0;i<N;i++){
int r;
cin>>r;
cout<<fixed<<setprecision(15);
cout<<r*1.5*(r*(pow(3,0.5)/2))<<endl;
}
}
keisuke6