C语言训练-自由落体问题(c语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i; double a=100,sum=100; scanf("%d",&n); …… 题解列表 2021年10月31日 0 点赞 0 评论 846 浏览 评分:9.9
编写题解 1248: 简单的事情 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ double a,b,c,d; while(scanf("%lf%lf",&a,&b)!=EOF){…… 题解列表 2021年10月31日 0 点赞 0 评论 557 浏览 评分:9.9
递归永远的神 摘要:看到这题时,就想着用递归做。参考代码:#include<stdio.h> void fun(int n) { if(n==1) printf("A"); else { …… 题解列表 2021年11月01日 0 点赞 0 评论 491 浏览 评分:9.9
筛法求之N内的素数,思路简单,操作容易!!(c语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int n; scanf("%d",&n); int i,j; …… 题解列表 2021年11月01日 0 点赞 0 评论 739 浏览 评分:9.9
入门写法 c语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int judge(int);int main(){ int a,su,x; scanf("%d",&a); x=judge(a)…… 题解列表 2021年11月01日 0 点赞 0 评论 362 浏览 评分:9.9
1095 清晰解答 摘要:解题思路:注意事项:就是坑,考虑的细节较多参考代码:while True: try: i,j = map(int,input().split()) print(i,j…… 题解列表 2021年11月01日 0 点赞 0 评论 984 浏览 评分:9.9
1115: DNA python版本 摘要:```python N = int(input()) for z in range(N): if z != 0: print() a,b=map(int,input().strip(…… 题解列表 2021年11月01日 0 点赞 0 评论 537 浏览 评分:9.9
[编程入门]-求和训练-简单解(C语言) 摘要:解题思路:首先:题目中说和要保留两位小数,辣么毫无疑问double sum;贴上;题目一看就知道要输入三个整数,int a,b,c; 贴上。从1~a,1~b,1~c,可以康出,吾们需要用循环来求和,辣…… 题解列表 2021年11月01日 0 点赞 0 评论 388 浏览 评分:9.9
汽水瓶,递归(c语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int haha(int n);int sum=0;int main(){ int n; while(scanf("%d",…… 题解列表 2021年11月02日 0 点赞 0 评论 702 浏览 评分:9.9
1045: [编程入门]自定义函数之整数处理 摘要:解题思路:选择循环,选出最大值、最小值。 将最大值和是s[9]交换,最小值和s[0]交换.最后输出(记得带空格)注意事项:参考代码:int s[10],max,i,j,k,p,min,h;for(i…… 题解列表 2021年11月02日 0 点赞 0 评论 546 浏览 评分:9.9