题解 1044: [编程入门]三个字符串的排序

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

c代码记录之三个字符串排序

摘要:题目没说每行字符串的上限长度,直接char a[1000]或a[10000]感觉都不太严谨,就用了动态数组,比较冗长 #include #include #include ……

字符串排序

摘要:解题思路:和数字比较大小一样注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){    char a[100];    char b[100……

C语言:用指针解

摘要:解题思路:因为字符串无法直接赋值,所以利用指针切换地址即可参考代码:#include <stdio.h>#include <string.h>int main() {    char str1[100……

代码的尽头是优雅

摘要:解题思路: 定义一个容器存储三个字符串注意事项:多利用工具类进行优化算法参考代码:import java.util.*;public class Main {    static Scanner sc……

三个字符串的排序

摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <math.h> #include <string.h> int main() {     // 声……

!三个字符串的排序

摘要:#include <stdio.h>#include <string.h> int main(){ char x[100];char y[100];char z[100];  char c1[100]……

三目运算符运用

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main() {    char a[99],b[99],c[99];//输入字符串    ……