多边形的组成条件是最长边不能占边长总和的一半,将木棒想象成圆多砍一刀,然后是简单概率.
Polygon
Time Limit: 1000MS
Memory Limit: Unknown
64bit IO Format: %lld & %llu
Submit Status
Description
...
分类:
其他好文 时间:
2015-01-30 22:40:26
阅读次数:
209
Carmichael Numbers
Time Limit: 3000MS
Memory Limit: Unknown
64bit IO Format: %lld & %llu
Submit
Status
Description
Carmichael Numbers
...
分类:
其他好文 时间:
2015-01-30 19:46:09
阅读次数:
152
A -Alice's presentTime Limit:5000MSMemory Limit:65536KB64bit IO Format:%lld & %lluSubmitStatusPracticeZOJ 3633Appoint description:DescriptionAs a doll...
分类:
其他好文 时间:
2015-01-30 17:07:27
阅读次数:
141
Wavio Sequence
Time Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %llu
Submit Status
Description
Problem D
Wavio Sequence
Input: Standard Input
Output: Standard Output...
分类:
其他好文 时间:
2015-01-30 09:16:46
阅读次数:
242
U - Database Time Limit:9000MS Memory Limit:0KB 64bit IO Format:%lld & %lluSubmit Status Practice UVA 1592Appoint description:DescriptionPeter studies...
分类:
数据库 时间:
2015-01-29 12:29:36
阅读次数:
238
#include int f[1010]= {0, 1, 1};int main(){ int a, b; long long int n; while( ~scanf("%d%d%lld", &a, &b, &n) && a+b+n) { for(int i=3; i<=n; i++) //两个循...
分类:
其他好文 时间:
2015-01-29 12:05:18
阅读次数:
200
F -Count the ColorsTime Limit:2000MSMemory Limit:65536KB64bit IO Format:%lld & %lluSubmitStatusDescriptionPainting some colored segments on a line, so...
分类:
其他好文 时间:
2015-01-28 00:47:44
阅读次数:
206
背景:一直WA,一直以为是double精度问题,结果是:在运算过程中,超出int数据范围。
思路:我的思路是分类讨论,网上好的思路是ceil(d/2r)即可。
学习:
1.数据类型的范围:int 2.1的10次方
longlong 9.2的19次方(longlong在 linux下为%lld,windows下为%I64d).
...
分类:
其他好文 时间:
2015-01-27 11:09:20
阅读次数:
195
Longest PalindromeTime Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld
& %llu
SubmitStatus
Description
Problem D: Longest Palindrome
Time limit: 10 seconds
...
分类:
其他好文 时间:
2015-01-27 09:32:55
阅读次数:
210
B - Weapon Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmit StatusDescriptionIn World War 3, your countries' scientists have i...
分类:
编程语言 时间:
2015-01-26 15:01:46
阅读次数:
308