結果
| 問題 | No.1509 Swap!! |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-01-23 13:14:59 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 207 bytes |
| 記録 | |
| コンパイル時間 | 298 ms |
| コンパイル使用メモリ | 82,176 KB |
| 実行使用メモリ | 84,608 KB |
| 最終ジャッジ日時 | 2024-09-28 06:42:21 |
| 合計ジャッジ時間 | 8,130 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 1 |
| other | RE * 30 |
ソースコード
import math
t=int(input())
nab=[]
for _ in range(t):
nab.append(list(map(int,input().split())))
for i in nab :
if math.gcd(nab[1],nab[2])==1 and nab[0]>nab[1]+nab[2]+1 :
print("YES")
else:
print("NO")