送给萌新的话

语法入门

如果你是刚刚开始接触程序设计的萌新,可以跟雨巨刷题录播来提高一下代码量 https://www.nowcoder.com/study/live/528

顺序结构程序设计

https://ac.nowcoder.com/acm/contest/18839?from=acdiscuss

选择结构程序设计

https://ac.nowcoder.com/acm/contest/19304?from=acdiscuss

循环结构程序设计

https://ac.nowcoder.com/acm/contest/19305?from=acdiscuss

数组、字符串及数据批量存储

https://ac.nowcoder.com/acm/contest/19306?from=acdiscuss

函数与递归

https://ac.nowcoder.com/acm/contest/19859?from=acdiscuss

栈、队列和stl

https://ac.nowcoder.com/acm/contest/19850?from=acdiscuss

模拟、枚举与贪心

https://ac.nowcoder.com/acm/contest/19851?from=acdiscuss

语法入门课程 https://www.nowcoder.com/courses/cover/live/678?from=acdiscuss

算法入门

模拟、枚举与贪心

https://ac.nowcoder.com/acm/contest/20960?from=acdiscuss

递归与分治思想

https://ac.nowcoder.com/acm/contest/21763?from=acdiscuss

二分、三分、01分数规划

https://ac.nowcoder.com/acm/contest/22353?from=acdiscuss

堆栈、队列、单调栈、单调队列

https://ac.nowcoder.com/acm/contest/22669?from=acdiscuss

优先队列、并查集

https://ac.nowcoder.com/acm/contest/22904?from=acdiscuss

搜索与搜索剪枝

https://ac.nowcoder.com/acm/contest/23156?from=acdiscuss

动态规划1:线性dp、背包问题,区间

https://ac.nowcoder.com/acm/contest/24213?from=acdiscuss

动态规划2:树形dp、状压dp、

https://ac.nowcoder.com/acm/contest/25022?from=acdiscuss

图论基础、最短路与最小生成树

https://ac.nowcoder.com/acm/contest/26077?from=acdiscuss

简单数学基础

https://ac.nowcoder.com/acm/contest/26656?from=acdiscuss

线段树与树状数组

https://ac.nowcoder.com/acm/contest/26896?from=acdiscuss

RMQ与LCA

https://ac.nowcoder.com/acm/contest/27836?from=acdiscuss

算法入门课程 https://www.nowcoder.com/courses/cover/live/724?from=acdiscuss

算法进阶

https://ac.nowcoder.com/discuss/828697

Q&A

Q:如何刷本题单?

本题单分为语法入门和算法入门两部分。

1、刚学完语法,完全没有接触过算法的同学,建议先从语法入门开始练。

2、已经有过100-200道刷题量的同学,可以直接尝试直接从算法入门开始刷。

3、算法入门部分知识点全部掌握的同学,可以转算法进阶题单进行练习https://ac.nowcoder.com/discuss/828697

Q:刷题需有什么顺序吗?

题单本身就是按难度和知识点排序的,可以按顺序进行。

Q:所有的题目都要刷吗?

不一定,如果你觉得某个专题已经掌握了,可以直接进行下一个专题。

Q:刷题的时候遇到困难怎么办?

题目想了20分钟以上还是没有思路,可以尝试去找一下题解,或者看一下他人提交的代码。学会了思路以后按照自己的理解来写代码解决题目(不要对着其他人的代码来写)。题单中的题目如果在网络上找不到题解,请把题目链接回复在本贴下,我们会对题解进行补充。

Q:刷题之前需要具备什么知识吗?

语法入门部分具备学校学习的语言课程内容就可以了。在刷题的过程中逐渐熟练掌握。算法入门部分需要学会每个专题对应的算法,你可以从网络查找资料,或者跟牛客竞赛的课程进行学习 https://ac.nowcoder.com/acm/course

##题目汇总

顺序结构程序设计

练习题https://ac.nowcoder.com/acm/contest/18839?from=acdiscuss

这是一道签到题 https://ac.nowcoder.com/acm/problem/16570

排列式 https://ac.nowcoder.com/acm/problem/18929

小飞机 https://ac.nowcoder.com/acm/problem/20750

学姐的"Helloworld!" https://ac.nowcoder.com/acm/problem/213204

乘法表 https://ac.nowcoder.com/acm/problem/22206

KiKi学程序设计基础 https://ac.nowcoder.com/acm/problem/201524

疫情死亡率 https://ac.nowcoder.com/acm/problem/214222

爱因斯坦的名言 https://ac.nowcoder.com/acm/problem/214605

字符串输出1.0 https://ac.nowcoder.com/acm/problem/216117

牛牛学说话之-整数 https://ac.nowcoder.com/acm/problem/21985

牛牛学说话之-浮点数 https://ac.nowcoder.com/acm/problem/21986

牛牛学加法 https://ac.nowcoder.com/acm/problem/21987

牛牛学除法 https://ac.nowcoder.com/acm/problem/21988

牛牛学取余 https://ac.nowcoder.com/acm/problem/21989

浮点除法 https://ac.nowcoder.com/acm/problem/21992

计算带余除法 https://ac.nowcoder.com/acm/problem/21453

K蝴蝶 https://ac.nowcoder.com/acm/problem/216116

水题再次来袭:明天星期几? https://ac.nowcoder.com/acm/problem/21310

开学? https://ac.nowcoder.com/acm/problem/206668

helloworld https://ac.nowcoder.com/acm/problem/212982

a+b https://ac.nowcoder.com/acm/problem/212983

整数的个位 https://ac.nowcoder.com/acm/problem/21990

整数的十位 https://ac.nowcoder.com/acm/problem/21991

反向输出一个四位数 https://ac.nowcoder.com/acm/problem/21454

总成绩和平均分计算 https://ac.nowcoder.com/acm/problem/21459

计算平均成绩 https://ac.nowcoder.com/acm/problem/21586

牛牛学梯形 https://ac.nowcoder.com/acm/problem/21995

牛牛学矩形 https://ac.nowcoder.com/acm/problem/21998

牛牛学立体 https://ac.nowcoder.com/acm/problem/21999

计算三角形的周长和面积 https://ac.nowcoder.com/acm/problem/21461

你能活多少秒 https://ac.nowcoder.com/acm/problem/21457

时间转换 https://ac.nowcoder.com/acm/problem/21458

温度转换 https://ac.nowcoder.com/acm/problem/22004

计算机内存 https://ac.nowcoder.com/acm/problem/22005

[NOIP2017]成绩 https://ac.nowcoder.com/acm/problem/16421

KiKi的最高分 https://ac.nowcoder.com/acm/problem/201527

组队比赛 https://ac.nowcoder.com/acm/problem/205272

平方根 https://ac.nowcoder.com/acm/problem/22003

长方体 https://ac.nowcoder.com/acm/problem/15869

使徒袭来 https://ac.nowcoder.com/acm/problem/209794

白兔的分身术 https://ac.nowcoder.com/acm/problem/15250

纸牌 https://ac.nowcoder.com/acm/problem/18945

Tobaku Mokushiroku Kaiji https://ac.nowcoder.com/acm/problem/19483

珂朵莉的假动态仙人掌 https://ac.nowcoder.com/acm/problem/14828

旅游观光 https://ac.nowcoder.com/acm/problem/14891

[NOIP2002]自由落体 https://ac.nowcoder.com/acm/problem/16740

挂科 https://ac.nowcoder.com/acm/problem/212995

得不到的爱情 https://ac.nowcoder.com/acm/problem/216071

选择结构程序设计

练习题https://ac.nowcoder.com/acm/contest/19304?from=acdiscuss

比大小 https://ac.nowcoder.com/acm/problem/212955

卡拉兹函数 https://ac.nowcoder.com/acm/problem/205898

默契 https://ac.nowcoder.com/acm/problem/215089

整除判断 https://ac.nowcoder.com/acm/problem/214223

CSimplemathproblem https://ac.nowcoder.com/acm/problem/213397

