5/37Problem AHUST 1019A dangerous trip10/71Problem BHUST 1631Road SystemProblem CUVALive 3523Knights of the Round Table1/5Problem DUVALive 5135Mining ...
分类:
其他好文 时间:
2015-07-14 08:41:01
阅读次数:
174
Scout YYF ITime Limit:1000MSMemory Limit:65536KTotal Submissions:4410Accepted:1151DescriptionYYF is a couragous scout. Now he is on a dangerous missio...
分类:
其他好文 时间:
2015-07-12 15:39:30
阅读次数:
100
题目连接http://acm.hdu.edu.cn/showproblem.php?pid=4150Powerful IncantationDescriptionSome dangerous Witches invaded the garden city! As a righteous magici...
分类:
其他好文 时间:
2015-07-06 14:04:58
阅读次数:
107
10不够真诚是危险的,太真诚则绝对是致命的。——摘自《身为艺术家的评论者》
“A little sincerity is a dangerous thing, and a great deal of it is absolutely fatal.”
– from The Critic as Artist
9摆脱诱惑的唯一方法就是臣服于它。——摘自《道林·格雷的画像》
...
分类:
其他好文 时间:
2015-06-24 19:02:14
阅读次数:
133
题目大意:迷宫里面有n扇门,每扇门有相应的值,假设第i扇门的值为xi,如果xi > 0,那么xi分钟后,走该扇门就可以走出迷宫了,如果xi < 0,表示走了该扇门之后,需要abs(xi)分钟后才能回到原点,问走出迷宫的期望是多少解题思路:假设有k扇门(正值用x表示,负值用y表示)期望是d的话
那么d = 1 / k * (x1 + x2 + x3 + .. xn) + 1 / k * (abs(y...
分类:
其他好文 时间:
2015-06-08 21:34:56
阅读次数:
116
题目链接:http://www.lightoj.com/volume_showproblem.php?problem=1027题意:
你面前有n个门,每个对应一个数字,若为正xi,代表xi分钟后你会从它走出迷宫,负数则说明你会在-xi分钟后回到出发点且失去记忆。求出去的时间的期望。代码:#include
#include
#include ...
分类:
其他好文 时间:
2015-06-05 10:13:29
阅读次数:
119
A -A Dangerous MazeTime Limit:2000MSMemory Limit:32768KB64bit IO Format:%lld & %lluSubmitStatusDescriptionYou are in a maze; seeingndoors in front of ...
分类:
其他好文 时间:
2015-06-04 19:22:29
阅读次数:
170
场景:当URL中存在“,*,%,&,:,/”特殊字符时,页面会抛出A potentially dangerous Request.Path value was detected from the client异常。原因:是ASP.NET默认的拦截机制,保证页面URL传输的一定安全性。解决方案有两种:...
分类:
其他好文 时间:
2015-05-29 20:11:42
阅读次数:
119
You are in a maze; seeing n doors in front of you in beginning. You can choose any door you like. The probability for choosing a door is equal for all doors.If you choose the ith door, it can either ta...
分类:
其他好文 时间:
2015-05-17 16:49:18
阅读次数:
118
Treasure Hunt ITime Limit:2 Seconds Memory Limit:65536 KBAkiba is a dangerous country since a bloodsucker living there. Sometimes the bloodsucker will...
分类:
其他好文 时间:
2015-05-17 12:12:52
阅读次数:
127