字符排序-题解(各语言代码) 摘要:**python** ```python for _ in range(int(input())):print(''.join(sorted(input()))) ``` **java** …… 题解列表 2022年06月18日 0 点赞 0 评论 529 浏览 评分:0.0
自定义函数之整数处理 摘要:解题思路:首先声明了四个函数,依次分别为:赋值函数,最小数最与第一位交换的函数,最大数与最后一位交换的函数,以及打印结果的函数。赋值函数:首先在主函数中定义一个十位 的数组,再进入赋值函数中,在函数中…… 题解列表 2022年06月19日 0 点赞 0 评论 482 浏览 评分:0.0
去掉空格C语言 摘要:解题思路:首先赋值,利用循环函数,依次判断,只要遇到空格,就暂时调出循环,否则就打印该值注意事项:参考代码:#include"stdio.h"#include"string.h"int main(){…… 题解列表 2022年06月19日 0 点赞 0 评论 592 浏览 评分:0.0
1025: [编程入门]数组插入处理 C++版 摘要:解题思路:冒泡排序注意事项:参考代码:#include<iostream>using namespace std;long long a[15],z;int main(){ for(int i=1;i…… 题解列表 2022年06月19日 0 点赞 0 评论 412 浏览 评分:0.0
1048: [编程入门]自定义函数之字符串拷贝 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main() { char st[100],st2[100]; int n,m…… 题解列表 2022年06月20日 0 点赞 0 评论 377 浏览 评分:0.0
自由下落函数法 摘要:解题思路:注意事项:参考代码:# include<stdio.h># include<math.h>void ReBack(int M,int N);int main(){ int M,N; …… 题解列表 2022年06月20日 0 点赞 0 评论 355 浏览 评分:0.0
自由下落 暴力拆解 摘要:#include<stdio.h>#include<math.h>int main(){ int i; float c,sum=0,sum2; double m,n; scanf("%…… 题解列表 2022年06月20日 0 点赞 0 评论 383 浏览 评分:0.0
1049: [编程入门]结构体之时间设计 摘要:解题思路:注意事项:参考代码:#include<stdio.h> struct tim { int y; int m; int d; }; int ispr(int…… 题解列表 2022年06月20日 0 点赞 0 评论 345 浏览 评分:0.0
strlen的灵活运用 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int i,n,m; char a[20],b[20]; …… 题解列表 2022年06月20日 0 点赞 0 评论 420 浏览 评分:0.0
1050: [编程入门]结构体之成绩记录 摘要:解题思路:注意事项:#include<stdio.h> struct inf { char num[15]; char name[15]; int a; in…… 题解列表 2022年06月20日 0 点赞 0 评论 353 浏览 评分:0.0