結果
| 問題 | No.773 コンテスト | 
| コンテスト | |
| ユーザー |  TAISA_ | 
| 提出日時 | 2018-12-21 00:42:56 | 
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 377 bytes | 
| コンパイル時間 | 1,611 ms | 
| コンパイル使用メモリ | 165,460 KB | 
| 実行使用メモリ | 6,944 KB | 
| 最終ジャッジ日時 | 2024-07-06 11:20:03 | 
| 合計ジャッジ時間 | 2,317 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 21 | 
ソースコード
#include <bits/stdc++.h>
#define all(vec) vec.begin(),vec.end()
using namespace std;
using ll=long long;
using P=pair<int,int>;
const ll INF=1LL<<30;
const ll LINF=1LL<<61;
const double eps=1e-9;
const ll MOD=1000000007LL;
int main(){
    int a,b;cin>>a>>b;
    int ans=3;
    if(a<=23&&23<=b)ans--;
    if(a<=24&&24<=b)ans--;
    if(a<=25&&25<=b)ans--;
    cout<<ans<<endl;
}
            
            
            
        