摘要:
问题分析 gcd + 优化 (一个数的因数至少有一半小于等于 sqrt(这个因数) AC代码如下: cpp include include include include using namespace std; const int maxn=4e5+3; long long num[maxn] ; 阅读全文
摘要:
代码如下 cpp include include using namespace std; int main () { char a[100]; define io//提交时删除这个 ifdef io freopen("a.txt","r",stdin); //在程序文件 下创建a.txt 导入题目 阅读全文
摘要:
B After Training CodeForces 195B 解题思路 模拟 球放 有球最少的篮子 并在此基础上尽量靠中间 取模判定 位置 注意左右 奇数 偶数 AC 代码如下 cpp include using namespace std; int main() { int n,m; cin 阅读全文