UVA 483 - Word Scramble UVA • Sep 1, 2020 Problem PDFSolution:#include #include int main() { char s[1000]; int i,j,l,p,c; while(gets(s)) { l=strlen(s); p=0; c=0; for(i=0;i=p;j--) printf("%c",s[j]); if(c==0) { printf(" "); c=1; } p=i; } } for(i=l-1;i>p;i--) printf("%c",s[i]); printf("\n"); } return 0; } https://github.com/Shipu/OnlineJudgeProblemSolutionWithCPlusPlus/tree/master/uva/483/483.cpp Tags UVA Competitive Programming Shipu Ahamed Recommended for you UVA UVA 913 - Joana and the Odd Numbers 4 years ago • 1 min read UVA UVA 871 - Counting Cells in a Blob 4 years ago • 3 min read UVA UVA 866 - Intersecting Line Segments 4 years ago • 3 min read