too easy or three easy
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
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 |
---|---|
|
|
Brain Booster #6
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 9
- Start at
- 2024-10-03 15:30
- End at
- 2024-10-03 18:00
- Duration
- 2.5 hour(s)
- Host
- Partic.
- 151