View Code of Problem 54

#include<iostream>
#include<algorithm>
#include<math.h>
using namespace std;
int main() {
	string h;
	cin>>h;
	for(int i=0;i<h.length();i++)
	{if(i==0)
	cout<<h[i];
	else
	cout<<" "<<h[i];
	}
	return 0;
}

Double click to view unformatted code.


Back to problem 54