savage
savage
全部文章
分类
题解(374)
归档
标签
去牛客网
登录
/
注册
欢迎来到savage的博客
Bug千万个,生命只一次
全部文章
(共8篇)
题解 | 种草-牛客假日团队赛3K题
题目描述 到了一年中Farmer John在他的草地里种草的时间了。整个农场由N块草地组成(),方便起见编号为,由条双向的小路连接,每块草地都可以经过一些小路到达其他所有的草地。 Farmer John当然可以在每块草地里种不同种类的草,但是他想要使得使用的草的种类数最小,因为他用的草...
种草
题解
牛客假日团队赛3
2019-08-08
0
896
题解 | Times 17-牛客假日团队赛3J题
题目描述 After realizing that there is much money to be made in software development, Farmer John has launched a small side business writing sho...
题解
Times17
牛客假日团队赛3
2019-08-08
0
802
题解 | Seating-牛客假日团队赛3I题
题目描述 To earn some extra money, the cows have opened a restaurant in their barn specializing in milkshakes. The restaurant has N seats in ...
Seating
题解
牛客假日团队赛3
2019-08-08
0
697
题解 | Cow Picnic-牛客假日团队赛3G题
题目描述 The cows are having a picnic! Each of Farmer John's cows is grazing in one of pastures, conveniently numbered . The pastures are connecte...
CowPicnic
题解
牛客假日团队赛3
2019-08-08
0
688
题解 | City Horizon-牛客假日团队赛3F题
题目描述 Farmer John has taken his cows on a trip to the city! As the sun sets, the cows gaze at the city horizon and observe the beautiful silhouet...
题解
CityHorizon
牛客假日团队赛3
2019-08-08
0
773
题解 | Corn Fields-牛客假日团队赛3E题
题目描述 Farmer John has purchased a lush new rectangular pasture composed of by square parcels. He wants to grow some yummy corn for the cows on ...
CornFields
题解
牛客假日团队赛3
2019-08-08
1
884
题解 | Roadblocks-牛客假日团队赛3D题
题目描述 Bessie has moved to a small farm and sometimes enjoys returning to visit one of her best friends. She does not want to get to her old home ...
Roadblocks
题解
牛客假日团队赛3
2019-08-08
0
880
题解 | 奶牛披萨-牛客假日团队赛3A题
题目描述 有T种馅料,但有些馅料不能被放在一起。求选出一些馅料的方案数是多少。 文件输入第一行为两个整数 和,表示接下来行会有个限制。 接下来行,每行的第一个数表示接下来数的个数:,表示任意一种陷料中这种馅料不能同时出现。 如果,则表示 这种陷料在任何一种组合中都不得出现。 如果 表示...
奶牛披萨
题解
牛客假日团队赛3
2019-08-08
0
647