技巧总结

string新技巧:

int a, b;
cin >> a >> b;
string s = to_string(a + b);

 

posted @ 2021-06-17 23:02  XA科研  阅读(41)  评论(0)    收藏  举报