摘要: Summer is coming! It's time for Iahub and Iahubina to work out, as they both want to look hot at the beach. The gym where they go is a matrix a with n 阅读全文
posted @ 2018-07-16 20:52 zdragon 阅读(209) 评论(0) 推荐(0) 编辑
摘要: Furik and Rubik take part in a relay race. The race will be set up on a large square with the side of n meters. The given square is split into n × n c 阅读全文
posted @ 2018-07-16 20:45 zdragon 阅读(528) 评论(0) 推荐(0) 编辑
摘要: You are given an integer array of length nn. You have to choose some subsequence of this array of maximum length such that this subsequence forms a in 阅读全文
posted @ 2018-07-16 20:33 zdragon 阅读(160) 评论(0) 推荐(0) 编辑
摘要: Genos recently installed the game Zuma on his phone. In Zuma there exists a line of n gemstones, the i-th of which has color ci. The goal of the game 阅读全文
posted @ 2018-07-16 20:23 zdragon 阅读(333) 评论(0) 推荐(0) 编辑