题解列表

筛选

明明的随机数 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){       int n,a[101],i,j,t,count=0;       scanf("%d",&n); ……

IP判断 (C语言代码)指针是个好东西

摘要:解题思路:考虑错误的情况,将条件分为大前提小前提,对于不满足大前提或满足大前提不满足小前提的输出N并且终止,能走到最后的就是正确的IP参考代码 #include <stdio.h> int mai……

拆分位数--循环结构

摘要:解题思路:用循环结构注意事项:3位数(i<3)参考代码:#include <stdio.h>#include <stdlib.h>int main(){    int num,i,a[3],j=1; ……

我美吗!

摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <math.h> int main() {  int a[100],n,sum;  while(scan……