吃瓜群众 https://ac.nowcoder.com/acm/problem/22014

jyq跳格子 https://ac.nowcoder.com/acm/problem/215109

小名的回答 https://ac.nowcoder.com/acm/problem/16128

牛妹数 https://ac.nowcoder.com/acm/problem/22010

判断闰年 https://ac.nowcoder.com/acm/problem/22012

统计数据正负个数 https://ac.nowcoder.com/acm/problem/25316

小乐乐是否被叫家长 https://ac.nowcoder.com/acm/problem/54539

最大最小值 https://ac.nowcoder.com/acm/problem/22015

送分题 https://ac.nowcoder.com/acm/problem/17194

四季 https://ac.nowcoder.com/acm/problem/214428

B是不是太迟了 https://ac.nowcoder.com/acm/problem/213396

前天是哪天 https://ac.nowcoder.com/acm/problem/214607

L1-2单位换算 https://ac.nowcoder.com/acm/problem/205413

纸牌 https://ac.nowcoder.com/acm/problem/18945

排队领水 https://ac.nowcoder.com/acm/problem/22240

可编程拖拉机比赛 https://ac.nowcoder.com/acm/problem/14597

[NOIP2004]不高兴的津津 https://ac.nowcoder.com/acm/problem/16658

[NOIP2008]ISBN号码 https://ac.nowcoder.com/acm/problem/16617

###循环结构程序设计

练习题https://ac.nowcoder.com/acm/contest/19305?from=acdiscuss

上下金字塔 https://ac.nowcoder.com/acm/problem/22204

数字三角形 https://ac.nowcoder.com/acm/problem/22208

字符金字塔 https://ac.nowcoder.com/acm/problem/22209

涂小天与他的画 https://ac.nowcoder.com/acm/problem/214218

箭形图案 https://ac.nowcoder.com/acm/problem/22056

牛牛学数列 https://ac.nowcoder.com/acm/problem/22156

牛牛学数列2 https://ac.nowcoder.com/acm/problem/22157

牛牛学数列3 https://ac.nowcoder.com/acm/problem/22158

牛牛学数列4 https://ac.nowcoder.com/acm/problem/22159

牛牛学数列5 https://ac.nowcoder.com/acm/problem/22160

牛牛学数列6 https://ac.nowcoder.com/acm/problem/22161

A+B https://ac.nowcoder.com/acm/problem/14748

多组输入a+b https://ac.nowcoder.com/acm/problem/22165

多组输入a+b II https://ac.nowcoder.com/acm/problem/22166

多组数据a+b III https://ac.nowcoder.com/acm/problem/22167

[NOIP2018]标题统计 https://ac.nowcoder.com/acm/problem/21469

栗酱数数 https://ac.nowcoder.com/acm/problem/14673

有趣的二进制 https://ac.nowcoder.com/acm/problem/15942

[NOIP2006]数列 https://ac.nowcoder.com/acm/problem/16668

只能吃土豆的牛牛 https://ac.nowcoder.com/acm/problem/208253

[NOIP2015]金币 https://ac.nowcoder.com/acm/problem/16490

托米历险记 https://ac.nowcoder.com/acm/problem/16607

绩点 https://ac.nowcoder.com/acm/problem/18414

[NOIP2016]买铅笔 https://ac.nowcoder.com/acm/problem/16437

整数个数 https://ac.nowcoder.com/acm/problem/14516

栗酱的文明2 https://ac.nowcoder.com/acm/problem/14669

黑大火与他的猫 https://ac.nowcoder.com/acm/problem/214219

[NOIP2000]进制转换 https://ac.nowcoder.com/acm/problem/16756

素数判断 https://ac.nowcoder.com/acm/problem/22200

Game https://ac.nowcoder.com/acm/problem/201610

[NOIP1999]Cantor表 https://ac.nowcoder.com/acm/problem/16785

最大的差 https://ac.nowcoder.com/acm/problem/204457

成绩统计 https://ac.nowcoder.com/acm/problem/214227

糖果俱乐部 https://ac.nowcoder.com/acm/problem/207595

数字计数 https://ac.nowcoder.com/acm/problem/210751

热杆上的蚂蚁 https://ac.nowcoder.com/acm/problem/205453

焦虑的蚂蚁 https://ac.nowcoder.com/acm/problem/21201

拯救小a https://ac.nowcoder.com/acm/problem/214437

YoungManDon'tSayFive https://ac.nowcoder.com/acm/problem/216200

魔法数字变换 https://ac.nowcoder.com/acm/problem/22163

[NOIP2005]陶陶摘苹果 https://ac.nowcoder.com/acm/problem/16648

[NOIP2004]津津的储蓄计划 https://ac.nowcoder.com/acm/problem/16662

[NOIP2002]级数求和 https://ac.nowcoder.com/acm/problem/16705

cayun日常之赏月 https://ac.nowcoder.com/acm/problem/14610

鹏 https://ac.nowcoder.com/acm/problem/17361

D博弈与核心能源动力 https://ac.nowcoder.com/acm/problem/216024

好数 https://ac.nowcoder.com/acm/problem/213356

3和5和7 https://ac.nowcoder.com/acm/problem/22192

回文对称数 https://ac.nowcoder.com/acm/problem/22169

数位之和 https://ac.nowcoder.com/acm/problem/22199

箱子归位 https://ac.nowcoder.com/acm/problem/22212

栗酱和火柴 https://ac.nowcoder.com/acm/problem/14742

[NOIP2009]多项式输出 https://ac.nowcoder.com/acm/problem/16622

更相减损术 https://ac.nowcoder.com/acm/problem/22164

数组、字符串及数据批量存储

练习题https://ac.nowcoder.com/acm/contest/19306?from=acdiscuss

随机序列 https://ac.nowcoder.com/acm/problem/205911

[NOIP2013]记数问题 https://ac.nowcoder.com/acm/problem/16538

约瑟夫环 https://ac.nowcoder.com/acm/problem/22227

[NOIP2005]校门外的树 https://ac.nowcoder.com/acm/problem/16649

比较月亮大小 https://ac.nowcoder.com/acm/problem/15431

求距离 https://ac.nowcoder.com/acm/problem/15051

数列下标 https://ac.nowcoder.com/acm/problem/18356

求逆序数 https://ac.nowcoder.com/acm/problem/208813

F课程满意度计算 https://ac.nowcoder.com/acm/problem/213401

二进制?十进制! https://ac.nowcoder.com/acm/problem/218048

序列中整数去重 https://ac.nowcoder.com/acm/problem/25322

有序序列插入一个整数 https://ac.nowcoder.com/acm/problem/25320

打印质数表 https://ac.nowcoder.com/acm/problem/22210

素数分布 https://ac.nowcoder.com/acm/problem/54580

有序序列合并 https://ac.nowcoder.com/acm/problem/25323

杨辉三角 https://ac.nowcoder.com/acm/problem/14320

矩阵元素定位 https://ac.nowcoder.com/acm/problem/54155

上三角矩阵判定 https://ac.nowcoder.com/acm/problem/54159

扫雷 https://ac.nowcoder.com/acm/problem/52069

Matrix https://ac.nowcoder.com/acm/problem/13883

矩阵转置 https://ac.nowcoder.com/acm/problem/54160

wyh的矩阵 https://ac.nowcoder.com/acm/problem/15426

病菌感染 https://ac.nowcoder.com/acm/problem/16121

李在赣神魔 https://ac.nowcoder.com/acm/problem/207419

数独合理吗? https://ac.nowcoder.com/acm/problem/220705

回型矩阵 https://ac.nowcoder.com/acm/problem/22230

蛇形矩阵 https://ac.nowcoder.com/acm/problem/22231

竞赛技巧 https://ac.nowcoder.com/acm/problem/15056

[NOIP2006]明明的随机数 https://ac.nowcoder.com/acm/problem/16669

