刷题记录(头秃第n天) 摘要:#include<string.h>#include<stdio.h>#define N 100int main(){ char str1[N],str2[N],str3[N],str4[N];…… 题解列表 2022年03月20日 0 点赞 0 评论 158 浏览 评分:0.0
三个字符串的排序 摘要:```java import java.util.Arrays; import java.util.Scanner; public class Main { public static…… 题解列表 2022年04月19日 0 点赞 0 评论 134 浏览 评分:0.0
三个字符串的排序 摘要:解题思路:直接用short注意事项:没有参考代码:#include<bits/stdc++.h>using namespace std;string s[8];int main(){ for(i…… 题解列表 2022年04月29日 0 点赞 0 评论 209 浏览 评分:0.0
三个字符串的排序 摘要:解题思路:直接排序,暴力。注意事项:sort(里a是加3);参考代码:#include<bits/stdc++.h>using namespace std;string a[3]; int main(…… 题解列表 2022年05月06日 0 点赞 0 评论 218 浏览 评分:0.0
【1】字符串排序听都没听过 摘要:解题思路:两种输入的方法,就是不知道可以用map吗注意事项:参考代码:#a=[]#for i in range(3):# a.append(input())a,b,c=input(),input…… 题解列表 2022年05月12日 0 点赞 0 评论 164 浏览 评分:0.0
想到的最简单的方法 摘要:解题思路:用strcmp函数比较字符串,strcpy函数交换字符串。注意事项:参考代码:#include <stdio.h>#include <string.h>int main(int argc, …… 题解列表 2022年06月12日 0 点赞 0 评论 156 浏览 评分:0.0
1044: [编程入门]三个字符串的排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> #include<ctype.h> int main() { char str…… 题解列表 2022年06月14日 0 点赞 0 评论 164 浏览 评分:0.0
三个字符串的排序 摘要:解题思路:利用一种类比推理的思想即可解决;注意事项:审题很重要参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string…… 题解列表 2022年06月22日 0 点赞 0 评论 160 浏览 评分:0.0
[编程入门]三个字符串的排序:不断strcpy 摘要:解题思路:类比a,b,c三个数比较大小注意事项:字符串内置函数的使用方法参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100],…… 题解列表 2022年07月31日 0 点赞 0 评论 191 浏览 评分:0.0
应该算是比较简单的方法了 摘要:```cpp #include #include using namespace std; //输入三个字符串,按由小到大的顺序输出 int main() { string arr[3…… 题解列表 2022年08月05日 0 点赞 0 评论 197 浏览 评分:0.0