上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 37 下一页

2016年7月1日

UVA624(01背包记录路径)

摘要: 题目链接:https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=565 01背包打印路径。 阅读全文

posted @ 2016-07-01 11:18 vCoders 阅读(702) 评论(0) 推荐(0)

2016年6月29日

POJ2488:A Knight's Journey

摘要: A Knight's Journey Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 39700 Accepted: 13487 Description Background The knight is getting bored 阅读全文

posted @ 2016-06-29 21:13 vCoders 阅读(193) 评论(0) 推荐(0)

POJ3256:Cow Picnic

摘要: Cow Picnic Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 5432 Accepted: 2243 Description The cows are having a picnic! Each of Farmer Joh 阅读全文

posted @ 2016-06-29 20:01 vCoders 阅读(182) 评论(0) 推荐(0)

POJ2531:Network Saboteur

摘要: Network Saboteur Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 10978 Accepted: 5290 Description A university network is composed of N com 阅读全文

posted @ 2016-06-29 17:25 vCoders 阅读(216) 评论(0) 推荐(0)

HUD1455:Sticks

摘要: Sticks Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 8839 Accepted Submission(s): 2623 Problem 阅读全文

posted @ 2016-06-29 15:22 vCoders 阅读(186) 评论(0) 推荐(0)

HDU1518:Square

摘要: Square Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 12571 Accepted Submission(s): 4008 Proble 阅读全文

posted @ 2016-06-29 12:27 vCoders 阅读(173) 评论(0) 推荐(0)

2016年5月16日

2006浙大:简单计算器

摘要: 读入一个只包含 +, -, *, / 的非负整数计算表达式,计算该表达式的值。 测试输入包含若干测试用例,每个测试用例占一行,每行不超过200个字符,整数和运算符之间用一个空格分隔。没有非法表达式。当一行中只有0时输入结束,相应的结果不要输出。 对每个测试用例输出1行,即该表达式的值,精确到小数点后 阅读全文

posted @ 2016-05-16 23:55 vCoders 阅读(244) 评论(0) 推荐(0)

2006浙大火星A+B

摘要: 读入两个不超过25位的火星正整数A和B,计算A+B。需要注意的是:在火星上,整数不是单一进制的,第n位的进制就是第n个素数。例如:地球上的10进制数2,在火星上记为“1,0”,因为火星个位数是2进制的;地球上的10进制数38,在火星上记为“1,1,1,0”,因为火星个位数是2进制的,十位数是3进制的 阅读全文

posted @ 2016-05-16 23:45 vCoders 阅读(213) 评论(0) 推荐(0)

2016年5月12日

nefu阶乘定理

摘要: Description 小明的爸爸从外面旅游回来给她带来了一个礼物,小明高兴地跑回自己的房间,拆开一看是一个很大棋盘(非常大),小明有所失望。不过没过几天发现了大棋盘的好玩之处。从起点(0,0)走到终点(n,n)的非降路径数是C(2n,n),现在小明随机取出1个素数p, 他想知道C(2n,n)恰好被 阅读全文

posted @ 2016-05-12 00:10 vCoders 阅读(235) 评论(0) 推荐(0)

2016年5月11日

POJ2689:素数区间筛选

摘要: Prime Distance Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 15820 Accepted: 4202 Description The branch of mathematics called number the 阅读全文

posted @ 2016-05-11 22:31 vCoders 阅读(232) 评论(0) 推荐(0)

上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 37 下一页

导航