lcryin的排序题 https://ac.nowcoder.com/acm/problem/213927

[NOIP2009]分数线划定 https://ac.nowcoder.com/acm/problem/16625

[NOIP2007]奖学金 https://ac.nowcoder.com/acm/problem/16639

[NOIP2003]乒乓球 https://ac.nowcoder.com/acm/problem/16674

斗兽棋 https://ac.nowcoder.com/acm/problem/204868

珂朵莉的假toptree https://ac.nowcoder.com/acm/problem/14831

BFS https://ac.nowcoder.com/acm/problem/17870

简写单词 https://ac.nowcoder.com/acm/problem/207915

小y的考试 https://ac.nowcoder.com/acm/problem/212819

字符统计 https://ac.nowcoder.com/acm/problem/213352

Alanyyds https://ac.nowcoder.com/acm/problem/216136

[NOIP2008]笨小猴 https://ac.nowcoder.com/acm/problem/16613

添加逗号 https://ac.nowcoder.com/acm/problem/15054

[NOIP2000]计算器的改良 https://ac.nowcoder.com/acm/problem/16749

Check In https://ac.nowcoder.com/acm/problem/14112

[NOIP2011]统计单词数 https://ac.nowcoder.com/acm/problem/16585

译码 https://ac.nowcoder.com/acm/problem/15940

字符串操作 https://ac.nowcoder.com/acm/problem/14895

火车上的2连座 https://ac.nowcoder.com/acm/problem/15758

String https://ac.nowcoder.com/acm/problem/15661

[NOIP2017]图书管理员 https://ac.nowcoder.com/acm/problem/16422

[NOIP2009]潜伏者 https://ac.nowcoder.com/acm/problem/16609

[NOIP2012]Vigenère 密码 https://ac.nowcoder.com/acm/problem/16560

字符串分类 https://ac.nowcoder.com/acm/problem/201626

[NOIP2005]谁拿了最多奖学金 https://ac.nowcoder.com/acm/problem/16654

勇气获得机 https://ac.nowcoder.com/acm/problem/14710

函数与递归

练习题https://ac.nowcoder.com/acm/contest/19859?from=acdiscuss

[NOIP2010]数字统计 https://ac.nowcoder.com/acm/problem/16599

日历中的数字 https://ac.nowcoder.com/acm/problem/13584

素数回文 https://ac.nowcoder.com/acm/problem/14703

数位五五 https://ac.nowcoder.com/acm/problem/22168

233 https://ac.nowcoder.com/acm/problem/15756

Hello I am HERE! https://ac.nowcoder.com/acm/problem/15902

[NOIP1999]回文数 https://ac.nowcoder.com/acm/problem/16811

兔子的序列 https://ac.nowcoder.com/acm/problem/20858

素数中的等差数列 https://ac.nowcoder.com/acm/problem/208815

[NOIP2003]侦探推理 https://ac.nowcoder.com/acm/problem/16680

小X的多边形 https://ac.nowcoder.com/acm/problem/16130

The Biggest Water Problem https://ac.nowcoder.com/acm/problem/15173

小q的数列 https://ac.nowcoder.com/acm/problem/15979

[NOIP2001]求先序排列 https://ac.nowcoder.com/acm/problem/16692

中序序列 https://ac.nowcoder.com/acm/problem/204382

[NOIP2004]FBI树 https://ac.nowcoder.com/acm/problem/16660

[NOIP2003]加分二叉树 https://ac.nowcoder.com/acm/problem/16681

对称二叉树 https://ac.nowcoder.com/acm/problem/21241

大吉大利,今晚吃鸡 https://ac.nowcoder.com/acm/problem/14585

Bits https://ac.nowcoder.com/acm/problem/201605

[NOIP2013]表达式求值 https://ac.nowcoder.com/acm/problem/16539

重返小学 https://ac.nowcoder.com/acm/problem/21181

表达式计算4 https://ac.nowcoder.com/acm/problem/50999

栈、队列和stl

练习题https://ac.nowcoder.com/acm/contest/19850?from=acdiscuss

老子的全排列呢 https://ac.nowcoder.com/acm/problem/15128

装进肚子 https://ac.nowcoder.com/acm/problem/14721

牛牛的三角形 https://ac.nowcoder.com/acm/problem/204117

[NOIP1998]拼数 https://ac.nowcoder.com/acm/problem/16783

好串 https://ac.nowcoder.com/acm/problem/21874

Rails https://ac.nowcoder.com/acm/problem/14326

栈和排序 https://ac.nowcoder.com/acm/problem/14893

吐泡泡 https://ac.nowcoder.com/acm/problem/15029

牛牛与后缀表达式 https://ac.nowcoder.com/acm/problem/212914

Keep In Line https://ac.nowcoder.com/acm/problem/13822

Number https://ac.nowcoder.com/acm/problem/14615

指纹锁 https://ac.nowcoder.com/acm/problem/17508

younik要排号 https://ac.nowcoder.com/acm/problem/210768

Let'sPlayCurling https://ac.nowcoder.com/acm/problem/216012

模拟、枚举与贪心

练习题https://ac.nowcoder.com/acm/contest/19851?from=acdiscuss

四舍五入 https://ac.nowcoder.com/acm/problem/200369

安卓图案解锁 https://ac.nowcoder.com/acm/problem/13585

从后台研发到跑路 https://ac.nowcoder.com/acm/problem/13588

Captcha Cracker https://ac.nowcoder.com/acm/problem/13814

回文数 https://ac.nowcoder.com/acm/problem/212226

[NOIP2017]时间复杂度 https://ac.nowcoder.com/acm/problem/16415

[NOIP2016]玩具谜题 https://ac.nowcoder.com/acm/problem/16426

[NOIP2015]神奇的幻方 https://ac.nowcoder.com/acm/problem/16464

Tic-Tac-Toe https://ac.nowcoder.com/acm/problem/200519

I love you https://ac.nowcoder.com/acm/problem/201612

[NOIP2007]Hanoi双塔问题 https://ac.nowcoder.com/acm/problem/16642

方块与收纳盒 https://ac.nowcoder.com/acm/problem/14975

答题卡 https://ac.nowcoder.com/acm/problem/205036

区间求和 https://ac.nowcoder.com/acm/problem/208910

零钱兑换 https://ac.nowcoder.com/acm/problem/22197

斐波那契 https://ac.nowcoder.com/acm/problem/18264

生日宴 https://ac.nowcoder.com/acm/problem/19244

了断局 https://ac.nowcoder.com/acm/problem/15036

脸盆大哥的木桶 https://ac.nowcoder.com/acm/problem/14670

倒水 https://ac.nowcoder.com/acm/problem/13228

Cut https://ac.nowcoder.com/acm/problem/14291

强迫症的序列 https://ac.nowcoder.com/acm/problem/15322

字典序最大的子序列 https://ac.nowcoder.com/acm/problem/15805

强迫症 https://ac.nowcoder.com/acm/problem/16301

[NOIP2007]纪念品分组 https://ac.nowcoder.com/acm/problem/16640

Eustia of the Tarnished Wings https://ac.nowcoder.com/acm/problem/19487

Shopping https://ac.nowcoder.com/acm/problem/19784

Mountain https://ac.nowcoder.com/acm/problem/19812

可持久化动态图上树状数组维护01背包 https://ac.nowcoder.com/acm/problem/19838

纸牌游戏 https://ac.nowcoder.com/acm/problem/201628

组队 https://ac.nowcoder.com/acm/problem/204859

牛牛玩平板 https://ac.nowcoder.com/acm/problem/21841

[NOIP2008]排座椅 https://ac.nowcoder.com/acm/problem/16618

算法入门

模拟、枚举与贪心

练习题 https://ac.nowcoder.com/acm/contest/20960?from=acdiscuss

[NOIP2007]字符串的展开 https://ac.nowcoder.com/acm/problem/16644

[NOIP2017]时间复杂度 https://ac.nowcoder.com/acm/problem/16415

