結果

問題 No.2736 About half
ユーザー cho435
提出日時 2024-04-23 17:29:36
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 253 bytes
コンパイル時間 872 ms
コンパイル使用メモリ 71,884 KB
最終ジャッジ日時 2025-02-21 08:45:12
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

#pragma GCC target("avx2")

#include <iostream>
#include <algorithm>
using namespace std;

int main() {
    int a, b;
    cin >> a >> b;
    if (abs(a - b) > min(a, b)) {
        cout << "No" << endl;
    } else {
        cout << "Yes" << endl;
    }
}
0