摘要:
题目:Given two integers, a and b, you should check whether a is divisible by b or not. We know that an integ... 阅读全文
摘要:
题目:If an integer is not divisible by 2 or 5, some multiple of that number in decimal notation is a sequenc... 阅读全文
摘要:
题目:求:3^0 + 3^1 +...+ 3^(N) mod 1000000007Input输入一个数N(0 using namespace std;typedef long long ll;const ll M... 阅读全文
摘要:
问题:给出2个数M和N(M using namespace std;typedef long long ll;int exgcd(int a,int b,int &x,int &y){ if(b==0) { x... 阅读全文
摘要:
A/BTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s):... 阅读全文