Joined: 05 Sep 2006 Posts: 378 Location: The pizza country!
Posted: Sat Nov 29, 2008 8:37 am Post subject: [Help] Task problem - C++
I'm currently doing a task which has this text:
Quote:
Task A3: String
The problem statement now reads
"Write a program string, which splits a given string in a concatenation of simple substrings, such that each substring (but the first) is lexicographically smaller than or equal to the previous one."
Actually I can't fully understand what the task asks, from what I get it gives you a string using the standard input and then you have to order alphabetically the substrings.
But I don't get how should the string be splitted (seems the delimiter isn't space)
This is my code
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum