Find The Factos
CodeChefOpen on judge ↗
Problem Description Any integer that cannot be divded exactly by 2 is an odd number.The last digit is 1,3,5,7, or 9. The number -77 is also an odd number; but let's not talk about the negative ones, let's talk about the natural numbers. f(K)=K+h ; where h is any odd natural number. As 'K' is odd, so f(K) would always result in an even number. Lisa liked this property very much. She took a n
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start