View Code of Problem 54

#include<stdio.h>
#include<cstdlib>
#include<cmath>
#include<iostream>
#include<algorithm>
#include<string>
using namespace std;
typedef long long ll;
int main(){
    string c;
     cin>>c;
     for(int i=0;i<c.length();i++){
     if(i==0)
       printf("%c", c[i]);
       else
       printf(" %c", c[i]);
	 }
    printf("\n");
   	  return 0;
}

Double click to view unformatted code.


Back to problem 54