技巧总结

string新技巧:

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

 

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