1093: 字符逆序 摘要: #include #include int main() { char arr[100] = { '\0' }; fgets(arr,100,stdin);//fgets()会把读入…… 题解列表 2022年11月09日 0 点赞 0 评论 238 浏览 评分:0.0
格式控制(附带知识点) 摘要:解题思路:首先要了解域宽的概念,比如%d中前面的数字表示他的域宽,则比如%8d(这里是向右靠齐),则如果输入了7位数,则输出时多出来的一位会多出一个空格,但是如果输入大于等于8位数,则按实际的数来输出…… 题解列表 2022年11月09日 1 点赞 0 评论 1968 浏览 评分:9.8
C语言要怎么写啊,感觉我的不太行 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void main(){ int arr[3]; for (int i = 0; i < 3; i++) sc…… 题解列表 2022年11月09日 0 点赞 1 评论 365 浏览 评分:0.0
这么简单的题还属于中档题? 摘要:解题思路:基本操作注意事项:这有什么注意的,直接五星好评参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d %d",&a,&b); …… 题解列表 2022年11月09日 0 点赞 0 评论 1052 浏览 评分:9.9
画矩形(C语言简便易懂) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,n,i,j; char cl; scanf("%d %d %c %d",…… 题解列表 2022年11月09日 0 点赞 0 评论 413 浏览 评分:9.7
数组的选择排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[10],i,t,k,j; for(i=0;i<10;i++) …… 题解列表 2022年11月09日 0 点赞 0 评论 228 浏览 评分:0.0
应该是这个吧 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float a; double b; scanf("%f%lf",&a,&b); pri…… 题解列表 2022年11月09日 0 点赞 2 评论 753 浏览 评分:7.3
完数的判断(一般解法) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int i,j,a[100],m,x; int N,s; scanf…… 题解列表 2022年11月09日 0 点赞 0 评论 154 浏览 评分:0.0
求总时间.... 摘要:#include<stdio.h>int main(){int i,N;float time=30,sum=0;scanf("%d",&N);for(i=1;i<N;i++){ sum+=time; …… 题解列表 2022年11月09日 0 点赞 0 评论 239 浏览 评分:0.0
二叉排序树的实现(主要语言是C,只是用了C++的引用) 摘要:```cpp #include #include typedef int ElemType; typedef struct BiNode{ ElemType data;…… 题解列表 2022年11月09日 0 点赞 0 评论 334 浏览 评分:0.0