UVa 490 - Rotating Sentences

490 - Rotating Sentences

 * http://acm.uva.es/p/v4/490.html

Summary
Straightforward Ad Hoc problem.

Explanation
Use a 2-dimensional array and print it out the other way

Input
Rene Decartes once said, "I think, therefore I am." 1234 123456 12345    123 12345678   456789  3456              8

Output
"R Ie n te h iD ne kc ,a r tt he es r eo fn oc re e s Ia i ad m, . " 11111   22222  3 33333  444 444  555 55  666  6   77  8  88     9

More help

 * 1) Useful help and sample I/O from UVA forum