[NOIP2010]机器翻译 https://ac.nowcoder.com/acm/problem/16589

四舍五入 https://ac.nowcoder.com/acm/problem/200369

安卓图案解锁 https://ac.nowcoder.com/acm/problem/13585

从后台研发到跑路 https://ac.nowcoder.com/acm/problem/13588

Captcha Cracker https://ac.nowcoder.com/acm/problem/13814

回文数 https://ac.nowcoder.com/acm/problem/212226

[NOIP1999]回文数 https://ac.nowcoder.com/acm/problem/16811

[NOIP2016]玩具谜题 https://ac.nowcoder.com/acm/problem/16426

[NOIP2015]神奇的幻方 https://ac.nowcoder.com/acm/problem/16464

Tic-Tac-Toe https://ac.nowcoder.com/acm/problem/200519

I love you https://ac.nowcoder.com/acm/problem/201612

[NOIP2006]明明的随机数 https://ac.nowcoder.com/acm/problem/16669

[NOIP2016]回文日期 https://ac.nowcoder.com/acm/problem/16438

[NOIP2011]铺地毯 https://ac.nowcoder.com/acm/problem/16593

[NOIP2005]校门外的树 https://ac.nowcoder.com/acm/problem/16649

值周 https://ac.nowcoder.com/acm/problem/24636

货物种类 https://ac.nowcoder.com/acm/problem/202498

储物点的距离 https://ac.nowcoder.com/acm/problem/14683

糖糖别胡说,我真的不是签到题目 https://ac.nowcoder.com/acm/problem/14583

数学考试 https://ac.nowcoder.com/acm/problem/15553

Xorto https://ac.nowcoder.com/acm/problem/14247

[HNOI2003]激光炸弹 https://ac.nowcoder.com/acm/problem/20032

「土」秘法地震 https://ac.nowcoder.com/acm/problem/53676

仓库选址 https://ac.nowcoder.com/acm/problem/202492

字符串 https://ac.nowcoder.com/acm/problem/18386

加减 https://ac.nowcoder.com/acm/problem/224938

牛牛的木板 https://ac.nowcoder.com/acm/problem/204370

丢手绢 https://ac.nowcoder.com/acm/problem/207040

[SCOI2009]生日礼物 https://ac.nowcoder.com/acm/problem/20565

[SCOI2005]扫雷MINE https://ac.nowcoder.com/acm/problem/20241

月月查华华的手机 https://ac.nowcoder.com/acm/problem/23053

ranko的手表 https://ac.nowcoder.com/acm/problem/221825

[NOIP1998]拼数 https://ac.nowcoder.com/acm/problem/16783

字典序最大的子序列 https://ac.nowcoder.com/acm/problem/15805

Shopping https://ac.nowcoder.com/acm/problem/19784

组队 https://ac.nowcoder.com/acm/problem/204859

纸牌游戏 https://ac.nowcoder.com/acm/problem/201628

[USACO 2007 Nov G]Sunscreen https://ac.nowcoder.com/acm/problem/25025

倒水 https://ac.nowcoder.com/acm/problem/13228

[NOIP2007]纪念品分组 https://ac.nowcoder.com/acm/problem/16640

牛妹和01串 https://ac.nowcoder.com/acm/problem/200183

[NOIP2008]排座椅 https://ac.nowcoder.com/acm/problem/16618

矩阵消除游戏 https://ac.nowcoder.com/acm/problem/200190

华华听月月唱歌 https://ac.nowcoder.com/acm/problem/23036

[USACO 2006 Ope B]Cows on a Leash https://ac.nowcoder.com/acm/problem/25136

[NOIP2012]国王的游戏 https://ac.nowcoder.com/acm/problem/16561

[USACO 2007 Jan S]Protecting the Flowers https://ac.nowcoder.com/acm/problem/25043

「土」巨石滚滚 https://ac.nowcoder.com/acm/problem/53681

毒瘤xor https://ac.nowcoder.com/acm/problem/18979

兔子的区间密码 https://ac.nowcoder.com/acm/problem/20860

起床困难综合症 https://ac.nowcoder.com/acm/problem/17857

[USACO 2007 Jan S]Tallest Cow https://ac.nowcoder.com/acm/problem/25044

递归与分治思想

练习题 https://ac.nowcoder.com/acm/contest/21763?from=acdiscuss

The Biggest Water Problem https://ac.nowcoder.com/acm/problem/15173

小q的数列 https://ac.nowcoder.com/acm/problem/15979

更相减损术 https://ac.nowcoder.com/acm/problem/22164

[NOIP2009]分数线划定 https://ac.nowcoder.com/acm/problem/16625

第k小数 https://ac.nowcoder.com/acm/problem/207028

求逆序数 https://ac.nowcoder.com/acm/problem/208813

逆序数 https://ac.nowcoder.com/acm/problem/15163

兔子的逆序对 https://ac.nowcoder.com/acm/problem/20861

大吉大利,今晚吃鸡 https://ac.nowcoder.com/acm/problem/14585

Bits https://ac.nowcoder.com/acm/problem/201605

[NOIP2001]求先序排列 https://ac.nowcoder.com/acm/problem/16692

中序序列 https://ac.nowcoder.com/acm/problem/204382

[NOIP2004]FBI树 https://ac.nowcoder.com/acm/problem/16660

[NOIP2013]表达式求值 https://ac.nowcoder.com/acm/problem/16539

重返小学 https://ac.nowcoder.com/acm/problem/21181

表达式计算4 https://ac.nowcoder.com/acm/problem/50999

求最值 https://ac.nowcoder.com/acm/problem/15052

逆序对 https://ac.nowcoder.com/acm/problem/14731

华华教月月做数学 https://ac.nowcoder.com/acm/problem/23046

选择颜色 https://ac.nowcoder.com/acm/problem/19115

Contest https://ac.nowcoder.com/acm/problem/13947

kotori和糖果 https://ac.nowcoder.com/acm/problem/50038

二分、三分、01分数规划

练习题 https://ac.nowcoder.com/acm/contest/22353?from=acdiscuss

[USACO 2009 Dec S]Music Notes https://ac.nowcoder.com/acm/problem/24866

完全平方数 https://ac.nowcoder.com/acm/problem/14733

[NOIP2015]跳石头 https://ac.nowcoder.com/acm/problem/16462

[USACO 2017 Dec P]Greedy Gift Takers https://ac.nowcoder.com/acm/problem/24083

[USACO 2010 Feb S]Chocolate Eating https://ac.nowcoder.com/acm/problem/24724

华华给月月准备礼物 https://ac.nowcoder.com/acm/problem/23049

[CQOI2010]扑克牌 https://ac.nowcoder.com/acm/problem/19916

[NOIP2012]借教室 https://ac.nowcoder.com/acm/problem/16564

K-th Number https://ac.nowcoder.com/acm/problem/14301

[NOIP2011]聪明的质监员 https://ac.nowcoder.com/acm/problem/16597

位数差 https://ac.nowcoder.com/acm/problem/14380

装备合成 https://ac.nowcoder.com/acm/problem/200211

[HEOI2014]南园满地堆轻絮 https://ac.nowcoder.com/acm/problem/20012

[USACO 2016 Jan S]Angry Cows https://ac.nowcoder.com/acm/problem/24017

神奇盘子 https://ac.nowcoder.com/acm/problem/16746

Brownie Slicing https://ac.nowcoder.com/acm/problem/24622

[SCOI2010]传送带 https://ac.nowcoder.com/acm/problem/20276

[SHOI2017]期末考试 https://ac.nowcoder.com/acm/problem/20439

小咪买东西 https://ac.nowcoder.com/acm/problem/14662

gpa https://ac.nowcoder.com/acm/problem/17400

堆栈、队列、单调栈、单调队列

练习题 https://ac.nowcoder.com/acm/contest/22669?from=acdiscuss

栈和排序 https://ac.nowcoder.com/acm/problem/14893

