题解列表

筛选

第一个HelloWorld程序(Python代码)

摘要:解题思路:直接使用3个print语句注意事项:1、Python语言的每个语句后面不需要跟分号;2、输入多个相同符号可直接采用解法二的方法,输入符号后直接在后面跟*n(n为符号个数)。参考代码:解法一:……

数列极差(C++)

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int cmp(int a,int b){  retur……

floyd算法套用模板

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring> #include<algorithm> using namespace std; con……

绝对值排序

摘要:解题思路:冒泡排序注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){    int n;    whi……

格式化输出

摘要:解题思路:之前在洛谷上有类似的题注意事项:注意每行字符的空格数,多一个都不行参考代码:#include <iostream> using namespace std; int main() { ……