编写题解 1014: [编程入门]阶乘求和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){long long int i,j=1,n,Sn=0; scanf("%d",&n); if(n<=20) { …… 题解列表 2022年11月23日 0 点赞 0 评论 212 浏览 评分:0.0
编写题解 1015: [编程入门]求和训练 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a,b,x=0,y=0; float c,i,z=0.0,sum; sc…… 题解列表 2022年11月23日 0 点赞 0 评论 225 浏览 评分:0.0
编写题解 1016: [编程入门]水仙花数判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,i; for(i=100;i<=999;i++) { a=i/100; b=i/10%1…… 题解列表 2022年11月23日 0 点赞 0 评论 213 浏览 评分:0.0
编写题解 1017: [编程入门]完数的判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,sum,N; scanf("%d",&N); for(i=1;i<=N;i++) { …… 题解列表 2022年11月23日 0 点赞 0 评论 213 浏览 评分:0.0
编写题解 1026: [编程入门]数字逆序输出 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,a[10],temp; for(i=0;i<10;i++) scanf("%d",&a[i]);…… 题解列表 2022年11月23日 0 点赞 0 评论 211 浏览 评分:0.0
编写题解 1027: [编程入门]自定义函数处理最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int gongyue(int n,int m){ int i; for(i=n;i>1;i--) { if(m%i==0 && n%i…… 题解列表 2022年11月23日 0 点赞 0 评论 224 浏览 评分:0.0
剪刀石头布 摘要:解题思路:注意事项:参考代码: enum GAME{stone,paper,scissor}game; int main(){ int player1, player2,result; scanf("…… 题解列表 2022年11月23日 0 点赞 0 评论 242 浏览 评分:0.0
无循环纯递归 摘要:```c #include void An(int, int); void Sn(int); int n;//定义全局变量 int main(void) { scanf("%…… 题解列表 2022年11月23日 0 点赞 0 评论 329 浏览 评分:0.0
Pascal三角--C语言 摘要:解题思路:注意事项:参考代码:int main(){ int PASCAL[100][100] = { 0 }; int i, j,Length_space,row; scanf("%d", &row…… 题解列表 2022年11月23日 0 点赞 0 评论 290 浏览 评分:0.0
不用分类讨论c语言解决大神老白 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(){ int n,i,a[100],s; while((scanf("%d",&n…… 题解列表 2022年11月23日 0 点赞 0 评论 314 浏览 评分:0.0