牛牛与后缀表达式 https://ac.nowcoder.com/acm/problem/212914

好串 https://ac.nowcoder.com/acm/problem/21874

Rails https://ac.nowcoder.com/acm/problem/14326

吐泡泡 https://ac.nowcoder.com/acm/problem/15029

Operating System https://ac.nowcoder.com/acm/problem/15688

小C的记事本 https://ac.nowcoder.com/acm/problem/15975

Keep In Line https://ac.nowcoder.com/acm/problem/13822

[NOIP2004]合并果子 https://ac.nowcoder.com/acm/problem/16663

[NOIP2016]蚯蚓 https://ac.nowcoder.com/acm/problem/16430

简单的数据结构 https://ac.nowcoder.com/acm/problem/14661

队列Q https://ac.nowcoder.com/acm/problem/17059

滑动窗口 https://ac.nowcoder.com/acm/problem/50528

[USACO 2009 Mar S]Look Up https://ac.nowcoder.com/acm/problem/24840

Largest Rectangle in a Histogram https://ac.nowcoder.com/acm/problem/50965

区区区间间间 https://ac.nowcoder.com/acm/problem/20806

小A的柱状图 https://ac.nowcoder.com/acm/problem/23619

[USACO 2006 Nov S]Bad Hair Day https://ac.nowcoder.com/acm/problem/25084

[USACO 2012 Mar S]Flowerpot https://ac.nowcoder.com/acm/problem/24325

优先队列、并查集

练习题 https://ac.nowcoder.com/acm/contest/22904?from=acdiscuss

[NOIP2004]合并果子 https://ac.nowcoder.com/acm/problem/16663

Running Median https://ac.nowcoder.com/acm/problem/50940

第k小 https://ac.nowcoder.com/acm/problem/214362

tokitsukaze and Soldier https://ac.nowcoder.com/acm/problem/50439

[JSOI2007]建筑抢修 https://ac.nowcoder.com/acm/problem/20154

[JSOI2010]缓存交换 https://ac.nowcoder.com/acm/problem/20185

背包 https://ac.nowcoder.com/acm/problem/17315

Cut https://ac.nowcoder.com/acm/problem/14291

Operating System https://ac.nowcoder.com/acm/problem/15688

网络优化 https://ac.nowcoder.com/acm/problem/20951

小A与任务 https://ac.nowcoder.com/acm/problem/22604

简单的数据结构 https://ac.nowcoder.com/acm/problem/14661

老子的全排列呢 https://ac.nowcoder.com/acm/problem/15128

指纹锁 https://ac.nowcoder.com/acm/problem/17508

新建 Microsoft Office Word 文档 https://ac.nowcoder.com/acm/problem/17889

牛牛爱奇数 https://ac.nowcoder.com/acm/problem/207569

Efficient Solutions https://ac.nowcoder.com/acm/problem/116634

Defeat the Enemy https://ac.nowcoder.com/acm/problem/124063

Let'sPlayCurling https://ac.nowcoder.com/acm/problem/216012

Rinne Loves Data Structure https://ac.nowcoder.com/acm/problem/22596

DongDong认亲戚 https://ac.nowcoder.com/acm/problem/23803

经商 https://ac.nowcoder.com/acm/problem/14545

[USACO 2011 Ope S]Learning Languages https://ac.nowcoder.com/acm/problem/24608

食物链 https://ac.nowcoder.com/acm/problem/16884

加边的无向图 https://ac.nowcoder.com/acm/problem/14685

小C的周末 https://ac.nowcoder.com/acm/problem/15976

[NOIP2017]奶酪 https://ac.nowcoder.com/acm/problem/16417

Parity game https://ac.nowcoder.com/acm/problem/51097

搜索与搜索剪枝

练习题 https://ac.nowcoder.com/acm/contest/23156?from=acdiscuss

老子的全排列呢 https://ac.nowcoder.com/acm/problem/15128

走出迷宫 https://ac.nowcoder.com/acm/problem/14572

模拟战役 https://ac.nowcoder.com/acm/problem/14698

Jelly https://ac.nowcoder.com/acm/problem/201613

[NOIP2014]寻找道路 https://ac.nowcoder.com/acm/problem/16498

送外卖 https://ac.nowcoder.com/acm/problem/13224

迷宫 https://ac.nowcoder.com/acm/problem/15136

「金」点石成金 https://ac.nowcoder.com/acm/problem/53680

[SDOI2016]齿轮 https://ac.nowcoder.com/acm/problem/20583

数独挑战 https://ac.nowcoder.com/acm/problem/24911

幸运数字Ⅱ https://ac.nowcoder.com/acm/problem/15291

[NOIP2017]奶酪 https://ac.nowcoder.com/acm/problem/16417

[NOIP2010]关押罪犯 https://ac.nowcoder.com/acm/problem/16591

wyh的迷宫 https://ac.nowcoder.com/acm/problem/15434

八数码 https://ac.nowcoder.com/acm/problem/51032

[NOIP2002]字串变换 https://ac.nowcoder.com/acm/problem/16742

小木棍 https://ac.nowcoder.com/acm/problem/50243

maze https://ac.nowcoder.com/acm/problem/15665

wyh的吃鸡 https://ac.nowcoder.com/acm/problem/15445

CSL的校园卡 https://ac.nowcoder.com/acm/problem/17872

Ocean Currents https://ac.nowcoder.com/acm/problem/117187

魔法数字 https://ac.nowcoder.com/acm/problem/202589

新集合 https://ac.nowcoder.com/acm/problem/204418

[SCOI2010]游戏 https://ac.nowcoder.com/acm/problem/20566

[CQOI2007]矩形RECT https://ac.nowcoder.com/acm/problem/19910

[SCOI2009]生日快乐 https://ac.nowcoder.com/acm/problem/20272

Tree Decoration https://ac.nowcoder.com/acm/problem/24623

[HAOI2008]移动玩具 https://ac.nowcoder.com/acm/problem/19975

[NOIP2000]单词接龙 https://ac.nowcoder.com/acm/problem/16758

[CQOI2013]新数独 https://ac.nowcoder.com/acm/problem/19929

[USACO 2011 Ope S]Corn Maze https://ac.nowcoder.com/acm/problem/24605

[USACO 2007 Ope S]Catch That Cow https://ac.nowcoder.com/acm/problem/25080

Lake Counting https://ac.nowcoder.com/acm/problem/24739

[NOIP2011]Mayan 游戏 https://ac.nowcoder.com/acm/problem/16595

[NOIP2009]靶形数独 https://ac.nowcoder.com/acm/problem/16612

[NOIP2004]虫食算 https://ac.nowcoder.com/acm/problem/16665

[NOIP2013]华容道 https://ac.nowcoder.com/acm/problem/16536

动态规划1:线性dp、背包问题,区间

练习题 https://ac.nowcoder.com/acm/contest/24213?from=acdiscuss

方块与收纳盒 https://ac.nowcoder.com/acm/problem/14975

舔狗舔到最后一无所有 https://ac.nowcoder.com/acm/problem/20875

可爱の星空 https://ac.nowcoder.com/acm/problem/20650

数字三角形 https://ac.nowcoder.com/acm/problem/22208

花店橱窗 https://ac.nowcoder.com/acm/problem/51216

免费馅饼 https://ac.nowcoder.com/acm/problem/16850

钉子和小球 https://ac.nowcoder.com/acm/problem/16856

[NOIP2002]过河卒 https://ac.nowcoder.com/acm/problem/16708

[NOIP2008]传球游戏 https://ac.nowcoder.com/acm/problem/16619

「木」迷雾森林 https://ac.nowcoder.com/acm/problem/53675

[NOIP2004]合唱队形 https://ac.nowcoder.com/acm/problem/16664

[NOIP1999]拦截导弹 https://ac.nowcoder.com/acm/problem/16810

数学考试 https://ac.nowcoder.com/acm/problem/15553

小A买彩票 https://ac.nowcoder.com/acm/problem/23413

