Advertisement
gamezovladislav

task4

Oct 23rd, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.31 KB | None | 0 0
  1. #include <iostream>
  2. #include <vector>
  3. #include <algorithm>
  4.  
  5. using namespace std;
  6.  
  7. int main() {
  8.     long l, r;
  9.     cin >> l >> r;
  10.     int ans = 0;
  11.     l = 1;
  12.     if (l <= r) ans++;
  13.     l = 1000000000L;
  14.     if (l <= r) ans++;
  15.     l = 1000000000L * 1000000000L;
  16.     if (l <= r) ans++;
  17.     cout << ans;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement