結果

問題 No.773 コンテスト
ユーザー TakaTaka
提出日時 2018-12-26 18:50:19
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 304 bytes
コンパイル時間 400 ms
コンパイル使用メモリ 53,672 KB
実行使用メモリ 6,952 KB
最終ジャッジ日時 2024-04-09 02:55:24
合計ジャッジ時間 1,206 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
6,820 KB
testcase_01 AC 2 ms
6,948 KB
testcase_02 AC 2 ms
6,948 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 2 ms
6,948 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 2 ms
6,944 KB
testcase_09 AC 1 ms
6,948 KB
testcase_10 AC 1 ms
6,948 KB
testcase_11 WA -
testcase_12 AC 2 ms
6,944 KB
testcase_13 WA -
testcase_14 AC 1 ms
6,944 KB
testcase_15 WA -
testcase_16 AC 1 ms
6,948 KB
testcase_17 AC 1 ms
6,944 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 AC 1 ms
6,944 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>

using namespace std;

int main(){
    int ans=3;
    int start,last;
    cin>>start>>last;
    
    for(int i=24;i<26;i++){
        if(start-1<i){
            if(i<last+1){
                ans--;
            }
            
        }
        
    }
    cout<<ans;
    
    return 0;
}
0