题解列表

筛选

编写题解 2828: 与7无关的数(c语言

摘要:解题思路:一个正整数,如果它能被7整除,或者它的十进制表示法中某一位上的数字为7,则称其为与7相关的数。现求所有小于等于n(n < 100)的与7无关的正整数的平方和。注意事项:①不能被7整除    ……

编写题解 2837: 年龄与疾病

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int jibing(int A[100],float n){ int i; float  w,x,y,z; for(i=0;i<n;……

简简单单解决-C语言

摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() {     int arr[100][100];     int brr[100][100];    ……

2901: 查找特定的值

摘要:```cpp #include #include using namespace std; int main() { int m,n,a[10000],i=0; mems……