#include<bits/stdc++.h>using namespace std;int main(){string g="123 123";int n;n=g.find(' ');string a=g.substr(0,n);
return 0;
想要把字符串类型的a变成数字类型的