URAL 1123 Square Root(计算二次剩余)
The number x is called a square root of a modulo n (root( a, n)) if x* x = a (modn). Write the program to find the square root of number a by
given modulo n.
Input
One number K in the first
原创
2017-08-05 18:07:29 ·
510 阅读 ·
0 评论