Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- long long int input;
- int result;
- scanf("%lld",&input);
- if(input % 3 == 0)
- {
- result = input/3;
- }
- else
- result = (input/3)+1;
- printf("%d\n",result);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement