Sn的公式求和,1013 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int num=1,n,total=2,a=2; scanf("%d",&n); while(…… 题解列表 2022年06月21日 0 点赞 0 评论 411 浏览 评分:0.0
N以内的素数,1022 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,a,count; scanf("%d", &n); for (i = 2; i…… 题解列表 2022年06月21日 0 点赞 0 评论 304 浏览 评分:0.0
简单输出易懂 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); printf("%#o %#d %#x\n",n,n, n);}…… 题解列表 2022年06月21日 0 点赞 0 评论 408 浏览 评分:0.0
二维数组的转置,1030 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int num[3][3]; int r, c; for (r = 0; r < 3; r++…… 题解列表 2022年06月21日 0 点赞 0 评论 392 浏览 评分:0.0
简单输出易懂 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float n; scanf("%f", &n); printf("%.3f", n);}…… 题解列表 2022年06月21日 0 点赞 0 评论 398 浏览 评分:0.0
链表合并,1052 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>struct Student{ int num; int score;};struct Node{ …… 题解列表 2022年06月21日 0 点赞 0 评论 510 浏览 评分:0.0
学生成绩,1598 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ struct Student { char name[100]; char sex[100]; int a…… 题解列表 2022年06月21日 0 点赞 0 评论 435 浏览 评分:0.0
三个字符串的排序 摘要:解题思路:利用一种类比推理的思想即可解决;注意事项:审题很重要参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string…… 题解列表 2022年06月22日 0 点赞 0 评论 382 浏览 评分:0.0
简单输出易懂 精度控制 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a; int b; float c; double d; scanf("…… 题解列表 2022年06月22日 0 点赞 0 评论 438 浏览 评分:0.0
1067: 二级C语言-分段函数 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { double x,y; scanf("%lf",&x); if…… 题解列表 2022年06月22日 0 点赞 0 评论 336 浏览 评分:0.0