結果

問題 No.1027 U+1F4A0
ユーザー onsen_manjuuu
提出日時 2020-06-13 17:02:57
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 263 bytes
コンパイル時間 1,701 ms
コンパイル使用メモリ 166,540 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-25 15:01:20
合計ジャッジ時間 2,588 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 19 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>

using namespace std;
using ll = long long;


int main()
{
    int d, e; cin >> d >> e;
    if(d == e) {
        cout << 4 << endl;
    } else if(e > d && e < 2*d) {
        cout << 8 << endl;
    } else{
        cout << 0 << endl;
    }
}
0