結果
| 問題 | No.105 arcの六角ボルト |
| コンテスト | |
| ユーザー |
h_noson
|
| 提出日時 | 2016-02-26 16:04:47 |
| 言語 | C++11(old_compat) (gcc 12.4.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 47 ms / 5,000 ms |
| コード長 | 559 bytes |
| 記録 | |
| コンパイル時間 | 1,021 ms |
| コンパイル使用メモリ | 167,892 KB |
| 実行使用メモリ | 7,844 KB |
| 最終ジャッジ日時 | 2026-03-08 16:05:44 |
| 合計ジャッジ時間 | 1,410 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 |
ソースコード
#include <iostream>
#include <vector>
#include <algorithm>
#include <iomanip>
using namespace std;
#define RREP(i,s,e) for (i = e-1; i >= s; i--)
#define rrep(i,n) RREP(i,0,n)
#define REP(i,s,e) for (i = s; i < e; i++)
#define rep(i,n) REP(i,0,n)
#define INF 1e8
typedef long long ll;
int main() {
int i, j, t;
cin >> t;
cout << fixed << setprecision(7);
rep (i,t) rep (j,6) {
double x, y;
cin >> x >> y;
if (y+1e-11 >= 0 && x-1e-11 > 0.5)
cout << atan2(abs(y),x)*180/M_PI << endl;
}
return 0;
}
h_noson