Memory Limit: 32 MB
In the following figure you can see a rectangular card. Thewidth of the card is
W and length of the card is L and thicknessis zero. Four
(x*x) squares are cut from the...
分类:
其他好文 时间:
2015-08-16 16:46:15
阅读次数:
121
1275 - Internet Service Providers
PDF (English)
Statistics
Forum
Time Limit: 2 second(s)
Memory Limit: 32 MB
A group of N Internet Service Provider c...
分类:
Web程序 时间:
2015-08-16 15:17:26
阅读次数:
126
1214 - Large Division
PDF (English)
Statistics
Forum
Time Limit: 1 second(s)
Memory Limit: 32 MB
Given two integers, a and b, you should checkwhether...
分类:
其他好文 时间:
2015-08-16 13:51:38
阅读次数:
188
1078 - Integer Divisibility
PDF (English)
Statistics
Forum
Time Limit: 2 second(s)
Memory Limit: 32 MB
If an integer is not divisible by 2 or 5, some...
分类:
其他好文 时间:
2015-08-16 12:24:25
阅读次数:
118
1116 - Ekka Dokka
PDF (English)
Statistics
Forum
Time Limit: 2 second(s)
Memory Limit: 32 MB
Ekka and his friend Dokka decided to buy a cake. They both love c...
分类:
其他好文 时间:
2015-08-16 12:17:48
阅读次数:
199
H - 字
Time Limit:500MS
Memory Limit:32768KB 64bit IO Format:%lld & %llu
Submit
Status
Practice
LightOJ 1008
Description
Fibsieve had a fantabulous (yes, it's an actual wo...
分类:
其他好文 时间:
2015-08-15 23:11:27
阅读次数:
163
C -CTime Limit:500MSMemory Limit:32768KB64bit IO Format:%lld & %lluDescriptionThe people ofMohammadpurhave decided to paint each of their houses red, ...
分类:
其他好文 时间:
2015-08-15 17:51:47
阅读次数:
100
http://lightoj.com/volume_showproblem.php?problem=1258
A string is said to be a palindrome if it remains same when read backwards. So, 'abba', 'madam' both are palindromes, but 'adam' is not.
Now...
分类:
其他好文 时间:
2015-08-14 11:49:37
阅读次数:
201
题目链接题意: 击球训练中, 你击中一个球的概率为p,连续击中k1个球, 或者连续击空k2个球, 则训练结束。 求结束训练所击球次数的期望。思路: 设f[x]为连续击中x个球, 距离结束训练所需要的期望 设g[x]为连续击空x个球, 距离结束训练所需要的期望 f[x] = p * (f...
分类:
其他好文 时间:
2015-08-13 13:45:41
阅读次数:
102
题目链接题意: 有n个街口和m条街道, 你后边跟着警察,你需要进行大逃亡(又是大爱的抢银行啊),在每个街口你都有≥1个选择, 1)停留在原地5分钟。 2)如果这个街口可以到xi这个街口, 并且, 通过xi可以遍历完所有未走过的街口,那么就加入选择。 每个选择都是等概率的。 求警察抓住你所用...
分类:
其他好文 时间:
2015-08-13 11:52:42
阅读次数:
111