結果

問題 No.2736 About half
ユーザー kr
提出日時 2024-05-11 16:04:05
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 341 bytes
コンパイル時間 150 ms
コンパイル使用メモリ 30,080 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-12-20 08:37:04
合計ジャッジ時間 845 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>

int main(void)
{
    int A,B;
    printf("Aの値は:");
    scanf("%d\n",&A);
    printf("Bの値は:");
    scanf("%d\n",&B);

    if(A/B>2)
        {
            printf("Yes");
        }
    else if(B/A>2)
        {
            printf("Yes");
        }
    else
        {
            printf("No");
        }
    }
0