摘要:
题目链接:http://codeforces.com/contest/1284 A.New Year and Naming 给数字,求s字符串数组中对应命名+t字符串数组中对应命名,取余即可 #include<bits/stdc++.h> using namespace std; int main( 阅读全文
摘要:
题目链接:http://codeforces.com/contest/1269 A. Equation 给定n,找到任意两个1e9范围内的a和b,满足a-b=n,a和b都不是质数 #include<bits/stdc++.h> using namespace std; const int mod=1 阅读全文