結果
| 問題 | No.3690 Only One |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-10-01 01:48:30 |
| 言語 | C++23 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 2,000 ms |
| + 372µs | |
| コード長 | 872 bytes |
| 記録 | |
| コンパイル時間 | 1,867 ms |
| コンパイル使用メモリ | 333,500 KB |
| 実行使用メモリ | 9,876 KB |
| 最終ジャッジ日時 | 2026-10-01 01:48:41 |
| 合計ジャッジ時間 | 3,463 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 14 |
ソースコード
/*
#include<kyopro/master>
namespace my{entry
void main(){
LL(a,b);
pp(gcd(a,b)==1);
}}*/
#include<bits/stdc++.h>
#if __has_include(<atcoder/all>)
#endif
using namespace std;
#define RD(T,...) T __VA_ARGS__;lin(__VA_ARGS__)
#define LL(...) RD(ll,__VA_ARGS__)
#define defpp template<ostream&o=cout>void pp(const auto&...a){[[maybe_unused]]const char*c="";((o<<c<<a,c=" "),...);o<<'\n';}void epp(const auto&...a){pp<cerr>(a...);}
#define entry defpp void main();void main2();}int main(){my::io();my::main();}namespace my{
namespace my{
void io(){cin.tie(nullptr)->sync_with_stdio(0);cout<<fixed<<setprecision(15);}
using ll=long long;
void lin(auto&...a){(cin>>...>>a);}
constexpr auto abs(auto x){return x<0?-x:x;}
template<class T,class U>common_type_t<T,U>gcd(T a,U b){return b?gcd(b,a%b):abs(a);}
}
namespace my{entry
void main(){
LL(a,b);
pp(gcd(a,b)==1);
}}