2013年8月28日

POJ 3580 SuperMemo (splay tree)

摘要: SuperMemoTime Limit:5000MSMemory Limit:65536KTotal Submissions:6841Accepted:2268Case Time Limit:2000MSDescriptionYour friend, Jackson is invited to a TV show called SuperMemo in which the participant is told to play a memorizing game. At first, the host tells the participant a sequence of numbers, { 阅读全文

posted @ 2013-08-28 21:30 kuangbin 阅读(980) 评论(0) 推荐(0) 编辑

BZOJ 1500: [NOI2005]维修数列 (splay tree)

摘要: 1500: [NOI2005]维修数列Time Limit:10 SecMemory Limit:64 MBSubmit:4229Solved:1283[Submit][Status]DescriptionInput输入文件的第1行包含两个数N和M,N表示初始时数列中数的个数,M表示要进行的操作数目。第2行包含N个数字,描述初始时的数列。以下M行,每行一条命令,格式参见问题描述中的表格。Output对于输入数据中的GET-SUM和MAX-SUM操作,向输出文件依次打印结果,每个答案(数字)占一行。Sample Input9 82 -6 3 5 1 -5 -3 6 3GET-SUM 5 4MAX 阅读全文

posted @ 2013-08-28 19:18 kuangbin 阅读(3387) 评论(0) 推荐(0) 编辑

导航

JAVASCRIPT: