摘要: Elina is reading a book written by Rujia Liu, which introduces a strange way to express non-negative integers. The way is described as following: Choo 阅读全文
posted @ 2020-01-20 22:22 GRedComeT 阅读(92) 评论(0) 推荐(0) 编辑
摘要: The Euler function phi is an important kind of function in number theory, (n) represents the amount of the numbers which are smaller than n and coprim 阅读全文
posted @ 2020-01-20 20:44 GRedComeT 阅读(107) 评论(0) 推荐(0) 编辑
摘要: Chiaki has an n × m matrix A. Rows are numbered from 1 to n from top to bottom and columns are numbered from 1 to m from left to right. The element in 阅读全文
posted @ 2020-01-20 20:31 GRedComeT 阅读(166) 评论(0) 推荐(0) 编辑
摘要: Given A,B,C, You should quickly calculate the result of A^B mod C. (1<=A,C<=1000000000,1<=B<=10^1000000). Input There are multiply testcases. Each tes 阅读全文
posted @ 2020-01-20 17:14 GRedComeT 阅读(131) 评论(0) 推荐(0) 编辑