摘要:
问题 G: Digit Sum II 时间限制: 1 Sec 内存限制: 128 MB提交: 36 解决: 11[提交][状态][讨论版][命题人:admin] 题目描述 For integers b(b≥2) and n(n≥1), let the function f(b,n) be defin 阅读全文
摘要:
H 渴望力量吗 二分 #include <bits/stdc++.h> using namespace std; const int N=300000+10; vector<int>edge[N]; bool vis[N]; int main() { int n,x; while(~scanf("% 阅读全文
摘要:
求∑∑((n mod i)*(m mod j))其中1<=i<=n,1<=j<=m,i≠j。 对于100%的数据n,m<=10^9。 对于而言,他的个数很小,最大是63244,因此可以枚举分块确定区域 [ l , n/(n/l) ] c++ code: #include <bits/stdc++.h 阅读全文
摘要:
https://ac.nowcoder.com/acm/contest/123 问题 F: Four-tuples 时间限制: 10 Sec 内存限制: 128 MB 题目描述 Given l1,r1,l2,r2,l3,r3,l4,r4, please count the number of fou 阅读全文
摘要:
Best Rational Approximation 时间限制: 3 Sec 内存限制: 128 MB提交: 297 解决: 25[提交][状态][讨论版][命题人:admin] 题目描述 Many microcontrollers have no floating point unit but 阅读全文