不要让昨天 占据你的今天 夏午晴天

夏午晴天

上一页 1 ··· 8 9 10 11 12 13 14 15 下一页

2017年3月12日

Andy's First Dictionary

摘要: Andy's First Dictionary Andy, 8, has a dream - he wants to produce his very own dictionary. This is not an easy task for him, as the number of words t 阅读全文

posted @ 2017-03-12 11:14 夏晴天 阅读(145) 评论(0) 推荐(0) 编辑

2017年3月11日

myschool 1204

摘要: http://oj.jxust.edu.cn/problem.php?id=1274 阅读全文

posted @ 2017-03-11 13:28 夏晴天 阅读(153) 评论(0) 推荐(0) 编辑

vector容器

摘要: #include #include using namespace std; int main() { vector v; vector ::iterator it = v.begin(); for(int i = 0; i < 10; i++) { v.push_back(i); } for(it=v.begin(); ... 阅读全文

posted @ 2017-03-11 13:26 夏晴天 阅读(138) 评论(0) 推荐(0) 编辑

2017年3月9日

766A Mahmoud and Longest Uncommon Subsequence

摘要: A. Mahmoud and Longest Uncommon Subsequence time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard out 阅读全文

posted @ 2017-03-09 22:21 夏晴天 阅读(350) 评论(0) 推荐(0) 编辑

767A Snacktower

摘要: A. Snacktower time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output A. Snacktower time limit p 阅读全文

posted @ 2017-03-09 21:29 夏晴天 阅读(231) 评论(0) 推荐(0) 编辑

2017年3月8日

喵哈哈村的括号序列

摘要: 描述 喵哈哈村的括号序列和外界的括号序列实际上是一样的。 众所周知"()"这样的,就是一个标准的括号序列;"()()()()"这样也是括号序列;“((()))()”这样也是一个合法的括号序列。但是"((("这样,就不是一个合法的括号序列了。 现在沈宝宝非常好奇,给你一个字符串,请从中找出最长的合法括 阅读全文

posted @ 2017-03-08 21:21 夏晴天 阅读(130) 评论(0) 推荐(0) 编辑

摘要: #include #include using namespace std; int main() { stack s; for(int i = 0;i < 10; i++) { s.push(i); } cout << "size:" <<s.size() <<endl; while(!s.empty()) { ... 阅读全文

posted @ 2017-03-08 21:16 夏晴天 阅读(84) 评论(0) 推荐(0) 编辑

队列

摘要: 1 #include 2 #include 3 using namespace std; 4 struct Node 5 { 6 int num; 7 int w; 8 }node; 9 int main() 10 { 11 queue q; 12 int n; 13 cin >> n; 14 for(int i = 1; i... 阅读全文

posted @ 2017-03-08 21:11 夏晴天 阅读(103) 评论(0) 推荐(0) 编辑

优先队列

摘要: 1 #include 2 #include 3 #include 4 using namespace std; 5 6 struct cmp 7 { 8 bool operator()( const int &a, const int &b ) 9 { 10 return a , greater > q; 17 //priorit... 阅读全文

posted @ 2017-03-08 21:09 夏晴天 阅读(91) 评论(0) 推荐(0) 编辑

2017年3月7日

768A Oath of the Night's Watch

摘要: A. Oath of the Night's Watch time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output A. Oath of 阅读全文

posted @ 2017-03-07 17:26 夏晴天 阅读(181) 评论(0) 推荐(0) 编辑

上一页 1 ··· 8 9 10 11 12 13 14 15 下一页

导航

Live2D