题解列表

筛选

计算质因子 (C++代码)

摘要:参考代码:#include <iostream>#include <stdio.h>using namespace std;bool mark[1000];int prime[1000];int pr……

打水问题 (C语言代码)

摘要:解题思路:贪心策略注意事项:参考代码:#include <stdio.h>int main(){ int a[100],b[10][100]={{0,0}};  int n,m,sum=0,t,i,j……

【出圈】 (C语言代码)

摘要:解题思路:利用指针取找最后留下来的数值,参见语句注释注意事项:参考代码:#include<stdio.h>int main(){    int i,n,m,*p,a[1000],k,l;  //定义整……