上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 22 下一页
摘要: Highway Accepted : 25 Submit : 104 Time Limit : 4000 MS Memory Limit : 65536 KB Highway Highway In ICPCCamp there were n towns conveniently numbered w 阅读全文
posted @ 2017-05-14 23:26 perplex 阅读(300) 评论(0) 推荐(0)
摘要: In one of the games Arkady is fond of the game process happens on a rectangular field. In the game process Arkady can buy extensions for his field, ea 阅读全文
posted @ 2017-05-14 16:57 perplex 阅读(228) 评论(0) 推荐(0)
摘要: Arkady plays Gardenscapes a lot. Arkady wants to build two new fountains. There are n available fountains, for each fountain its beauty and cost are k 阅读全文
posted @ 2017-05-14 16:52 perplex 阅读(239) 评论(0) 推荐(0)
摘要: 587. Erect the Fence 587. Erect the Fence User Accepted: 78 User Tried: 196 Total Accepted: 82 Total Submissions: 452 Difficulty: Hard There are some 阅读全文
posted @ 2017-05-14 16:36 perplex 阅读(299) 评论(0) 推荐(0)
摘要: 第一次参加leetcode的比赛,刚开始全得用class写十分不适应,这场表现的不是很好,以后继续努力吧…… A.Shortest Unsorted Continuous Subarray 1 class Solution { 2 public: 3 int findUnsortedSubarray 阅读全文
posted @ 2017-05-14 16:33 perplex 阅读(161) 评论(0) 推荐(0)
摘要: 丽娃河的狼人传说 Time limit per test: 1.0 seconds Time limit all tests: 1.0 seconds Memory limit: 256 megabytes 丽娃河的狼人传说 Time limit per test: 1.0 seconds Time 阅读全文
posted @ 2017-05-13 23:22 perplex 阅读(133) 评论(0) 推荐(0)
摘要: D - Score Attack Time limit : 2sec / Memory limit : 256MB Score : 400 points Problem Statement There is a directed graph with N vertices and M edges. 阅读全文
posted @ 2017-05-13 23:12 perplex 阅读(387) 评论(0) 推荐(0)
摘要: A. 如果存在的话,一定是所有的数化为最初的最小值,如果做不到就不可以。 1 #include <iostream> 2 #include <string> 3 #include <algorithm> 4 #include <cstring> 5 #include <cstdio> 6 #incl 阅读全文
posted @ 2017-04-24 23:28 perplex 阅读(149) 评论(0) 推荐(0)
摘要: A. 因为A的题意导致这次罚时比较多……注意change一定是必须得改成不一样的,如a改成a是不行的。 1 #include <iostream> 2 #include <string> 3 #include <algorithm> 4 #include <cstring> 5 #include < 阅读全文
posted @ 2017-04-23 10:08 perplex 阅读(192) 评论(0) 推荐(0)
摘要: 又是满满的收获。stringstream,以及根据后序和中序遍历结果求树的方法。 阅读全文
posted @ 2017-04-15 22:28 perplex 阅读(254) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 22 下一页