結果
| 問題 | No.773 コンテスト | 
| コンテスト | |
| ユーザー |  hakuchanizkm | 
| 提出日時 | 2018-12-29 16:27:30 | 
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 516 bytes | 
| コンパイル時間 | 621 ms | 
| コンパイル使用メモリ | 91,632 KB | 
| 実行使用メモリ | 6,944 KB | 
| 最終ジャッジ日時 | 2024-07-06 11:25:04 | 
| 合計ジャッジ時間 | 1,294 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 21 | 
ソースコード
#include <iostream>
#include<cstring>
#include<string>
#include<cmath>
#include<algorithm>
#include<cctype>
#include<queue>
#include<stack>
#include<stdio.h>
#include<vector>
#include<set>
#include<map>
#include<iomanip>
#define rep(i,n) for(int i=0;i<n;i++)
typedef int long long ll;
using namespace std;
int main(){
    int a,b;
    cin>>a>>b;
    int hi[32];
    memset(hi,0,sizeof(hi));
    for(int i=a;i<b+1;i++){
        hi[i]=1;
    }
    int ans=3-hi[23]-hi[24]-hi[25];
    cout<<ans<<endl;
return 0;
}
            
            
            
        