六、给定有向图 G ( V , E ) G(V,E) G(V,E),每条边 ( u , v ) ∈ E (u,v)∈E (u,v)∈E 有一个关联值 r ( u , v ) r(u,v) r(u,v) ,该关联值是一个实数,其范围为 0 ⩽ r ( u , v ) ⩽ 1 0⩽r(u,v)⩽1 0⩽r(u,v)⩽1 ,其代表的意…
Milky Days
#模拟 #贪心 #枚举
题目描述
Little John is as little as night is day — he was known to be a giant, at possibly 2.1 2.1 2.1 metres tall. It has everything to do with his love for milk.
His dairy diary has n n n entries, showing that he acqu…
Robin Hood Archery
#异或哈希 #博弈论 #贪心
题目描述
Sheriff of Nottingham has organized a tournament in archery. It’s the final round and Robin Hood is playing against Sheriff! There are n n n targets in a row numbered from 1 1 1 to n n n. When a pl…