摘要: 链接:https://ac.nowcoder.com/acm/contest/27836/D来源:牛客网 题目描述 树国是一个有n个城市的国家,城市编号为1∼n。连接这些城市的道路网络形如一棵树, 即任意两个城市之间有恰好一条路径。城市中有k个帮派,编号为1∼k。每个帮派会占据一些城市,以进行非法交 阅读全文
posted @ 2022-08-06 22:11 er007 阅读(34) 评论(0) 推荐(0)
摘要: 链接:https://ac.nowcoder.com/acm/contest/33191/J来源:牛客网 题目描述 There are three integers A,BA, BA,B and CCC written on the blackboard. You can perform the f 阅读全文
posted @ 2022-08-06 19:03 er007 阅读(71) 评论(0) 推荐(0)
摘要: 链接:https://ac.nowcoder.com/acm/contest/33191/B来源:牛客网 题目描述 Eezie, a pie maniac, would like to have some pies with her friends on a hot summer day. Howe 阅读全文
posted @ 2022-08-06 18:58 er007 阅读(75) 评论(0) 推荐(0)