結果

問題 No.105 arcの六角ボルト
ユーザー 古寺いろは古寺いろは
提出日時 2015-04-09 20:22:11
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 378 bytes
コンパイル時間 1,172 ms
コンパイル使用メモリ 144,356 KB
実行使用メモリ 4,384 KB
最終ジャッジ日時 2023-09-17 19:05:30
合計ジャッジ時間 2,073 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#include "bits/stdc++.h"
using namespace std;

#define MAX 2000002

int dp[MAX];

int main(){
	int T;
	cin >> T;
	for (int t = 0; t < T; t++)
	{
		vector<double> X(6), Y(6);
		for (int i = 0; i < 6; i++)
		{
			cin >> X[i] >> Y[i];
		}

		double ans = atan2(Y[0], X[0]) / 3.141592653589793238462 * 180;
		ans += 360;
		while (ans > 60) ans -= 60;
		printf("%.14f", ans);
	}
}


0