题解列表

筛选

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……

1162: 密码(遍历)

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int m,cnt = 0; string s, ……

1161: 回文数(高精度)

摘要:解题思路: 高精度求和注意事项:参考代码:#include<iostream> using namespace std; const int N = 1e3 + 10; int a[N],b[N……

2914: 铺地毯

摘要:解题思路:注意事项:参考代码:#include <stdlib.h> #include <stdio.h> #include <iostream> #include <string.h> us……