PRIME-QUINE
CodeChefOpen on judge ↗
Omrita is all determined to learn programming. This semester she is taking "Introduction to C programming". Being a bright student she quickly covered the basics and managed to finish all the assignments way before the dead line. Her Instructor is very impressed by her work and decided to give her some more assignment. A typical assignment on C programming is: Write a C program that takes an posi
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