题解列表
1169: 绝对值排序(快排)
摘要:解题思路:快排注意事项:参考代码:#include<iostream>
#include<cstring>
#include<cmath>
using namespace std;
const……
1169: 绝对值排序
摘要:解题思路:归并排序注意事项:参考代码:#include<iostream>
#include<cstring>
#include<cmath>
using namespace std;
con……
一定要去除空格!!!!
摘要:解题思路:去除空格后,忽略字母大小写,进行比较注意事项:参考代码:#include<iostream>#include<string>#include<limits>using namespace s……
明明的随机数- 排序+ 双指针
摘要:解题思路:排序 + 双指针注意事项:参考代码:#include<iostream>
#include<algorithm>
using namespace std;
const int N = ……
1164: 数组的距离- 极简
摘要:解题思路:双指针算法注意事项:参考代码:#include<iostream>
#include<cmath>
using namespace std;
const int N = 1e3 + 1……
1163: 排队买票()
摘要:解题思路:注意事项:参考代码:#include<iostream>
using namespace std;
const int N = 11;
long long a[N];
//计算卡特兰……
2915: 接水问题
摘要:解题思路:注意事项:参考代码:#include <stdlib.h>
#include <stdio.h>
#include <iostream>
#include <string.h>
us……