結果
問題 | No.2736 About half |
ユーザー |
|
提出日時 | 2024-04-20 11:29:39 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 1,223 bytes |
コンパイル時間 | 2,885 ms |
コンパイル使用メモリ | 245,768 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-12 06:59:44 |
合計ジャッジ時間 | 3,646 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 15 |
ソースコード
#pragma region template #include<bits/stdc++.h> using namespace std; #include <atcoder/modint> using namespace atcoder; using mint=modint998244353; template<class T>inline bool chmax(T &a,T b){if(a<b){a=b;return true;}return false;} template<class T>inline bool chmin(T &a,T b){if(a>b){a=b;return true;}return false;} #define rep1(i,a) for(int i=0;i<(int)(a);i++) #define rep2(i,a,b) for(int i =(int)(a);i<(int)(b);i++) #define rep3(i,a,b,c) for(int i=(int)(a);i<(int)(b);i+=(int)(c)) #define overloadRep(a,b,c,d,e,...)e #define rep(...) overloadRep(__VA_ARGS__,rep3,rep2,rep1)(__VA_ARGS__) #define rrep(i,a,b) for(int i=(int)(a);i<=(int)(b);i++) #define drep(i,a,b) for(int i=(int)(a);i>=(int)(b);i--) #define all(a) a.begin(),a.end() #define rall(a) a.rbegin(),a.rend() #define spa " " #define yes "Yes" #define no "No" #define int long long const int inf=8e18; const int dx[4]={0,1,0,-1}; const int dy[4]={1,0,-1,0}; using P=pair<int,int>; using T=tuple<int,int,int>; bool bit(int &x,int &p){return (x>>p)&1;} #pragma endregion signed main(){ ios_base::sync_with_stdio(false); cin.tie(nullptr); cout<<fixed<<setprecision(15); int a,b;cin>>a>>b; cout<<(a*2<b or b*2<a?no:yes)<<endl; return 0; }