結果

問題 No.773 コンテスト
ユーザー Kazu05
提出日時 2019-02-12 21:34:29
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 596 bytes
コンパイル時間 750 ms
コンパイル使用メモリ 92,636 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-09-13 09:48:54
合計ジャッジ時間 1,641 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <sstream>
#include <fstream>
#include <string>
#include <vector>
#include <deque>
#include <queue>
#include <stack>
#include <set>
#include <map>
#include <algorithm>
#include <functional>
#include <utility>
#include <bitset>
#include <cmath>
#include <cstdlib>
#include <ctime>
#include <cstdio>

using namespace std;

#define REP(i, n) for (int i = 0; i < n; i++) 

int main() {
	ios::sync_with_stdio(false);
	cin.tie(0);
	int a, b;
	cin >> a >> b;
	int ans = 3;
	for (int i = a; i <= b; i++) {
		if (i == 23 || i == 24 || i == 25) ans--;
	}
	cout << ans << endl;
}
0