摘要:
include <bits/stdc++.h> using namespace std; long long a, b, sum; int main() { cin >> a >> b; if (a%20) a/=2; else a=a/2+1; if (b%20) b/=2; else b=b/2 阅读全文
摘要:
include <bits/stdc++.h> using namespace std; long long t, a, b, c; long long sum; long long lcm(long long a,long long b) { return a*b/__gcd(a,b); } in 阅读全文
摘要:
include <bits/stdc++.h> using namespace std; int main() { long long x, y, sum=0; cin >> x >> y; for (long long i=1;ii<=xy;i++) { long long j=xy/i; if 阅读全文
摘要:
include <bits/stdc++.h> using namespace std; int main() { int a, b, n=0; cin >> a >> b; for (int i=max(a, b)-min(a, b)+1;i<a+b;i++)//1 { if (a+b>i) n+ 阅读全文
摘要:
include using namespace std; int a[21][21]; int main(){ int n, s; cin >> n >> s; for(int j = 1; j <= n; j++) { for(int i = 1; i <= j; i++,s++){ a[i][j 阅读全文
摘要:
include <bits/stdc++.h> using namespace std; bool lucky(int j) { int sum=0; while (j>0) { sum=j%10;//反思1 j/=10;//反思1 if (sum<=j%10) return false; } re 阅读全文