
排位赛
xcy2001
这个作者很懒,什么都没留下…
展开
-
I. Where Am I?
GDUT 2020寒假训练 排位赛一 I原题链接I. Where Am I?题目Farmer John has gone out for a walk down the road and thinks he may now be lost! Along the road there are N farms (1≤N≤100) in a row. Farms unfortunately ...原创 2020-02-19 18:53:20 · 731 阅读 · 0 评论 -
G. Bucket Brigade
GDUT 2020寒假训练 排位赛二 G原题链接G. Bucket Brigade题目A fire has broken out on the farm, and the cows are rushing to try and put it out! The farm is described by a 10×10 grid of characters like this: The ...原创 2020-02-23 23:39:16 · 397 阅读 · 0 评论 -
G. Livestock Lineup
GDUT 2020寒假训练 排位赛一 G原题链接G. Livestock Lineup题目Every day, Farmer John milks his 8 dairy cows, named Bessie, Buttercup, Belinda, Beatrice, Bella, Blue, Betsy, and Sue. The cows are rather picky, un...原创 2020-02-19 19:02:54 · 581 阅读 · 0 评论 -
F. Milk Factory
GDUT 2020寒假训练 排位赛二 F原题链接F. Milk Factory题目The milk business is booming! Farmer John’s milk processing factory consists of N processing stations, conveniently numbered 1…N (1≤N≤100), and N−1 walk...原创 2020-02-24 00:00:21 · 773 阅读 · 0 评论 -
D. Mixing Milk
GDUT 2020寒假训练 排位赛四 D原题链接D. Mixing Milk题目Farming is competitive business – particularly milk production. Farmer John figures that if he doesn’t innovate in his milk production methods, his dairy...原创 2020-03-03 16:51:02 · 242 阅读 · 0 评论 -
C. Defining Labels
GDUT 2020寒假训练 排位赛四 C原题链接C. Defining Labels题目Microsoft Excel is a spreadsheet developed by Microsoft. It features calculation, graphing tools, pivot tables, and a macro programming language call...原创 2020-03-03 16:43:26 · 294 阅读 · 0 评论 -
B. Diverse Garland
GDUT 2020寒假训练 排位赛四 B原题链接B. Diverse Garland题目You have a garland consisting of n lamps. Each lamp is colored red, green or blue. The color of the i-th lamp is si (‘R’, ‘G’ and ‘B’ — colors of lam...原创 2020-03-03 15:58:52 · 303 阅读 · 0 评论 -
B. MooBuzz
GDUT 2020寒假训练 排位赛一 B原题链接B. MooBuzz题目Farmer John’s cows have recently become fans of playing a simple number game called “FizzBuzz”. The rules of the game are simple: standing in a circle, the co...原创 2020-02-19 18:33:54 · 324 阅读 · 0 评论 -
A - Cow Contest
GDUT 2020寒假训练 图论 A原题链接Cow ContestGDUT-图论 - A - Cow Contest题目大意n头牛两两比赛,已知m条比赛胜负关系,如果A战胜了B,那么A的等级比B高,如果A比B高,C比A高则可以确定C也比B的等级高,给出这m条比赛关系,求可以确定等级的牛的个数思路floyd遍历先读入每一次的战胜关系,然后根据已有条件补出全部的关系,比如已知A比B...原创 2020-02-24 14:43:55 · 223 阅读 · 0 评论 -
A. Fence Planning
GDUT 2020寒假训练 排位赛二 A原题链接A. Fence Planning题目Farmer John’s N cows, conveniently numbered 1…N (2≤N≤105), have a complex social structure revolving around “moo networks” — smaller groups of cows th...原创 2020-02-23 23:30:31 · 366 阅读 · 0 评论 -
A.Cow Gymnastics 奶牛体操
GDUT 2020寒假训练 排位赛一 A原题链接A. Cow Gymnastics题目描述In order to improve their physical fitness, the cows have taken up gymnastics! Farmer John designates his favorite cow Bessie to coach the N other c...原创 2020-02-19 18:00:31 · 793 阅读 · 0 评论 -
E. Binary Tree
GDUT 2020寒假训练 排位赛四 E原题链接E. Binary Tree题目In computer science, a binary tree is a rooted tree in which each node has at most two children. In this problem, let’s denote n as the number of nodes,...原创 2020-03-03 17:03:46 · 417 阅读 · 0 评论 -
H. Photoshoot 枚举
GDUT 2020寒假训练 排位赛三 H原题链接H. Photoshoot题目outputstandard outputFarmer John is lining up his N cows (2≤N≤103), numbered 1…N, for a photoshoot. FJ initially planned for the i-th cow from the left t...原创 2020-03-12 13:21:59 · 304 阅读 · 0 评论 -
A. Wormhole Sort 并查集 最小生成树
GDUT 2020寒假训练 排位赛三 A原题链接A. Wormhole Sort题目outputstandard outputFarmer John’s cows have grown tired of his daily request that they sort themselves before leaving the barn each morning. They hav...原创 2020-03-12 12:58:47 · 467 阅读 · 0 评论 -
D. Race
GDUT 2020寒假训练 排位赛三 D原题链接D. Race题目outputstandard outputBessie is running a race of length K (1≤K≤109) meters. She starts running at a speed of 0 meters per second. In a given second, she can ei...原创 2020-03-12 20:20:47 · 451 阅读 · 0 评论