【1】字符串排序听都没听过
摘要:解题思路:两种输入的方法,就是不知道可以用map吗注意事项:参考代码:#a=[]#for i in range(3):# a.append(input())a,b,c=input(),input……
1044: [编程入门]三个字符串的排序
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
#include<string.h>
#include<ctype.h>
int main()
{
char str……
[编程入门]三个字符串的排序:不断strcpy
摘要:解题思路:类比a,b,c三个数比较大小注意事项:字符串内置函数的使用方法参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100],……
应该算是比较简单的方法了
摘要:```cpp
#include
#include
using namespace std;
//输入三个字符串,按由小到大的顺序输出
int main()
{
string arr[3……
暴力列举之三个字符串的排序,暴力就完事了
摘要:解题思路:暴力列举,说实话,六种情况有点烦,要写哪个三目操作符的话我头皮发麻,直接列举三个字符串比较的结果好吧注意事项:参考代码:int main(){ int str1[100], str2[……