1067: 二级C语言-分段函数 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { double x,y; scanf("%lf",&x); if…… 题解列表 2022年06月22日 0 点赞 0 评论 338 浏览 评分:0.0
简单输出易懂 精度控制 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a; int b; float c; double d; scanf("…… 题解列表 2022年06月22日 0 点赞 0 评论 439 浏览 评分:0.0
三个字符串的排序 摘要:解题思路:利用一种类比推理的思想即可解决;注意事项:审题很重要参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string…… 题解列表 2022年06月22日 0 点赞 0 评论 383 浏览 评分:0.0
用string字符串的性质来解决[编程入门]自定义函数之数字分离(C++语言) 摘要:解题思路:把输入看成一个字符串,然后再根据string字符串的性质即可;注意事项:审题很重要;参考代码:#include<bits/stdc++.h>using namespace std;int m…… 题解列表 2022年06月22日 0 点赞 0 评论 455 浏览 评分:9.9
学生成绩,1598 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ struct Student { char name[100]; char sex[100]; int a…… 题解列表 2022年06月21日 0 点赞 0 评论 439 浏览 评分:0.0
链表合并,1052 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>struct Student{ int num; int score;};struct Node{ …… 题解列表 2022年06月21日 0 点赞 0 评论 512 浏览 评分:0.0
简单输出易懂 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float n; scanf("%f", &n); printf("%.3f", n);}…… 题解列表 2022年06月21日 0 点赞 0 评论 401 浏览 评分: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 评论 395 浏览 评分: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 评论 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 评论 305 浏览 评分:0.0