Submit | All submissions | Best solutions | Back to list |
KRASICKI - Foreword to the Fables |
Wersja polska | English version |
Twoim zadaniem jest wypisanie na wyjście angielskiej wersji "Wstępu do bajek" Ignacego Krasickiego. Im krótszy jednak masz kod, tym więcej punktów dostaniesz.
Polska wersja dla ciekawych
Brak wejścia
Wyjście
There was once a young man whose temperance never flagged;
There was an old man, too, who never scolded or nagged;
There was a rich man who shared his wealth with the needy;
There flourished an author, for renown never greedy;
There was a customs man who did not steal; a cobbler who shunned alcohol;
A soldier who did not boast; a rogue who did not brawl;
There was a politician who never thought of self;
There was a poet who never put lies on his shelf.
-No, you'll never convince me that that's the right label!
-Nevertheless, I will call all of that a fable.
Added by: | Piotr Kąkol |
Date: | 2010-03-14 |
Time limit: | 9.770s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All except: SCM qobi |
Resource: | Krasicki - Foreword to the Fables |
hide comments
2010-05-20 21:26:20 Piotr KÄ…kol
No more bad EOLs in this task. ;-) |
|
2010-05-20 12:22:11 HWK
I wrote a new shorter Python-solution. It runs without problems on my system under Python 2.4 and 2.6. But I get NZEC from the judge. The compressed string in the script seems to be changed. Though there are non-ASCII-characters in it this isn't a problem for Python. How could I transfer my code unchanged? Edit: Problem solved. Keyword: line-ending Last edit: 2010-05-20 17:47:52 |
|
2010-05-18 18:01:02 Zoltán Zámbori
Thank You! So BASH is useless because the standard command line tools are missing. |
|
2010-05-18 07:34:39 Piotr KÄ…kol
3636206 - /solutions/solution: line 1: zcat: command not found 3636209 - /solutions/solution: line 1: zcat: command not found 3636254 - /solutions/solution: line 1: /bin/zcat: No such file or directory And all Your programs print nothing. |
|
2010-05-17 21:27:06 Zoltán Zámbori
I get WA for my BASH solution. Piotr, can you check why? |
|
2010-04-26 14:24:16 Piotr KÄ…kol
Check Your programs on ideone - You'll be able to make small changes and watch if program works correctly. If so You can restore previous shortenings. ;-) |
|
2010-04-25 14:48:03 Zoltán Zámbori
Something is wrong with the Perl runtime environment. My code takes 0.15 sec at home, but here i get "time limit exceeded". |