結果

問題 No.773 コンテスト
ユーザー sanyonfusanyonfu
提出日時 2019-06-06 21:02:09
言語 C++11
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 282 bytes
コンパイル時間 1,830 ms
コンパイル使用メモリ 157,560 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-10-01 14:47:56
合計ジャッジ時間 1,941 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;


int main(){
        int A,B;
        cin >> A >> B;
        int ans = 3; 

        for(int i = A; i <= B; i++){
                if(i <= 25 && i >= 23){
                    ans --;    
                }
        }
        cout << ans;
}
0