結果

問題 No.105 arcの六角ボルト
ユーザー not_522not_522
提出日時 2015-07-23 02:15:24
言語 C++11
(gcc 11.4.0)
結果
AC  
実行時間 72 ms / 5,000 ms
コード長 357 bytes
コンパイル時間 1,093 ms
コンパイル使用メモリ 144,580 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-09-22 21:29:41
合計ジャッジ時間 1,829 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ(β)

テストケース

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

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;

int main() {
  int t;
  cin >> t;
  for (int i = 0; i < t; ++i) {
    for (int j = 0; j < 6; ++j) {
      long double x, y;
      cin >> x >> y;
      if (0.5 + 1e-12 < x && x <= 1 + 1e-12&& y >= 0 - 1e-12) {
        cout << fixed << setprecision(15) << atan2(y, x) / M_PIl * 180 << endl;
      }
    }
  }
}
0