Gregorian Difference
CodeChefOpen on judge ↗
Given two valid dates of the Gregorian Calendar, your task is to find the difference between those dates in terms of days, months, years and centuries. ### Input - First line will contain $T$, number of test cases. Then the test cases follow. - Each test case contains of a single line of input, two strings, $D1$ and $D2$, representing the dates in $dd/mm/yyyy$ format, separated by a single spac
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