搜索
文章平均质量分 80
sandra-hehe
这个作者很懒,什么都没留下…
展开
-
Pouring water
#include #include #include #define MAX 10000000 using namespace std; int f[201][201][201];//用来存放到达某个状态所需倒的最少水量 short inQ[201][201][201];//用来标记某个状态是否在队列中 int main() { queue q; short s[3], d;原创 2014-03-18 17:59:55 · 1067 阅读 · 0 评论 -
UVA10047
Problem A: The Monocycle A monocycle is a cycle that runs on one wheel and the one we will be considering is a bit more special. It has a solid wheel colored with five different co原创 2014-07-20 20:34:16 · 390 阅读 · 0 评论 -
UVA11624
Problem B: Fire! Joe works in a maze. Unfortunately, portions of the maze have caught on fire, and the owner of the maze neglected to create a fire escape plan. Help Joe escape the maze. Given原创 2014-07-20 20:55:34 · 486 阅读 · 0 评论