a53

abcd

a53
Oct 17th, 2021
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. int a,b,c,d;
  7. cin>>a>>b>>c>>d;
  8. cout<<d/3-(c-1)/3+b/3-(a-1)/3;
  9. return 0;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment