摘要: 题目链接 Problem Description 有一种纸牌游戏,很有意思,给你N张纸牌,一字排开,纸牌有正反两面,开始的纸牌可能是一种乱的状态(有些朝正,有些朝反),现在你需要整理这些纸牌。但是麻烦的是,每当你翻一张纸牌(由正翻到反,或者有反翻到正)时,他左右两张纸牌(最左边和最右边的纸牌,只会影 阅读全文
posted @ 2016-02-03 18:36 ACMSaga 阅读(748) 评论(0) 推荐(0)
摘要: 题目链接 Problem Description The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one lar 阅读全文
posted @ 2016-02-03 17:18 ACMSaga 阅读(175) 评论(0) 推荐(0)
摘要: 题目链接 Problem Description Zty is a man that always full of enthusiasm. He wants to solve every kind of difficulty ACM problem in the world. And he has 阅读全文
posted @ 2016-02-03 17:05 ACMSaga 阅读(164) 评论(0) 推荐(0)