Problem hidden
This problem was hidden by Editorial Board member probably because it has incorrect language version or invalid test data, or description of the problem is not clear.

NORWAY - Norwegian Flag

Create a Norwegian flag as portable pixmap.

Norwegian Flag

Input

None.

Output

Print a ppm-image (type P3) of the Norwegian flag shown above.


Added by:numerix
Date:2011-04-13
Time limit:3.746s
Source limit:10000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:All except: SCM qobi
Resource:own problem

hide comments
2011-09-09 17:51:18 Hallvard Norheim Bø
@Piotr: looks like I just needed an explicit "return 0;" at the end :)
2011-09-09 14:40:10 Piotr KÄ…kol
@hallvabo - I can see NZEC, not SIGXFSZ. Sometimes when on ideone program gives SIGXFSZ on SPOJ it gives WA/AC/etc.
2011-09-08 21:06:03 Hallvard Norheim Bø
This looks impossible to do in C due to SIGXFSZ (output size limit exceeded) :(
2011-04-15 17:36:52 HWK
@numerix: Thanks for your wunderful tip but sleeping a night is better than asking for a hint. :-)
2011-04-15 10:49:51 numerix
@HWK: Indeed, it was that funny thread from German python-forum that inspired me.
According to Norwegian flag: Polish and German flag are too simple ...
According to (the length of) your code: You haven't chosen the optimal approach ...
2011-04-14 21:16:07 HWK
@numerix: That reminds me of your Japanese fight with BlackJack. Do you want to adulate hallvabo with the Norwegian flag? :-)
Why is my code so slow and so long? :-(
What about a little tip?

Last edit: 2011-04-14 21:16:24
2011-04-14 18:48:09 numerix
@hallvabo: My Python 3 solution has 120 bytes ...
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.