1019: [编程入门]自由下落的距离计算(简单的解法) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i; double n,m,k=0,num=0; scanf("%lf %lf",&m…… 题解列表 2024年11月15日 0 点赞 0 评论 462 浏览 评分:0.0
自定义函数之字符提取 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void yuany(char a[]){ char b[100]; int i,j=0; for(i=0;i<100…… 题解列表 2024年11月15日 0 点赞 0 评论 520 浏览 评分:0.0
没用strcat,用的gets和puts, 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>void lianj(char f1[],char f2[]){ int k,i,p; …… 题解列表 2024年11月15日 0 点赞 0 评论 596 浏览 评分:9.9
初学者的写法 摘要:解题思路: 无脑if else注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ double a,b,c,d; …… 题解列表 2024年11月15日 1 点赞 0 评论 1483 浏览 评分:9.9
1016: [编程入门]水仙花数判断(暴力解答) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main() { int b, n, i, sum; for (i = 100;…… 题解列表 2024年11月15日 0 点赞 0 评论 1430 浏览 评分:0.0
1013: [编程入门]Sn的公式求和(最简单解法) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a=2,sum=0,i,n; scanf("%d",&n); for(i=0;i<n;…… 题解列表 2024年11月14日 4 点赞 0 评论 1144 浏览 评分:0.0
大一新生用C语言编写的 摘要:解题思路:不知道为啥用scanf,printf就不行注意事项:参考代码:#include<stdio.h>#include<string.h>void fanh(char a[]);//函数的声明in…… 题解列表 2024年11月14日 1 点赞 0 评论 765 浏览 评分:0.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,sum=0; scanf("%d",&n); sum=n*2+n*(n-1)/2*…… 题解列表 2024年11月14日 1 点赞 0 评论 522 浏览 评分:0.0
只用循环做出本题 摘要:解题思路:穷举每个情况注意事项:想好逻辑就行参考代码:#include<stdio.h>int main(){ int n; scanf("%d", &n); …… 题解列表 2024年11月14日 2 点赞 0 评论 709 浏览 评分:0.0
偷老师的思路,再稍微修改一下 摘要:解题思路:一直存值到别的数就行了注意事项:参考代码:#include <stdio.h>//一直把数据存放到别的数中 int main() { double n,a=2,i,s=2,b=1.0,t; …… 题解列表 2024年11月14日 3 点赞 1 评论 886 浏览 评分:9.9