用字符串读取每一位。
#include<bits/stdc++.h> using namespace std; signed main(){ string s; cin>>s; cout<<s[0]<<" "<<s[1]<<" "<<s[2]; return 0; }
暂无评论