結果

問題 No.1509 Swap!!
ユーザー convexineqconvexineq
提出日時 2021-05-15 12:42:16
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 131 bytes
コンパイル時間 285 ms
コンパイル使用メモリ 82,368 KB
実行使用メモリ 76,416 KB
最終ジャッジ日時 2024-04-14 03:13:09
合計ジャッジ時間 7,561 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
testcase_08 RE -
testcase_09 RE -
testcase_10 RE -
testcase_11 AC 200 ms
76,388 KB
testcase_12 AC 195 ms
76,344 KB
testcase_13 AC 197 ms
76,096 KB
testcase_14 AC 204 ms
76,252 KB
testcase_15 AC 199 ms
75,988 KB
testcase_16 AC 191 ms
76,324 KB
testcase_17 AC 190 ms
76,152 KB
testcase_18 AC 187 ms
76,224 KB
testcase_19 AC 191 ms
76,088 KB
testcase_20 AC 190 ms
76,068 KB
testcase_21 AC 196 ms
76,108 KB
testcase_22 AC 191 ms
76,416 KB
testcase_23 AC 196 ms
76,144 KB
testcase_24 RE -
testcase_25 RE -
testcase_26 RE -
testcase_27 RE -
testcase_28 RE -
testcase_29 RE -
testcase_30 AC 198 ms
76,060 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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")
0