結果
| 問題 | No.1509 Swap!! | 
| コンテスト | |
| ユーザー |  convexineq | 
| 提出日時 | 2021-05-15 12:42:16 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                RE
                                 
                             | 
| 実行時間 | - | 
| コード長 | 131 bytes | 
| コンパイル時間 | 324 ms | 
| コンパイル使用メモリ | 82,272 KB | 
| 実行使用メモリ | 76,544 KB | 
| 最終ジャッジ日時 | 2024-10-03 00:28:17 | 
| 合計ジャッジ時間 | 6,984 ms | 
| ジャッジサーバーID (参考情報) | judge4 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | RE * 1 | 
| other | AC * 14 RE * 16 | 
ソースコード
T = int(input())
for _ in range(T):
    n,a,b = map(int,input().split())
    print("YES" if a+b <= n+1 and gcd(a,b) == 1 else "NO")
            
            
            
        