购物 https://ac.nowcoder.com/acm/problem/14526

牛牛的旅游纪念品 https://ac.nowcoder.com/acm/problem/207751

[NOIP2001]装箱问题 https://ac.nowcoder.com/acm/problem/16693

[NOIP2005]采药 https://ac.nowcoder.com/acm/problem/16650

[NOIP2006]开心的金明 https://ac.nowcoder.com/acm/problem/16666

CSL分苹果 https://ac.nowcoder.com/acm/problem/17871

失衡天平 https://ac.nowcoder.com/acm/problem/19158

Music Problem https://ac.nowcoder.com/acm/problem/13885

美味菜肴 https://ac.nowcoder.com/acm/problem/14704

[NOIP2006]金明的预算方案 https://ac.nowcoder.com/acm/problem/16671

队伍配置 https://ac.nowcoder.com/acm/problem/14699

合并回文子串 https://ac.nowcoder.com/acm/problem/13230

取数游戏2 https://ac.nowcoder.com/acm/problem/14701

wyh的问题 https://ac.nowcoder.com/acm/problem/15447

[NOIP2007]矩阵取数游戏 https://ac.nowcoder.com/acm/problem/16645

石子合并 https://ac.nowcoder.com/acm/problem/50493

石子合并 https://ac.nowcoder.com/acm/problem/51170

迁徙过程中的河流 https://ac.nowcoder.com/acm/problem/207781

小A的回文串 https://ac.nowcoder.com/acm/problem/23501

[USACO 2009 Dec G]Video Game Troubles https://ac.nowcoder.com/acm/problem/24870

简单瞎搞题 https://ac.nowcoder.com/acm/problem/17193

凸多边形的划分 https://ac.nowcoder.com/acm/problem/50500

[NOIP2003]加分二叉树 https://ac.nowcoder.com/acm/problem/16681

[NOIP2008]传纸条 https://ac.nowcoder.com/acm/problem/16615

[NOIP2000]方格取数 https://ac.nowcoder.com/acm/problem/16759

[NOIP2005]过河 https://ac.nowcoder.com/acm/problem/16655

[NOIP2010]乌龟棋 https://ac.nowcoder.com/acm/problem/16590

To the Max https://ac.nowcoder.com/acm/problem/50959

[ZJOI2007]棋盘制作 https://ac.nowcoder.com/acm/problem/20471

[SCOI2005]最大子矩阵 https://ac.nowcoder.com/acm/problem/20242

[NOIP2006]能量项链 https://ac.nowcoder.com/acm/problem/16670

[USACO 2016 Ope P]262144 https://ac.nowcoder.com/acm/problem/24438

[NOIP2012]摆花 https://ac.nowcoder.com/acm/problem/16576

[NOIP2007]守望者的逃离 https://ac.nowcoder.com/acm/problem/16641

[NOIP2018]货币系统 https://ac.nowcoder.com/acm/problem/21467

[USACO 2009 Oct G]Bessie's Weight Problem https://ac.nowcoder.com/acm/problem/24851

[HAOI2012]音量调节 https://ac.nowcoder.com/acm/problem/19990

[NOIP2014]飞扬的小鸟 https://ac.nowcoder.com/acm/problem/16496

[CQOI2007]涂色PAINT https://ac.nowcoder.com/acm/problem/19909

[USACO 2008 Jan S]Running https://ac.nowcoder.com/acm/problem/24949

金币馅饼 https://ac.nowcoder.com/acm/problem/25147

饥饿的牛 https://ac.nowcoder.com/acm/problem/25148

[NOIP2001]统计单词个数 https://ac.nowcoder.com/acm/problem/16696

Min酱要旅行 https://ac.nowcoder.com/acm/problem/210520

小小粉刷匠 https://ac.nowcoder.com/acm/problem/16129

[SCOI2009]粉刷匠 https://ac.nowcoder.com/acm/problem/20273

跳跳跳 https://ac.nowcoder.com/acm/problem/227595

动态规划2:树形dp、状压dp、

练习题 https://ac.nowcoder.com/acm/contest/25022?from=acdiscuss

小G有一个大树 https://ac.nowcoder.com/acm/problem/15033

没有上司的舞会 https://ac.nowcoder.com/acm/problem/51178

[USACO 2008 Jan G]Cell Phone Network https://ac.nowcoder.com/acm/problem/24953

Strategic game https://ac.nowcoder.com/acm/problem/51222

树上子链 https://ac.nowcoder.com/acm/problem/202475

二叉苹果树 https://ac.nowcoder.com/acm/problem/50505

选课 https://ac.nowcoder.com/acm/problem/51179

Tree https://ac.nowcoder.com/acm/problem/19782

Rinne Loves Edges https://ac.nowcoder.com/acm/problem/22598

电话网络 https://ac.nowcoder.com/acm/problem/211219

[USACO 2018 Feb G]Directory Traversal https://ac.nowcoder.com/acm/problem/24263

[HAOI2015]树上染色 https://ac.nowcoder.com/acm/problem/19996

蓝魔法师 https://ac.nowcoder.com/acm/problem/20811

Accumulation Degree https://ac.nowcoder.com/acm/problem/51180

[USACO 2010 Mar G]Great Cow Gathering https://ac.nowcoder.com/acm/problem/24734

炮兵阵地 https://ac.nowcoder.com/acm/problem/16886

[SCOI2005]互不侵犯KING https://ac.nowcoder.com/acm/problem/20240

Mondriaan's Dream https://ac.nowcoder.com/acm/problem/51189

Most Powerful https://ac.nowcoder.com/acm/problem/15832

德玛西亚万岁 https://ac.nowcoder.com/acm/problem/15034

郊区春游 https://ac.nowcoder.com/acm/problem/16122

简单环 https://ac.nowcoder.com/acm/problem/16544

方格填色 https://ac.nowcoder.com/acm/problem/17890

[AHOI2009]CHESS 中国象棋 https://ac.nowcoder.com/acm/problem/19885

[ZJOI2009]多米诺骨牌 https://ac.nowcoder.com/acm/problem/20485

mixup2混乱的奶牛 https://ac.nowcoder.com/acm/problem/210981

[USACO 2015 Jan G]Moovie Mooving https://ac.nowcoder.com/acm/problem/24158

[USACO 2013 Nov G]No Change https://ac.nowcoder.com/acm/problem/24416

[USACO 2006 Oct S]Corn Fields https://ac.nowcoder.com/acm/problem/25088

图论基础、最短路与最小生成树

练习题 https://ac.nowcoder.com/acm/contest/26077?from=acdiscuss

[NOIP2003]神经网络 https://ac.nowcoder.com/acm/problem/16679

[NOIP2013]车站分级 https://ac.nowcoder.com/acm/problem/16541

[HNOI2015]菜肴制作 https://ac.nowcoder.com/acm/problem/20115

旅行 https://ac.nowcoder.com/acm/problem/14352

迷宫2 https://ac.nowcoder.com/acm/problem/15196

最短路 https://ac.nowcoder.com/acm/problem/15479

公交线路 https://ac.nowcoder.com/acm/problem/17511

挖沟 https://ac.nowcoder.com/acm/problem/17509

Forsaken喜欢独一无二的树 https://ac.nowcoder.com/acm/problem/53074

道路建设 https://ac.nowcoder.com/acm/problem/15108

Highway https://ac.nowcoder.com/acm/problem/52867

小雨坐地铁 https://ac.nowcoder.com/acm/problem/26257

[USACO 2007 Ope S]Catch That Cow https://ac.nowcoder.com/acm/problem/25080

[USACO 2009 Nov S]Job Hunt https://ac.nowcoder.com/acm/problem/24858

[USACO 2010 Dec S]Apple Delivery https://ac.nowcoder.com/acm/problem/24755

[USACO 2012 Dec S]Milk Routing https://ac.nowcoder.com/acm/problem/24370

