摘要: 前缀和思想 Genos needs your help. He was asked to solve the following programming problem by Saitama: The length of some string s is denoted |s|. The Hammi 阅读全文
posted @ 2018-11-19 20:44 EchoZQN 阅读(143) 评论(0) 推荐(0) 编辑
摘要: #include <iostream>#include <algorithm>#include <cstdio>using namespace std;int b[1090];struct play { int right; int left; }; bool cmp(play a,play b)  阅读全文
posted @ 2018-11-19 17:12 EchoZQN 阅读(90) 评论(0) 推荐(0) 编辑
摘要: #include <iostream>#include <algorithm>#include <cstdio>using namespace std; struct race{ int first; int second;}; bool cmp(race a,race b){ return a.s 阅读全文
posted @ 2018-11-19 16:12 EchoZQN 阅读(89) 评论(0) 推荐(0) 编辑
摘要: #include <iostream>#include <algorithm>#include <cstdio>using namespace std; struct milk{ int p; int num;}; bool cmp(milk a,milk b){ return a.p < b.p; 阅读全文
posted @ 2018-11-19 16:04 EchoZQN 阅读(78) 评论(0) 推荐(0) 编辑