摘要:Strategic Game Time Limit: 20000/10000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2925 Accepted Submission(s): 122
阅读全文
摘要:Stars Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description Astronomers often examine star maps where stars are represented by
阅读全文
摘要:The order of a Tree Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description As we know,the shape of a binary search tree is great
阅读全文
摘要:Binary Tree Traversals Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description A binary tree is a finite set of vertices that is
阅读全文
摘要:Problem Description 判断两序列是否为同一二叉搜索树序列 Input 开始一个数n,(1<=n<=20) 表示有n个需要判断,n= 0 的时候输入结束。接下去一行是一个序列,序列长度小于10,包含(0~9)的数字,没有重复数字,根据这个序列可以构造出一颗二叉搜索树。接下去的n行有n
阅读全文
摘要:C - 小希的迷宫 Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status C - 小希的迷宫 Submit Status Description 上次Gardon的迷宫城堡小希玩了很久(见
阅读全文
摘要:Description 给定一个m × n (m行, n列)的迷宫,迷宫中有两个位置,gloria想从迷宫的一个位置走到另外一个位置,当然迷宫中有些地方是空地,gloria可以穿越,有些地方是障碍,她必须绕行,从迷宫的一个位置,只能走到与它相邻的4个位置中,当然在行走过程中,gloria不能走到迷宫
阅读全文