LightOJ - 1132 Summing up Powers
Given N and K, you have to find
(1K + 2K + 3K + ... + NK) % 232
Input
Input starts with an integer T (≤ 200), denoting the number of test cases.
Each case contains two integers N (1 ≤ N ≤ 1015) an
原创
2017-07-13 20:40:42 ·
298 阅读 ·
0 评论