Word Mangle

Discuss about the puzzles, but without giving the solutions please !!!

Word Mangle

Postby admin » Thu Dec 23, 2010 1:51 am

The purpose of this puzzle is to mangle words. Your program will take an input file that contains a one line sentence. It will output two lines. The first line is the sentence in which words order has been reversed. The second line is the sentence in which the orders of the words is unchanged but the order of letter is reversed.


Last edited by admin on Fri Jan 14, 2011 7:52 pm, edited 9 times in total.
Reason: Edit
User avatar
admin
Site Admin
 
Posts: 333
Joined: Thu Dec 23, 2010 1:27 am

Re: Word Mangle

Postby vinodhec » Thu Oct 20, 2011 8:57 pm

world Hello
olleH dlrow


i am getting the output correct but still i am getting reply as in correct result..pls help
User avatar
vinodhec
 
Posts: 4
Joined: Thu Jul 21, 2011 8:03 am

Re: Word Mangle

Postby eftid » Sat Dec 15, 2012 12:04 am

Dear Admin,

I would like to know if how to get 100 for result. My submission is scored 100, but the result is only 99.

Thank you.
--
eftid
User avatar
eftid
 
Posts: 2
Joined: Thu Dec 06, 2012 10:01 am

Re: Word Mangle

Postby Alexey Solodovnikov » Thu Dec 20, 2012 6:11 am

@eftid,

It seems you can't get result 100 for java, I've tried mapped files access and rotate in place, the CPU time is still 0.01. Try C++ or python.
User avatar
Alexey Solodovnikov
 
Posts: 32
Joined: Sun Jun 26, 2011 5:54 am


Return to Puzzles

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron