发表评论取消回复
相关阅读
相关 UVA1045 The Great Wall Game
题目链接:[UVA1045 The Great Wall Game][] 题目大意:在一个n\n的棋盘上有n个棋子,要求通过移动棋子使棋子的排布满足以下情况之一:呈横行排列
相关 教授的课(Version1.1)
include<stdio.h> void Init(short [], short); short StudentsNumberBeforeClass
相关 Codeforces Round #411 (Div. 1)(A~D)题解
题目链接: [\411 (Div. 1)][411 _Div. 1] 差点翻船。 题解: A. 这个推导一下,找一下规律就可以了。答案是:ans=(n
相关 CodeForces 198B Jumping on Walls(dfs)
Vasya plays a computer game with ninjas. At this stage Vasya's ninja should get out of a
相关 Codeforces 1029B-Creating the Contest
Codeforces 1029B-Creating the Contest -------------------- 题目链接: [B. Creat
相关 Codeforces1092C. Prefixes and Suffixes——————思维,字符串
C. Prefixes and Suffixes Ivan wants to play a game with you. He picked some string s
相关 codeforces contest 1092 -- D1 Great Vova Wall (Version 1)
[click][] 思路:用1\2的块能补成相邻差不超过1的序列; 用栈模拟,如果该数和栈顶元素同为奇数或同为偶数,则消去,最终栈内的元素<=1的才是YES 原因是
相关 2013 Multi-University Training Contest 1
组队赛,做出来了两道,很水啊。。。下来看了一下解题报告,记录一下: [http://acm.hdu.edu.cn/vcontest/vtl/problemlist/showp
相关 UVA1336 - Fixing the Great Wall (区间DP)
题意:用机器人修复分布在一条直线段上的n个损坏点,对于每个点i,x\[i\]表示位置,c\[i\]为立刻修缮的费用,d\[i\]为单位时间增加的维修费用。例如若在时刻t修缮i
相关 HDU Multi-University Training Contest 1
<table> <thead> <tr> <th>Sloved</th> <th align="center">A</th> <th alig
还没有评论,来说两句吧...