1029: [编程入门]自定义函数处理素数 摘要:#[编程入门]自定义函数处理素数 ```cpp #include using namespace std; bool f(int a){ bool k=true; for(int i=…… 题解列表 2023年06月04日 0 点赞 0 评论 241 浏览 评分:0.0
1043: [编程入门]三个数字的排序 摘要:```cpp #include using namespace std; int main(){ int a[4]; for(int i=1;i>a[i]; for(int i=1;…… 题解列表 2023年06月04日 0 点赞 0 评论 207 浏览 评分:0.0
[编程入门]自定义函数之字符串拷贝 摘要:```cpp #include using namespace std; int main(){ char a[400]; int n,m; cin>>n; cin>>a; …… 题解列表 2023年06月04日 0 点赞 0 评论 220 浏览 评分:0.0
太睿智了啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊 摘要:解题思路:妈的白给50月租是吧,该死的资本家注意事项:注意资本家,坚持走中国特色社会主义道路参考代码:#include<stdio.h>int main(){ float a,sum,b=50;…… 题解列表 2023年06月04日 0 点赞 0 评论 227 浏览 评分:0.0
编写题解 2908: 白细胞计数 摘要:解题思路:输入--冒泡排序--去除两边求和并求平均值--求绝对值--求绝对值的最大值--输出注意事项:double 类型用fabs参考代码:#include<stdio.h> #include<mat…… 题解列表 2023年06月04日 0 点赞 0 评论 215 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[256],str1[256]; gets(str); st…… 题解列表 2023年06月04日 0 点赞 0 评论 237 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float consume=0.0,a[11] = {28.9,32.7,45.6,78.0,35.0,8…… 题解列表 2023年06月04日 0 点赞 0 评论 230 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, sum = 0, day_earn = 1,i; scanf("%d", &n); …… 题解列表 2023年06月04日 0 点赞 0 评论 189 浏览 评分:0.0
2923: 病人排队 摘要:解题思路:输入--老人和年轻人分开放入数组--将老人冒泡排序--输出老人和年轻人注意事项:结构体参考代码:#include<stdio.h> struct br{ char id[25]; int a…… 题解列表 2023年06月04日 0 点赞 0 评论 305 浏览 评分:0.0
C++ string 类 字符串比较 摘要:# string类 ```c++ #include"iostream" #include #include using namespace std; vectornums; int…… 题解列表 2023年06月04日 0 点赞 0 评论 372 浏览 评分:0.0