結果
問題 | No.773 コンテスト |
ユーザー |
|
提出日時 | 2019-01-06 16:24:16 |
言語 | C++11 (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 502 bytes |
コンパイル時間 | 535 ms |
コンパイル使用メモリ | 72,480 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-06 11:28:25 |
合計ジャッジ時間 | 1,201 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 21 |
ソースコード
#include <iostream>#include <algorithm>#include <cstdio>#include <cmath>#include <string>#include <vector>#include <set>#include <stack>#include <functional>#define rep(i, n) for(int i = 0; i < n; i++)#define ll long longusing namespace std;int main(){cin.tie(0);ios::sync_with_stdio(false);int a, b;cin >> a >> b;int day = 3;for (int i = a; i <= b; i++) {if ((i == 23) || (i == 24) || (i == 25)) {day--;}}cout << day << endl;return 0;}