rt,看到深基上说pair,自己也想试试,可书上没讲。。
pair
目前我只能类似于这样:
#include<bits/stdc++.h> int a,b; void text(int x){ a=x+1;b=x-1; } int main(){}
求pair用法