C++阶乘20行解决 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;void test(){ long long num,nub=1,a=0;//nub是到当前数…… 题解列表 2023年11月07日 0 点赞 0 评论 154 浏览 评分:0.0
1022c语言代码 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int N,i,j,t; scanf("%d",&N); for(i=2;i<=N;i++){ t=0; …… 题解列表 2023年11月07日 0 点赞 0 评论 195 浏览 评分:0.0
1023c语言代码 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int i,j,t,a[100],min; for(i=0;i<10;i++){ scanf("%d",&a…… 题解列表 2023年11月07日 0 点赞 0 评论 233 浏览 评分:0.0
1024c语言代码 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int i,j,k=0,l=0,m,n,sum1=0,sum2=0,a[100][100],b[100],c[…… 题解列表 2023年11月07日 0 点赞 0 评论 164 浏览 评分:0.0
统计成绩! 摘要:#include <stdio.h>int unpass=0;int main(){ float average(float a[]); float a[10],aver; int i; …… 题解列表 2023年11月07日 0 点赞 0 评论 303 浏览 评分:0.0
c代码记录之电报加密 摘要:解题思路:怀疑编译器有问题,题目要求输入一行字符,按这个要求写的代码不能过,奇怪注意事项:参考代码:通过的代码,但这个代码第二行的内容也是会输出的,与题目要求不符#includeint main()…… 题解列表 2023年11月07日 0 点赞 0 评论 177 浏览 评分:0.0
c代码记录之自定义函数处理素数--C 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int m; scanf("%d",&m); sushu(m); …… 题解列表 2023年11月07日 0 点赞 0 评论 122 浏览 评分:0.0
c代码记录之自定义函数处理最大公约及最小公倍数--C 摘要:解题思路:注意事项:参考代码:int gys(int(x),int(y)) { int i; for(i=x;;i--) if(x%i==0&&y%i==0)…… 题解列表 2023年11月07日 0 点赞 0 评论 149 浏览 评分:0.0
自定义函数写法 摘要:解题思路:自定义函数解法。注意事项:1不是完数。参考代码:#include <stdio.h>int is(int n);int main(void){ int i; for (i = 1…… 题解列表 2023年11月07日 0 点赞 0 评论 172 浏览 评分:0.0
[编程入门]求和训练 (C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float a,b,c,an,bn,cn; an=0.00; bn=0.00; cn=0…… 题解列表 2023年11月07日 0 点赞 0 评论 168 浏览 评分:0.0