結果

問題 No.105 arcの六角ボルト
ユーザー koba-e964koba-e964
提出日時 2015-06-10 22:55:24
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 259 bytes
コンパイル時間 1,128 ms
コンパイル使用メモリ 143,640 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-09-20 20:39:30
合計ジャッジ時間 1,546 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#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("%.9fn",  mi * 180.0 / acos(-1));
}
}
0