結果

問題 No.2736 About half
ユーザー aa
提出日時 2024-04-20 11:52:44
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 224 bytes
コンパイル時間 149 ms
コンパイル使用メモリ 27,776 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-10-12 07:10:03
合計ジャッジ時間 782 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
int main(void){
    int numA, numB;
    scanf("%d %d",&numA,&numB);
    if(numA > numB*2){
        printf("No");
    }else if(numB > numA*2){
        printf("No");
    }else{
        printf("Yes");
    }
}
0