結果
| 問題 | No.1509 Swap!! | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2021-05-14 22:59:20 | 
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 195 bytes | 
| コンパイル時間 | 2,208 ms | 
| コンパイル使用メモリ | 192,004 KB | 
| 最終ジャッジ日時 | 2025-01-21 11:59:58 | 
| ジャッジサーバーID (参考情報) | judge5 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 1 | 
| other | AC * 6 WA * 24 | 
ソースコード
#include<bits/stdc++.h>
#define int long long
using namespace std;
signed main(){
    int T; cin>>T;
    while(T--){
        int N,A,B; cin>>N>>A>>B;
        puts(gcd(A,B)==1?"YES":"NO");
    }
}
            
            
            
        