結果
| 問題 |
No.105 arcの六角ボルト
|
| コンテスト | |
| ユーザー |
not_522
|
| 提出日時 | 2015-07-23 02:15:24 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 66 ms / 5,000 ms |
| コード長 | 357 bytes |
| コンパイル時間 | 1,310 ms |
| コンパイル使用メモリ | 159,500 KB |
| 実行使用メモリ | 6,816 KB |
| 最終ジャッジ日時 | 2024-07-08 12:10:25 |
| 合計ジャッジ時間 | 1,921 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 |
ソースコード
#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;
}
}
}
}
not_522