luo想要个气球
luo想要个气球
全部文章
题解
未归档(1)
归档
标签
去牛客网
登录
/
注册
luo想要个气球的博客
全部文章
/ 题解
(共58篇)
【每日一题】德玛西亚万岁
题意: 思路: #include <cstdio> #include <cstring> #include <vector> #include <iostream> using namespace std; const int N = 15;...
2020-06-02
0
687
【每日一题】旅游
题意: 思路: #include <cstdio> #include <algorithm> #include <cstring> using namespace std; const int N = 5e5 + 10; struct Node{ in...
2020-06-01
0
588
【每日一题】Protecting the Flower
题意: 思路: #include <cstdio> #include <algorithm> using namespace std; typedef long long ll; const int N = 1e5 + 10; struct Node{ int ...
2020-05-27
0
656
【每日一题】建筑抢修
贪心 #include <cstdio> #include <algorithm> #include <queue> using namespace std; const int N = 150010; struct Node{ int cost,e...
2020-05-25
0
543
【牛客算法周周练7】Rabbit的工作(1)
#include <cstdio> #include <cstring> #include <algorithm> using namespace std; const int N = 405; int dp[2][N][N];//dp(i,j,k)表示前i天工作...
2020-05-21
3
793
【牛客算法竞赛入门课第二节例题、习题】逆序数
#include <cstdio> using namespace std; const int N = 1e5+10; const int inf = 1e5; typedef long long ll; int tree[N]; int n; int lowbit(int x){ ...
2020-05-21
1
744
【牛客算法竞赛入门课第二节例题、习题】吐泡泡
#include <cstring> #include <cstdio> #include <stack> using namespace std; const int N = 110; stack<char> s; char str[N]; void...
2020-05-21
0
774
【牛客算法竞赛入门课第二节例题、习题】Laptop
#include <cstdio> #include <algorithm> using namespace std; const int N = 1e5 + 10; pair<int,int> a[N]; int n; int main(){ scanf...
2020-05-21
0
600
【每日一题】图的遍历
#include <cstdio> #include <cstring> #include <iostream> using namespace std; const int N = 1e5 + 10; const int M = 2e5 + 10; bool f...
2020-05-21
0
580
【每日一题】中位数图
思路: #include <cstdio> #include <map> using namespace std; const int N = 1e5+10; map<int,int> mp; int a[N]; int main(){ int n,b,...
2020-05-21
0
625
首页
上一页
1
2
3
4
5
6
下一页
末页