摘要:
Description Tourist likes competitive programming and he has his own Codeforces account. He participated in lots of Codeforces Rounds, solved so many 阅读全文
摘要:
Description You are given a table consisting of n rows and m columns. Numbers in each row form a permutation of integers from 1 to m. You are allowed 阅读全文
摘要:
Description You are given names of two days of the week. Please, determine whether it is possible that during some non-leap year the first day of some 阅读全文
摘要:
Description Polycarp is a music editor at the radio station. He received a playlist for tomorrow, that can be represented as a sequence a1, a2, ..., a 阅读全文