残魂::残剑
残魂::残剑
全部文章
分类
题解(4)
归档
标签
去牛客网
登录
/
注册
残魂::残剑的博客
全部文章
(共4篇)
题解 | #小Q的排序#
#include <iostream> using namespace std; const int N=1000005; int n; int a[N]; int main() { cin>>n; for(int i=0;i<n;i++) ...
C++
计数
2021-09-24
0
620
题解 | #数三角形#
#include <iostream> using namespace std; struct thr { int x; int y; }; int n; const int N=105; thr t[N]; bool isline(thr a, thr b,th...
C++
几何
数学
2021-09-21
1
653
题解 | #小熊吃糖#
#include <iostream> #include <algorithm> using namespace std; const int N=150; int t[N]; struct x { int att; int hungry; ...
C++
贪心
2021-09-21
0
569
题解 | #两两配对差值最小#
#include <iostream> #include <cmath> #include <algorithm> using namespace std; const int N=1000035; int a[N]; int main() { in...
C++
贪心
2021-09-21
0
586