摘要: Time Limit: 1000MSMemory Limit: 65536KTotal Submissions: 5685Accepted: 2256DescriptionYou are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which... 阅读全文
posted @ 2009-10-10 13:04 Weiyu Wang 阅读(662) 评论(0) 推荐(0)
摘要: Time Limit: 1000MSMemory Limit: 10000KTotal Submissions: 6342Accepted: 3061Description在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和大小的棋盘,摆放k个棋子的所有可行的摆放方案C。Input输入含有多组测试数... 阅读全文
posted @ 2009-10-10 12:12 Weiyu Wang 阅读(405) 评论(0) 推荐(0)
摘要: Time Limit: 1000MSMemory Limit: 65536KTotal Submissions: 2792Accepted: 1127DescriptionOn Planet MM-21, after their Olympic games this year, curling is getting popular. But the rules are somewhat diffe... 阅读全文
posted @ 2009-10-10 11:44 Weiyu Wang 阅读(615) 评论(0) 推荐(0)
摘要: Time Limit: 1000MSMemory Limit: 65536KTotal Submissions: 2934Accepted: 1418DescriptionThe cornfield maze is a popular Halloween treat. Visitors are shown the entrance and must wander through the maze ... 阅读全文
posted @ 2009-10-10 10:36 Weiyu Wang 阅读(945) 评论(0) 推荐(0)
摘要: Time Limit: 1000MSMemory Limit: 65536KTotal Submissions: 7832Accepted: 2671DescriptionBackground The knight is getting bored of seeing the same black and white squares again and again and has decided ... 阅读全文
posted @ 2009-10-10 07:05 Weiyu Wang 阅读(1519) 评论(1) 推荐(0)
摘要: Time Limit: 5000MSMemory Limit: 128000KTotal Submissions: 13696Accepted: 3384DescriptionYou are given a bunch of wooden sticks. Each endpoint of each stick is colored with some color. Is it possible t... 阅读全文
posted @ 2009-10-10 03:53 Weiyu Wang 阅读(788) 评论(0) 推荐(0)
摘要: Time Limit: 2000MSMemory Limit: 65536KTotal Submissions: 6104Accepted: 1892DescriptionFarmer John wants to repair a small length of the fence around the pasture. He measures the fence and finds that h... 阅读全文
posted @ 2009-10-10 01:36 Weiyu Wang 阅读(976) 评论(0) 推荐(0)
摘要: Time Limit: 3000MSMemory Limit: 65536KTotal Submissions: 12536Accepted: 5529DescriptionYou have just moved from Waterloo to a big city. The people here speak an incomprehensible dialect of a foreign l... 阅读全文
posted @ 2009-10-09 13:22 Weiyu Wang 阅读(1426) 评论(0) 推荐(1)
摘要: Time Limit: 3500MSMemory Limit: 65536KTotal Submissions: 6320Accepted: 2024DescriptionA square is a 4-sided polygon whose sides have equal length and adjacent sides form 90-degree angles. It is also a... 阅读全文
posted @ 2009-10-09 11:30 Weiyu Wang 阅读(871) 评论(0) 推荐(0)
摘要: Time Limit: 5000MSMemory Limit: 65536KTotal Submissions: 3409Accepted: 1514DescriptionConsider equations having the following form: a1x13+ a2x23+ a3x33+ a4x43+ a5x53=0 The coefficients are given integ... 阅读全文
posted @ 2009-10-09 04:55 Weiyu Wang 阅读(406) 评论(0) 推荐(0)