Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- #define int long long
- using namespace std;
- #define IOS ios::sync_with_stdio(0); cin.tie(0);
- int const maxn = 3e5 + 7;
- int l,r;
- inline void input() {
- cin>>l>>r;
- }
- inline void solve() {
- if (l<=2){
- l=3;
- }
- cout<<(r-l+1);
- return;
- }
- int32_t main() {
- IOS
- input();
- solve();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement