摘要:
Brakerts 每次询问一个区间都根据最开始的线段树在询问的区间重建一棵线段树 view code#include #include #include #include #define lson l,m,rt using namespace std; typedef long long LL; const int N = 200010; int _, n, Q; char s... 阅读全文
摘要:
Argestes and Sequence Time Limit: 5000/2500 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 566 Accepted Submission(s): 142 Problem Description Argestes h... 阅读全文
摘要:
Tree Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 16172 Accepted: 5272 Description Give a tree with n vertices,each edge has a length(po 阅读全文
摘要:
12745 Wishmaster view code#include #include #include #include using namespace std;
typedef long long ll;
const int N = 200010;
const int M = Nn?x-n:x+n; if(mark[ano]) return false; if(mark... 阅读全文
摘要:
uva 6757 Cup of CowardsCup of Cowards (CoC) is a role playing game that has 5 different characters (Mage, Tank, Fighter,Assassin and Marksman). A team ... 阅读全文
摘要:
Another OCD PatientTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 645 Accepted Submission(s): 238 Problem Description Xiaoji is an OCD (ob... 阅读全文