結果

問題 No.2736 About half
ユーザー lerul
提出日時 2024-04-20 11:55:55
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 224 bytes
コンパイル時間 111 ms
コンパイル使用メモリ 27,392 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-10-12 07:14:08
合計ジャッジ時間 811 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
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