龍木
龍木
全部文章
分类
c#(1)
codeforces(130)
dp(2)
map(2)
RMQ(1)
一些神奇的东西(1)
三分(1)
前缀和(1)
区间dp(1)
博弈(2)
大数(1)
平面几何(1)
并查集(1)
快数幂(1)
总结(1)
打表(1)
找规律(4)
数学(8)
暴力(1)
最小公约数(1)
最小生成树(1)
未归档(31)
杭电(4)
浅谈(8)
深度优先搜索(1)
牛客(10)
组合数(1)
网络流最大流(2)
题解(3)
归档
标签
去牛客网
登录
/
注册
龍木的博客
全部文章
(共613篇)
D. Solve The Maze
链接:https://codeforces.ml/contest/1365/problem/D Vivek has encountered a problem. He has a maze that can be represented as an n×mn×m grid. Each of the...
2020-09-15
0
0
C. Rotation Matching
链接:https://codeforces.ml/contest/1365/problem/C After the mysterious disappearance of Ashish, his two favourite disciples Ishika and Hriday, were eac...
2020-09-15
0
584
C. Palindromic Paths
链接:https://codeforces.com/contest/1366/problem/C You are given a matrix with nn rows (numbered from 11 to nn) and mm columns (numbered from 11 to mm)...
2020-09-15
0
516
D. Two Divisors
链接:https://codeforces.com/contest/1366/problem/D You are given nn integers a1,a2,…,ana1,a2,…,an. For each aiai find its two divisors d1>1d1>1 ...
2020-09-15
0
369
A Equivalent Prefixes
链接:https://ac.nowcoder.com/acm/contest/6362/A Two arrays u and v each with m distinct elements are called equivalent if and only if RMQ(u,l,r)=RMQ(v,l...
2020-09-15
0
576
2020牛客多校第二场
B.Boundary 题解:n^2求出x、y以及原点三点的外接圆心,找到圆心数量最多的maxn,求maxn=(x-1)*x,解出方程即可,主要是要特判三点共线的情况以及精度问题 代码: #include<bits/stdc++.h> using namespace std; #de...
2020-09-15
0
437
2020牛客多校第三场
A.Clam and Fish 贪心,有鱼一定钓鱼,没有看后面的无鱼地有多少,可以用前缀和处理出来,比较一下就行了 代码: #include<bits/stdc++.h> using namespace std; #define ll long long #define pi ac...
2020-09-15
0
379
2020牛客多校第四场
B.Basic Gcd Problem www我的锅,一直以为1返回的是c没有特判,直到队友问了才发现QAQ 就是简单的快数幂 代码: #include<bits/stdc++.h> using namespace std; #define ll long long #defin...
2020-09-15
0
469
2020牛客多校第五场
D.Drop Voicing 最后队友猜了一发结论是最长上升子序列,过了。。。 #include<bits/stdc++.h> using namespace std; typedef unsigned long long ll; #define sc(a) scanf("...
2020-09-15
0
479
2020牛客多校第六场
B.Binary Vector 看样例,求逆元异或前缀和 #include<bits/stdc++.h> using namespace std; typedef unsigned long long ll; const int mod=1e9+7; const int maxn=2...
2020-09-15
0
497
首页
上一页
24
25
26
27
28
29
30
31
32
33
下一页
末页