too easy or three easy
Time Limit: 1.0 s
Memory Limit: 256.0 MB
Description
You are given an integer N. in one operation you can:
- subtract 2 or
- subtract 3 from N.
What is the minimum number of operation to make the number N equal to zero.
Input
an integer N
\(2 <= N <= 100\)
Output
one integer : number of operations to make N equal to zero.
Sample
Input | Output |
---|---|
|
|
Information
- ID
- 1106
- Difficulty
- 2
- Category
- (None)
- Tags
- (None)
- # Submissions
- 177
- Accepted
- 103
- Accepted Ratio
- 58%
- Uploaded By
Related
In following contests: