摘要: Dreamoon is a big fan of the Codeforces contests. One day, he clai... 阅读全文
posted @ 2020-04-25 12:24 Hayasaka 阅读(91) 评论(0) 推荐(0) 编辑
摘要: A number is ternary if it contains only digits 0, 1 and 2. For exa... 阅读全文
posted @ 2020-04-25 12:00 Hayasaka 阅读(103) 评论(0) 推荐(0) 编辑
摘要: Given A,B,C, You should quickly calculate the result of A ^ B mod ... 阅读全文
posted @ 2020-04-25 11:44 Hayasaka 阅读(58) 评论(0) 推荐(0) 编辑