結果
| 問題 | No.1622 三角形の面積 |
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2021-12-15 00:06:31 |
| 言語 | C++14 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 2,000 ms |
| + 469µs | |
| コード長 | 260 bytes |
| 記録 | |
| コンパイル時間 | 431 ms |
| コンパイル使用メモリ | 91,760 KB |
| 実行使用メモリ | 7,856 KB |
| 最終ジャッジ日時 | 2026-08-24 07:30:59 |
| 合計ジャッジ時間 | 1,590 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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;
}
}