結果
問題 |
No.773 コンテスト
|
ユーザー |
![]() |
提出日時 | 2021-03-26 18:51:43 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 6 ms / 2,000 ms |
コード長 | 272 bytes |
コンパイル時間 | 5,675 ms |
コンパイル使用メモリ | 191,012 KB |
最終ジャッジ日時 | 2025-01-19 21:49:07 |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 21 |
ソースコード
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define rep(i,n) for(int i=0;i<n;i++) typedef pair<int,int>P; int main(){ int a,b; cin>>a>>b; int ans=3; for(int i=23;i<=25;i++){ if(a<=i && b>=i) ans--; } cout<<ans<<endl; return 0; }