結果

問題 No.1509 Swap!!
ユーザー ああああ
提出日時 2024-01-23 13:38:16
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 248 ms / 2,000 ms
コード長 150 bytes
コンパイル時間 381 ms
コンパイル使用メモリ 81,700 KB
実行使用メモリ 76,540 KB
最終ジャッジ日時 2024-01-23 13:38:25
合計ジャッジ時間 9,154 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 36 ms
53,588 KB
testcase_01 AC 39 ms
53,588 KB
testcase_02 AC 231 ms
76,156 KB
testcase_03 AC 234 ms
76,284 KB
testcase_04 AC 234 ms
76,284 KB
testcase_05 AC 233 ms
76,412 KB
testcase_06 AC 234 ms
76,540 KB
testcase_07 AC 234 ms
76,280 KB
testcase_08 AC 232 ms
76,412 KB
testcase_09 AC 231 ms
76,284 KB
testcase_10 AC 248 ms
76,412 KB
testcase_11 AC 214 ms
76,152 KB
testcase_12 AC 212 ms
76,152 KB
testcase_13 AC 211 ms
76,152 KB
testcase_14 AC 210 ms
76,152 KB
testcase_15 AC 211 ms
76,152 KB
testcase_16 AC 211 ms
76,156 KB
testcase_17 AC 202 ms
76,156 KB
testcase_18 AC 208 ms
76,156 KB
testcase_19 AC 205 ms
76,156 KB
testcase_20 AC 204 ms
76,156 KB
testcase_21 AC 232 ms
76,284 KB
testcase_22 AC 226 ms
76,284 KB
testcase_23 AC 228 ms
76,156 KB
testcase_24 AC 228 ms
76,284 KB
testcase_25 AC 226 ms
76,284 KB
testcase_26 AC 231 ms
76,284 KB
testcase_27 AC 212 ms
76,036 KB
testcase_28 AC 212 ms
76,036 KB
testcase_29 AC 209 ms
76,156 KB
testcase_30 AC 210 ms
76,152 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
t=int(input())
for _ in range(t):
	n,a,b=(map(int,input().split()))
	if math.gcd(a,b)==1 and n>a+b-2 :
		print("YES")
	else:
		print("NO")
0