結果
問題 | No.773 コンテスト |
ユーザー |
![]() |
提出日時 | 2019-03-17 17:30:24 |
言語 | C++11 (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 890 bytes |
コンパイル時間 | 827 ms |
コンパイル使用メモリ | 86,580 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-07 04:56:29 |
合計ジャッジ時間 | 1,383 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 21 |
ソースコード
#include <iostream> #include <algorithm> #include <vector> #include <map> #include <set> #include <string> #include <cmath> #include <iomanip> #include <queue> #include <unordered_map> #include <unordered_set> #include <bitset> #include <cassert> #include <cstring> #include <climits> using namespace std; #define FOR(i, a, b) for (int i = (a); i < (b); i++) #define rep(i, n) FOR(i, 0, n) #define SORT(c) sort((c).begin(), (c).end()) #define INF (ll)1e18 #define MOD (ll)1e9 + 7 #define pb push_back typedef long long ll; typedef long long int llt; typedef pair<int, int> P; typedef vector<int> V; typedef map<int, int> M; char dif = 'A' - 'a'; int main() { cin.tie(0); ios::sync_with_stdio(false); int a, b; cin >> a >> b; int cnt = 0; for (int i = 23; i <= 25;i++){ if(a<=i&&i<=b) cnt++; } cout << 3 - cnt << endl; return 0; }