#include<bits/stdc++.h> using namespace std; typedef long long ll; int main (){ char s[1010]; scanf("%s", s); for(int i = 0;i < strlen(s);i++){ if(i>0) printf(" "); printf("%c", s[i]); } return 0; }
Double click to view unformatted code.