結果
問題 |
No.1509 Swap!!
|
ユーザー |
👑 ![]() |
提出日時 | 2021-05-14 23:40:19 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 219 bytes |
コンパイル時間 | 223 ms |
コンパイル使用メモリ | 82,432 KB |
実行使用メモリ | 76,800 KB |
最終ジャッジ日時 | 2024-10-02 05:48:06 |
合計ジャッジ時間 | 5,045 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 6 WA * 24 |
ソースコード
import sys import math input=sys.stdin.readline write=sys.stdout.write T=int(input()) for _ in range(T): N,A,B=map(int,input().split()) if math.gcd(A,B)==1: print("YES") else: print("NO")