今天也是很爱老公们的一天呀! 摘要:解题思路:别人教我的注意事项:不知道参考代码:print(''' ******** ************ …… 题解列表 2023年09月27日 0 点赞 0 评论 528 浏览 评分:9.9
单词翻转(要考虑输出空格和最后一个单词) 摘要:参考代码: ```c #include #include #include int main() { char a[500]; gets(a); int len=strlen(…… 题解列表 2023年09月27日 0 点赞 0 评论 427 浏览 评分:0.0
1848: 求输入数据绝对值 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<bits/stdc++.h> using namespace std; int main() { …… 题解列表 2023年09月27日 0 点赞 0 评论 316 浏览 评分:0.0
1849: 成绩等级转换 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<bits/stdc++.h> using namespace std; int main() { …… 题解列表 2023年09月27日 0 点赞 0 评论 425 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:#include<stdio.h>#include<stdlib.h>int partion(int a[], int i, int j){ int temp = a[i];…… 题解列表 2023年09月27日 0 点赞 0 评论 297 浏览 评分:0.0
简单重新排序一下列表,就可以了 摘要:解题思路:1、使输入的10个整数,组成一个列表2、在列表中寻找最小值的位置3、将最小值与列表第一位互换位置4、因为第一位已经是10个数的最小值了,所有从第二位开始,寻找第二位到第10位的最小值5、如上…… 题解列表 2023年09月27日 0 点赞 0 评论 318 浏览 评分:9.9
1850: 判断第几天 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main() { string str; in…… 题解列表 2023年09月27日 0 点赞 0 评论 339 浏览 评分:0.0
1853: 蓝桥杯基础练习-数列排序 摘要:解题思路:注意事项:参考代码: #include<iostream> using namespace std; #include<vector> #include<algorithm> …… 题解列表 2023年09月27日 0 点赞 0 评论 415 浏览 评分:0.0
标题五个字 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int m1,m2,n1,n2,isok=1; scanf("%d %d",&m1,&m2);…… 题解列表 2023年09月27日 0 点赞 0 评论 444 浏览 评分:9.9
遍历树——直接硬搜(思路超简单) 摘要:解题思路:开多几个数组分别记录每个店的各种元素(也可以考虑用结构体)(a-父亲节点,b-该点具体值,c-左孩子节点,d-右孩子节点,p-旗帜 )本题的关键在于一个点距离另一个点的距离,函数中可设一个该…… 题解列表 2023年09月27日 0 点赞 0 评论 402 浏览 评分:9.9