THE ARCHIVE LIBRARY
CodeChefOpen on judge ↗
PROBLEM DESCRIPTION Langdon is given a chance to visit the archieve library .He needed to find Galelio's book:Diagramma .For this he needed to visit inside a vault which contained all of Galelio's works . Langdon could search the book first for 1 sec and then for 1+d,1+2d and so on. It is given that in any of the searches he cannot exceed his time by (t) seconds. He knows the total time(total) h
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