[USACO 2007 Ope B]Bronze Cow Party https://ac.nowcoder.com/acm/problem/25077

[USACO 2008 Ope S]Clear And Present Danger https://ac.nowcoder.com/acm/problem/25005

[USACO 2007 Nov S]Cow Hurdles https://ac.nowcoder.com/acm/problem/25020

胖胖的牛牛 https://ac.nowcoder.com/acm/problem/208246

ObstacleCourse障碍训练课 https://ac.nowcoder.com/acm/problem/212331

Meeting https://ac.nowcoder.com/acm/problem/124167

[NOIP2015]信息传递 https://ac.nowcoder.com/acm/problem/16466

[USACO 2007 Mar G]Ranking the Cows https://ac.nowcoder.com/acm/problem/25064

[USACO 2008 Jan S]Cow Contest https://ac.nowcoder.com/acm/problem/24948

[NOIP2001]Car的旅行路线 https://ac.nowcoder.com/acm/problem/16697

大吉大利,晚上吃鸡! https://ac.nowcoder.com/acm/problem/14501

追债之旅 https://ac.nowcoder.com/acm/problem/14700

[NOIP2009]最优贸易 https://ac.nowcoder.com/acm/problem/16611

最优贸易 https://ac.nowcoder.com/acm/problem/50379

Rinne Loves Graph https://ac.nowcoder.com/acm/problem/22594

Rinne Loves Dynamic Graph https://ac.nowcoder.com/acm/problem/22600

[NOIP2017]逛公园 https://ac.nowcoder.com/acm/problem/16416

wpy的请求 https://ac.nowcoder.com/acm/problem/20684

道路和航线 https://ac.nowcoder.com/acm/problem/50381

[SCOI2012]滑雪与时间胶囊 https://ac.nowcoder.com/acm/problem/20568

[HAOI2006]聪明的猴子 https://ac.nowcoder.com/acm/problem/19964

虫洞 Wormholes https://ac.nowcoder.com/acm/problem/50385

银河英雄传说 https://ac.nowcoder.com/acm/problem/16889

[USACO 2014 Mar S]Watering the Fields https://ac.nowcoder.com/acm/problem/24587

[SCOI2005]繁忙的都市 https://ac.nowcoder.com/acm/problem/20245

布局 Layout https://ac.nowcoder.com/acm/problem/50390

[SCOI2011]糖果 https://ac.nowcoder.com/acm/problem/20284

[HAOI2012]ROAD https://ac.nowcoder.com/acm/problem/19987

简单数学基础

练习题 https://ac.nowcoder.com/acm/contest/26656?from=acdiscuss

素数判断 https://ac.nowcoder.com/acm/problem/14399

素数回文 https://ac.nowcoder.com/acm/problem/14703

逆序对 https://ac.nowcoder.com/acm/problem/14731

素数分布 https://ac.nowcoder.com/acm/problem/54580

Forsaken喜欢数论 https://ac.nowcoder.com/acm/problem/53079

漂亮数 https://ac.nowcoder.com/acm/problem/224933

H、Diff-prime Pairs https://ac.nowcoder.com/acm/problem/17247

立方数 https://ac.nowcoder.com/acm/problem/201985

绿魔法师 https://ac.nowcoder.com/acm/problem/20812

最大公约数(lcm) https://ac.nowcoder.com/acm/problem/16710

同余方程 https://ac.nowcoder.com/acm/problem/50565

【模板】同余方程 https://ac.nowcoder.com/acm/problem/229005

[NOIP2012]同余方程 https://ac.nowcoder.com/acm/problem/16563

华华对月月的忠诚 https://ac.nowcoder.com/acm/problem/23050

异或(xor) https://ac.nowcoder.com/acm/problem/16559

斐波那契 https://ac.nowcoder.com/acm/problem/200184

斐波那契 https://ac.nowcoder.com/acm/problem/18264

一个小问题 https://ac.nowcoder.com/acm/problem/15068

数学题 https://ac.nowcoder.com/acm/problem/20667

[SDOI2008]仪仗队 https://ac.nowcoder.com/acm/problem/20313

华华给月月出题 https://ac.nowcoder.com/acm/problem/23047

月月给华华出题 https://ac.nowcoder.com/acm/problem/23048

数字权重 https://ac.nowcoder.com/acm/problem/18985

[AHOI2005]SHUFFLE 洗牌 https://ac.nowcoder.com/acm/problem/19872

[HAOI2012]容易题(EASY) https://ac.nowcoder.com/acm/problem/19989

[HAOI2016]放棋子 https://ac.nowcoder.com/acm/problem/19999

[SCOI2010]字符串 https://ac.nowcoder.com/acm/problem/20277

[NOIP2011]计算系数 https://ac.nowcoder.com/acm/problem/16596

[NOIP2013]转圈游戏 https://ac.nowcoder.com/acm/problem/16525

大水题 https://ac.nowcoder.com/acm/problem/15079

无关(relationship) https://ac.nowcoder.com/acm/problem/16513

[JSOI2011]分特产 https://ac.nowcoder.com/acm/problem/20189

魔改森林 https://ac.nowcoder.com/acm/problem/200324

Frogs https://ac.nowcoder.com/acm/problem/124160

最后的晚餐(dinner) https://ac.nowcoder.com/acm/problem/19857

守护白起 https://ac.nowcoder.com/acm/problem/15069

造一造 https://ac.nowcoder.com/acm/problem/15077

递推 https://ac.nowcoder.com/acm/problem/14607

愉快的递推式 https://ac.nowcoder.com/acm/problem/25354

又见斐波那契 https://ac.nowcoder.com/acm/problem/15666

粉嘤花之恋 https://ac.nowcoder.com/acm/problem/18987

1408 https://ac.nowcoder.com/acm/problem/19832

公式题(2) https://ac.nowcoder.com/acm/problem/20661

游戏 https://ac.nowcoder.com/acm/problem/20909

红色和紫色 https://ac.nowcoder.com/acm/problem/223888

Game https://ac.nowcoder.com/acm/problem/201610

小石的签到题 https://ac.nowcoder.com/acm/problem/26212

游戏 https://ac.nowcoder.com/acm/problem/18388

小牛vs小客 https://ac.nowcoder.com/acm/problem/15065

硬币游戏 https://ac.nowcoder.com/acm/problem/18993

石子游戏 https://ac.nowcoder.com/acm/problem/19156

取石子游戏 1 https://ac.nowcoder.com/acm/problem/50614

取石子游戏 2 https://ac.nowcoder.com/acm/problem/50615

游戏 https://ac.nowcoder.com/acm/problem/19325

收益 https://ac.nowcoder.com/acm/problem/18389

卡牌游戏 https://ac.nowcoder.com/acm/problem/19777

Happy Running https://ac.nowcoder.com/acm/problem/15532

只能吃土豆的牛牛 https://ac.nowcoder.com/acm/problem/208253

[NOIP2009]Hankson的趣味题 https://ac.nowcoder.com/acm/problem/16610

[NOIP2017]小凯的疑惑 https://ac.nowcoder.com/acm/problem/16414

[NOIP2016]组合数问题 https://ac.nowcoder.com/acm/problem/16429

计数器 https://ac.nowcoder.com/acm/problem/17873

线段树与树状数组

练习题 https://ac.nowcoder.com/acm/contest/26896?from=acdiscuss

[USACO 2007 Jan S]Balanced Lineup https://ac.nowcoder.com/acm/problem/25045

践踏 https://ac.nowcoder.com/acm/problem/21125

[JSOI2008]最大数MAXNUMBER https://ac.nowcoder.com/acm/problem/20164

[SCOI2007]降雨量 https://ac.nowcoder.com/acm/problem/20259

签到题 https://ac.nowcoder.com/acm/problem/22593

A Simple Problem with Integers https://ac.nowcoder.com/acm/problem/51100

A Simple Problem with Integers https://ac.nowcoder.com/acm/problem/50454

数据结构 https://ac.nowcoder.com/acm/problem/19246

