题解列表

筛选

优秀的拆分简单题解

摘要:解题思路:先找到小于等于n的最高2次幂,在找与其差值的2次幂,逐个输出即可。注意事项:1<<(power+1)=1*2的(power+1)次方参考代码:#include<stdio.……

3031:分解因数

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int count=1;int fun(int num,int n){ for(int i=n;i……

2000:列举小于n的偶数

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i=1,n; scanf("%d",&n); while(i&l……

适合新手的题解

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double b;i……