結果
| 問題 | No.3180 angles sum |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-06-13 22:21:07 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 643 bytes |
| 記録 | |
| コンパイル時間 | 329 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 94,696 KB |
| 最終ジャッジ日時 | 2025-06-13 22:21:15 |
| 合計ジャッジ時間 | 7,810 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | WA * 13 |
ソースコード
import math
import sys
input = sys.stdin.read
def main():
data = input().split()
t = int(data[0])
index = 1
results = []
for _ in range(t):
Ax = int(data[index])
Ay = int(data[index+1])
Bx = int(data[index+2])
By = int(data[index+3])
Cx = int(data[index+4])
Cy = int(data[index+5])
index += 6
angleA = math.atan2(Ay, Ax)
angleB = math.atan2(By, Bx)
angleC = math.atan2(Cy, Cx)
if angleA + angleB >= angleC:
results.append("Yes")
else:
results.append("No")
print("\n".join(results))
main()