回归梦想
回归梦想
全部文章
未归档
dfs(2)
leetcode(3)
PTA(5)
python(1)
一起开心(1)
后缀数组(2)
图论(4)
多校(4)
天梯赛(8)
字符串(8)
数据结构(1)
模板(4)
每日一题(56)
点分治(2)
牛客题霸(117)
知识(4)
算法(76)
经验分享(2)
网络流24(11)
莫比乌斯反演(2)
队列(2)
题解(271)
归档
标签
去牛客网
登录
/
注册
回归梦想的博客
全部文章
/ 未归档
(共539篇)
Poj 1011 &&UVA - 307 Sticks
牛客网 poj 1011 题目: George took sticks of the same length and cut them randomly until all parts became at most 50 units long. Now he wants to return...
2020-11-04
0
445
HAPPY2020暑假训练前复习
A.计蒜客 - T1381 输出hello world 万恶之源 B.51Nod - 2060 全排列输出 不要用STL的next_permutation,会超时 #include <bits/stdc++.h> using namespace std; const int ma...
2020-11-04
0
301
hdu 1576 A/B
文章目录 题目: 题解: 代码: hdu 1576 题目: 要求(A/B)%9973,但由于A很大,我们只给出n(n=A%9973)(我们给定的A必能被B整除,且gcd(B,9973) = 1)。 Input ...
2020-11-04
0
386
Poj 1061 青蛙的约会
Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 143491 Accepted: 33018 Description 文章目录 题目: 思路: 代码: ...
2020-11-04
0
477
数论 欧几里得与扩展欧几里得
欧几里得算法: 求a,b的最大公约数 gcd(a,b)= gcd(b,a%b) ll gcd(ll a,ll b) { return b==0?a:gcd(b,a%b); } 扩展欧几里得算法: 如果a,b是整数,一定存在x和y使得ax+by=gcd(a,b) 也就是ax+by=...
2020-11-04
0
283
hdu 1525 Euclid‘s Game
hdu 1525 文章目录 Problem Description 题意: 题解: 代码: Problem Description Two players, Stan and Ollie, play, st...
2020-11-04
0
377
Poj 3070 Fibonacci
Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 26063 Accepted: 17394 文章目录 Description 题意: 题解: 代码: ...
2020-11-04
0
335
HDU 2504 又见GCD
HDU 2504 文章目录 Problem Description 题解: 代码: Problem Description 有三个正整数a,b,c(0<a,b,c<10^6),其中c不等于b。若a和c的...
2020-11-04
0
486
Poj 1284 Primitive Roots
文章目录 Description 题意: 题解: 代码: Poj 1284 Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 6485 Accep...
2020-11-04
0
383
一起开心2020暑假训练第一周
hdu 1576 A/B oj传送 题解: Poj 1061 青蛙的约会 oj传送 题解: hdu 1525 Euclid‘s Game oj传送 题解: Poj 3070 Fibonacci oj传送 题解: HDU 2504 又见GCD oj传送 题解: Poj 1284 P...
2020-11-04
0
356
首页
上一页
33
34
35
36
37
38
39
40
41
42
下一页
末页