上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 76 下一页
摘要: A计划 Problem Description 可怜的公主在一次次被魔王掳走一次次被骑士们救回来之后,而今,不幸的她再一次面临生命的考验。魔王已经发出消息说将在T时刻吃掉公主,因为他听信谣言说吃公主的肉也能长生不老。年迈的国王正是心急如焚,告招天下勇士来拯救公主。不过公主早已习以为常,她深信智勇的骑 阅读全文
posted @ 2019-02-04 18:58 神犇(shenben) 阅读(298) 评论(0) 推荐(0)
摘要: rope是什么?STL的内置的可持久化的数组。其最为方便的就是可以O1复制原来的数组。事实上rope的内置实现也是平衡树,由于只需要复制根结点,O1可以做到复制历史版本。 然而这个东西常数特大,不开O2可能会被卡 科普一下rope基本操作(百度貌似有点难找): 多数时候定义rope用指针(方便可持久 阅读全文
posted @ 2019-01-27 21:08 神犇(shenben) 阅读(807) 评论(1) 推荐(1)
摘要: D. Robin Hood time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output D. Robin Hood time limit pe 阅读全文
posted @ 2019-01-25 15:53 神犇(shenben) 阅读(403) 评论(0) 推荐(0)
摘要: Median Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 11599 Accepted: 4112 Description Given N numbers, X1, X2, ... , XN, let us calculate 阅读全文
posted @ 2019-01-25 14:41 神犇(shenben) 阅读(205) 评论(0) 推荐(0)
摘要: C. Vasya and Robot time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output C. Vasya and Robot tim 阅读全文
posted @ 2019-01-25 11:12 神犇(shenben) 阅读(395) 评论(0) 推荐(0)
摘要: E. Andrew and Taxi time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output E. Andrew and Taxi ti 阅读全文
posted @ 2019-01-24 21:08 神犇(shenben) 阅读(233) 评论(0) 推荐(0)
摘要: 入口: https://cn.vjudge.net/problem/UVA-1335 【题意】 有n个人为成一个圈,其中第i个人想要r[i]种不同的礼物,相邻的两个人可以聊天,炫耀自己的礼物。如果两个相邻的人拥有同一种礼物,则双方都会很不高兴,问最少需要多少种不同的礼物才能满足所有人的需求,假设每种 阅读全文
posted @ 2019-01-24 17:41 神犇(shenben) 阅读(274) 评论(0) 推荐(0)
摘要: 紫书习题: https://cn.vjudge.net/article/45蓝书习题: https://cn.vjudge.net/article/61 https://cn.vjudge.net/article/755白书习题: https://cn.vjudge.net/article/426俞 阅读全文
posted @ 2019-01-24 17:26 神犇(shenben) 阅读(160) 评论(0) 推荐(0)
摘要: BaoBao and DreamGrid are playing the game Plants vs. Zombies. In the game, DreamGrid grows plants to defend his garden against BaoBao's zombies. There 阅读全文
posted @ 2019-01-23 23:20 神犇(shenben) 阅读(289) 评论(0) 推荐(0)
摘要: Monthly Expense Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 36628 Accepted: 13620 Description Farmer John is an astounding accounting w 阅读全文
posted @ 2019-01-23 23:13 神犇(shenben) 阅读(292) 评论(0) 推荐(0)
摘要: Can you solve this equation? Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 27728 Accepted Subm 阅读全文
posted @ 2019-01-23 23:09 神犇(shenben) 阅读(243) 评论(0) 推荐(0)
摘要: Drying Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 24089 Accepted: 6031 Description It is very hard to wash and especially to dry cloth 阅读全文
posted @ 2019-01-23 23:04 神犇(shenben) 阅读(334) 评论(0) 推荐(0)
摘要: The Frog's Games Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65768/65768 K (Java/Others) Total Submission(s): 10307 Accepted Submission(s): 4 阅读全文
posted @ 2019-01-23 22:57 神犇(shenben) 阅读(513) 评论(0) 推荐(1)
摘要: Aggressive cows Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 22674 Accepted: 10636 Description Farmer John has built a new long barn, wi 阅读全文
posted @ 2019-01-23 22:47 神犇(shenben) 阅读(201) 评论(0) 推荐(0)
摘要: River Hopscotch Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 21939 Accepted: 9081 Description Every year the cows hold an event featurin 阅读全文
posted @ 2019-01-23 22:38 神犇(shenben) 阅读(260) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 76 下一页