题解列表

筛选

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() {……

求绝对值的方法

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main (){ float a; scanf("%f",&a); if(a>=0){ printf("%.2f",a); }……