版本比较
总结2
正文
增加 2 行删除 2 行
84 行未改动85868788898990919293120 行未改动全部展开21421521621721821821922022184 行未改动 }else{ cout<<"X\n";//小X赢了 } }} }```
## Map
120 行未改动全部展开 cout<<it1->first<<' '<<it1->second; map<int,int>::iterator it2=mp.upper_bound(6);//lower_bound二分查询大于6的第一个键 cout<<it2->first<<' '<<it2->second; return 0;} }```
当然这里也可以用`auto`