結果
| 問題 | No.105 arcの六角ボルト |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2015-06-10 22:56:23 |
| 言語 | C++11(廃止可能性あり) (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 260 bytes |
| 記録 | |
| コンパイル時間 | 1,419 ms |
| コンパイル使用メモリ | 159,268 KB |
| 実行使用メモリ | 6,812 KB |
| 最終ジャッジ日時 | 2024-07-06 15:27:33 |
| 合計ジャッジ時間 | 1,854 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 1 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main(){
int t;cin>>t;
for(int i=0;i<t;i++){
double mi = 10000;
for(int j =0;j<6;j++){
double x,y;cin>>x>>y;
double th = atan2(y, x);
if (th >=0) mi = min(mi, th);
}
printf("%.9f\n", mi * 180.0 / acos(-1));
}
}