1011.最大公约数与最小公倍数c语言练习 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int m,n,x,y,t; scanf("%d %d",&m,&n); y=m*n; while(n!=0)…… 题解列表 2022年10月29日 0 点赞 0 评论 327 浏览 评分:0.0
调用数学函数库求解 摘要:解题思路:先输入三个数字,依次求解累加注意事项:注意不要把小数点丢了,这是一个小细节。参考代码:#include<stdio.h> #include<math.h> int main() { …… 题解列表 2022年10月29日 0 点赞 0 评论 227 浏览 评分:0.0
1093——字符逆序 摘要:参考代码:#include"stdio.h" #include"string.h" typedef char string[111]; string str; void fun(char *s…… 题解列表 2022年10月29日 0 点赞 0 评论 253 浏览 评分:0.0
编写题解 1676: 数据结构-链表的基本操作 摘要:### 使用结构体存数据和地址  ```cpp typedef struct…… 题解列表 2022年10月30日 0 点赞 0 评论 399 浏览 评分:0.0
敲简单C语言代码!!! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,s; char c; int h=0,k; while((k=scanf…… 题解列表 2022年10月30日 0 点赞 0 评论 292 浏览 评分:0.0
用栈来判断是否回文 摘要:解题思路:先判断是否是回文数,然后再判断之和注意事项: 注意-1的情况参考代码:import java.util.Scanner;import java.util.Stack;public c…… 题解列表 2022年10月30日 0 点赞 0 评论 320 浏览 评分:0.0
题目有漏洞吧 摘要:解题思路:本来还要判断两边之和大于第三边,没想到不用,这是为什么,请问,这样就一定能成为三角形吗?是不是题目有漏洞?注意事项:参考代码:##l=list(map(int,input().split()…… 题解列表 2022年10月30日 0 点赞 0 评论 333 浏览 评分:0.0
懂得都懂写法 摘要:参考代码:#include<iostream>#include<algorithm>#include<cstring>#include<sstream>using namespace std;cons…… 题解列表 2022年10月30日 0 点赞 0 评论 376 浏览 评分:0.0
数组存储求解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n = -1, p[100], j = 0, k = 0, l = 0; do { n++; sca…… 题解列表 2022年10月30日 0 点赞 0 评论 479 浏览 评分:0.0
1057编写分段函数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x; float y; scanf("%d",&x); { if(x<1) …… 题解列表 2022年10月30日 0 点赞 0 评论 241 浏览 评分:0.0