Skip to content

Citizenship

Unrated
English

Language

Contribute a translation
Time limit
4000 ms
Memory limit
2048 MB (no extra memory)
Submissions
0
Correct
0
Solved by
0
AC rate
—

Statement

Citizenship, page 1

Citizenship, page 2

Examples

Sample input 1
3 5 240
2022-02-28 2022-10-01
2022-11-11 2022-11-11
2023-12-30 2024-01-01
Sample output 1
2024-05-31
Sample input 2
3 5 240
2011-11-11 2012-12-12
2022-02-28 2022-10-01
2025-01-01 2025-06-30
Sample output 2
2028-02-26

Tags

No tags yet

Source