上一页 1 2 3 4 5 6 7 ··· 66 下一页
摘要: 4976: 宝石镶嵌 Description 魔法师小Q拥有n个宝石,每个宝石的魔力依次为w_1,w_2,...,w_n。他想把这些宝石镶嵌到自己的法杖上,来提升 法杖的威力。不幸的是,小Q的法杖上宝石镶嵌栏太少了,他必须扔掉k个宝石才能将剩下的宝石镶嵌上去。法杖的 威力等于镶嵌在上面的所有宝石的魔 阅读全文
posted @ 2017-09-05 18:58 meekyan 阅读(275) 评论(0) 推荐(0) 编辑
摘要: Color it Time Limit: 20000/10000 MS (Java/Others) Memory Limit: 132768/132768 K (Java/Others) Problem Description Do you like painting? Little D doesn 阅读全文
posted @ 2017-09-01 11:31 meekyan 阅读(263) 评论(0) 推荐(0) 编辑
摘要: Query on A Tree Time Limit: 20000/10000 MS (Java/Others) Memory Limit: 132768/132768 K (Java/Others) Problem Description Monkey A lives on a tree, he 阅读全文
posted @ 2017-08-31 17:04 meekyan 阅读(555) 评论(0) 推荐(0) 编辑
摘要: 2115: [Wc2011] Xor Description Input 第一行包含两个整数N和 M, 表示该无向图中点的数目与边的数目。 接下来M 行描述 M 条边,每行三个整数Si,Ti ,Di,表示 Si 与Ti之间存在 一条权值为 Di的无向边。 图中可能有重边或自环。 第一行包含两个整数N 阅读全文
posted @ 2017-08-21 21:22 meekyan 阅读(143) 评论(0) 推荐(0) 编辑
摘要: Subsequence Count Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 256000/256000 K (Java/Others) Problem Description Given a binary string S[1,.. 阅读全文
posted @ 2017-08-21 17:15 meekyan 阅读(590) 评论(0) 推荐(0) 编辑
摘要: A Secret Problem Description Today is the birthday of SF,so VS gives two strings S1,S2 to SF as a present,which have a big secret.SF is interested in 阅读全文
posted @ 2017-08-21 15:06 meekyan 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 4197: [Noi2015]寿司晚宴 Description 为了庆祝 NOI 的成功开幕,主办方为大家准备了一场寿司晚宴。小 G 和小 W 作为参加 NOI 的选手,也被邀请参加了寿司晚宴。 在晚宴上,主办方为大家提供了 n−1 种不同的寿司,编号 1,2,3,…,n−1,其中第 i 种寿司的美 阅读全文
posted @ 2017-08-20 12:37 meekyan 阅读(216) 评论(0) 推荐(0) 编辑
摘要: Give out candies Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 524288/524288 K (Java/Others) Problem Description There are n children numbered  阅读全文
posted @ 2017-08-18 11:31 meekyan 阅读(700) 评论(0) 推荐(0) 编辑
摘要: Free from square Problem Description There is a set including all positive integers that are not more then n. HazelFan wants to choose some integers f 阅读全文
posted @ 2017-08-17 19:08 meekyan 阅读(254) 评论(0) 推荐(0) 编辑
摘要: Fleet of the Eternal Throne Problem Description > The Eternal Fleet was built many centuries ago before the time of Valkorion by an unknown race on th 阅读全文
posted @ 2017-08-17 17:21 meekyan 阅读(242) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 66 下一页