[AHOI2009]SEQ 维护序列SEQ https://ac.nowcoder.com/acm/problem/19889

区区区间 https://ac.nowcoder.com/acm/problem/200195

外挂 https://ac.nowcoder.com/acm/problem/25879

数星星 Stars https://ac.nowcoder.com/acm/problem/50428

小石的妹子 https://ac.nowcoder.com/acm/problem/26253

迪拜的超市 https://ac.nowcoder.com/acm/problem/20960

整数序列 https://ac.nowcoder.com/acm/problem/17877

A Simple Problem with Integers https://ac.nowcoder.com/acm/problem/17383

珂朵莉的数列 https://ac.nowcoder.com/acm/problem/14522

逆序数 https://ac.nowcoder.com/acm/problem/15163

华华开始学信息学 https://ac.nowcoder.com/acm/problem/23054

牛牛的最美味和最不美味的零食 https://ac.nowcoder.com/acm/problem/208250

[SCOI2010]序列操作 https://ac.nowcoder.com/acm/problem/20279

小H的询问 https://ac.nowcoder.com/acm/problem/15162

Hotel https://ac.nowcoder.com/acm/problem/24961

红球进黑洞 https://ac.nowcoder.com/acm/problem/19429

01串 https://ac.nowcoder.com/acm/problem/19469

[USACO 2008 Nov G]Light Switching https://ac.nowcoder.com/acm/problem/24984

求最大值 https://ac.nowcoder.com/acm/problem/14402

Forsaken的三维数点 https://ac.nowcoder.com/acm/problem/53370

Lost Cows https://ac.nowcoder.com/acm/problem/51101

连续区间的最大公约数 https://ac.nowcoder.com/acm/problem/15557

情人节的电灯泡 https://ac.nowcoder.com/acm/problem/15172

换个角度思考 https://ac.nowcoder.com/acm/problem/19427

[SDOI2009]HH的项链 https://ac.nowcoder.com/acm/problem/20325

小魂和他的数列 https://ac.nowcoder.com/acm/problem/54585

小翔和泰拉瑞亚 https://ac.nowcoder.com/acm/problem/54586

[HEOI2012]采花 https://ac.nowcoder.com/acm/problem/20545

Stars in Your Window https://ac.nowcoder.com/acm/problem/51112

[USACO 2007 Ope S]City Horizon https://ac.nowcoder.com/acm/problem/25078

[USACO 2012 Feb S]Overplanting https://ac.nowcoder.com/acm/problem/24309

[USACO 2010 Nov G]Cow Photographs https://ac.nowcoder.com/acm/problem/24748

RMQ与LCA

练习题 https://ac.nowcoder.com/acm/problem/collection/1266?from=acdiscuss

全部评论

相关推荐

头像
07-26 20:36
已编辑
武汉大学 Java
两月华子焊一生:这个第二题我是看出来了,他给的第二个例子不会是故意给错的吧,按大家输出-1、1序列就能过的答案来看,第二个例子要是不给错那也只能是-n、n这种序列,那这题就没得考了。还卡常,那不希望答案被一眼看出来换个题出不好吗
投递科大讯飞等公司10个岗位
点赞 评论 收藏
分享
08-13 18:22
已编辑
四平职业大学 Java
无手撕. 【面试问题】1. 请做一个简单的自我介绍。2. 在使用大模型生成xxx代码的过程中,你遇到了哪些挑战和阻塞点?在工程化方面是如何解决的?3. 在技术选型方面,xxx相对比较精炼,你为代码生成提供了哪些工具支持?4. 你构建了专家知识库,在多轮对话和超长上下文处理方面遇到过什么问题?5. 除了上下文压缩,你还研究过哪些文本处理技术?6. 在多代理系统中,你采用了什么技术框架来实现?是直接调用还是自己编写代码逻辑?7. 除了这个项目,能否介绍一个你觉得收获较大的项目?它带来了什么价值?8. 在通过命令行与大模型交互时,如何解决推理时间过长导致的用户体验问题?9. 你的硕士研究课题是什么?10. 你比较熟悉Go语言,请谈谈Go和Java的主要区别和相同点。11. 在日常开发中你主要使用什么语言?对未来使用的语言有倾向性吗?12. 你更倾向于从事哪类业务开发?13. 请解释xxx的workflow机制及其主要组成部分。14. 你参加过算法竞赛,能否介绍一个具体案例,包括使用的算法和取得的结果?15. 在分布式系统方面,如果有大量用户同时访问你的xxx代理服务,如何解决单机性能瓶颈问题?16. 在多节点部署时,如何解决负载不均衡的问题?17. 除了任务窃取,还有哪些方法可以实现负载均衡?18. 你对图算法调度了解多少?19. 在学习过程中是否使用过机器学习和深度学习算法?20. 你的职业规划是什么方向?更倾向于底层技术架构、平台层还是上层业务系统开发?21. 为什么选择基础架构开发?你觉得与应用开发相比有哪些不同?22. 你有中间件开发经验吗?为什么对基础架构开发感兴趣?23. 你为什么会选择当前面试的公司?24. 除了当前公司,你还面试了哪些公司?主要是什么方向的岗位?25. 为什么选择xxx作为研究方向?
查看25道真题和解析
点赞 评论 收藏
分享
------------------------------------第一题题目大意:年初有 n (1 <= n <= 10^6) 本书需要整理。平时每个月能整理 m (1 <= m <= n) 本。每年从第 p (1 <= p <= 12) 个月开始,有连续 q (1 <= q <= 13-p) 个月的忙碌期,忙碌期内每月能整理 2*m 本。请问整理完所有图书需要多少个月?解法思路:这是一个直接的模拟题。可以设置一个循环,按月推进。在循环中,维护当前是几月份,并根据月份判断是否处于忙碌期 [p, p+q-1] 内。根据是否忙碌,从总任务量 n 中减去 m 或 2*m,同时月份计数器加一。当月份超过12时,重置为1,直到任务量小于等于0为止。------------------------------------第二题题目大意:一个城市有 n (2 <= n <= 2e5) 个节点,由 n-1 条边连接成一棵树。每个节点有一个初始安全标识:'s'(安全), 'd'(危险), 或 '?'(未分类)。一个安全的网络要求任意相连的两个节点标识必须不同(只能是's'或'd')。问最少需要修改多少个节点的标识才能使整个网络变得安全。解法思路:核心是树的二分染色。因为树是二分图,我们可以将所有节点分成两个集合,使得集合内部没有边相连。通过一次图的遍历(BFS或DFS),确定每个节点的层次(奇数层或偶数层)。这样会产生两种合法的染色方案:方案A(偶数层为's',奇数层为'd')和方案B(偶数层为'd',奇数层为's')。分别计算原标识要变成这两种方案需要修改的次数,取其中的较小值即可。------------------------------------第三题题目大意:给定 n (1 <= n <= 1e5) 个道具,每个道具有一个属性值 ai (1 <= ai <= 1e9)。你需要找到一个最短的连续前缀序列(从第一个道具开始),使得这个前缀序列中所有道具属性值的最小公倍数(LCM),恰好等于全部 n 个道具属性值的最小公倍数。输出这个最短序列的长度。(共有 T 组数据, 1 <= T <= 1e4)解法思路:直接计算LCM会超出整数范围,需要转换思路。一个数的LCM由其所有质因子的最高次幂决定。首先,遍历整个数组,对每个数进行质因数分解,用一个哈希表记录下全局LCM所需要的所有质因子及其最高次幂。然后,从头开始遍历数组,同样对每个数分解质因数,用另一个哈希表维护当前前缀的质因子最高次幂。每当一个质因子在前缀中的最高次幂达到了全局要求的最高次幂时,就标记这个质因子已满足。当所有全局需要的质因子都满足时,当前的位置就是最短序列的长度。
投递科大讯飞等公司10个岗位
点赞 评论 收藏
分享
评论
1
5
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务