摘要:
如何定义?(初始化) 1. pair<int,int>p; 2.定义即初始化,也可以这个样子 pair<int,int>p(1,1); 里面的类型还可以是string,double等。 3.还可以这样子初始化 pair<int,int>p; p=make_pair(2,3); 如何调用? pair< 阅读全文
摘要:
After winning gold and silver in IOI 2014, Akshat and Malvika want to have some fun. Now they are playing a game on a grid made of n horizontal and m 阅读全文
摘要:
The only difference between easy and hard versions is constraints. You are given nn segments on the coordinate axis OXOX. Segments can intersect, lie 阅读全文