17 / 31
Dec 2004

I wonder why I get WA with my Java program. I tested it in Linux and Windows environment, and in both cases it exactly prints its sourcecode.
Maybe it is because I don't terminate the sourcecode with a newline, and spoj adds it? But my C program that also doesn't end with a newline got Accepted confused

A JVM related problem (please see the email I sent you). Everything should be ok now. Sorry.

BTW
today i wrote my first program on JAVA
it was sollution to this problem smile))

Nice work smile

The same goes for me with my Python programs smile
Thanks to the authors for such a challenging and funny problem, which helps learning new languages.

I agree with Pascal, it's a very nice problem wink
It's the problem that can attract attention to this contest

ps. Pascal, call me Max, please wink

Thanks, its fixed smile.

I had some spare time at the weekend and I've submitted a solution to the problem (id:50900). It is obviously outside the ranking, but I would be happy to see it beaten, anyway.

Update: Congrats, Frank smile.

I was hoping I'd not have to improve that solution anymore, but when I saw you submit a solution scoring less than 100 points I just couldn't resist creating one too. Accidentally it ended up scoring better than yours... laughing

I have some sort of bug with c#
on my local machine my program creates answer absolutely identical to source (compared using fc), but on judge i got WA
don't you know, why it may be?

ps I used MSVS 2003.NET

mono's "Dead code elimination" optimization was to blame.

Well, our mono version is a bit old, we'll have to upgrade soon.. They might have repaired it already.

Rejudging of all C# programs is in process.

Finally, Intercal, however esoteric it might be, has been tamed by Robin Nittka smile. The 100000 point limit in CTQUINE has been removed; it doesn't change anything at all now anyway smile.

Very nice bug. You can use all languages in this problem - send it usual way (for example as SANTA problem) and only change name of problem to CTQUINE before submit. Java script for SANTA problem don't know about restrictions in CTQUINE problem! (Delete my result "1" - it is only experiment)

Wow, language limitations were not applied for contests (only a global per-contest mask smile ). Sorry/thanks, its fixed of course.

BTW. There really is very little js, and none at all here.

10 years later

Zadziałało na C++14... a, mogłem nie niszczyć mojej klawiatury.... ;D
Dzięki za bardzo ciekawy link!

1 month later

ja się jeszcze dołączę z racji tego, że u mnie w code blocksie program dziala, oraz poprawnie liczy, jedank sędzia wyrzuca mi błąd kompilacji, prosiłbym o wskazówki. [bbone=ada,2513]#include

using namespace std;

int ile,a,b;

int main()
{
cin >>ile;

for(int i=0;i<ile;i++)
{

        cin>>a>>b;

/// [narbej: kluczowa czesc programu wink ]
//
//

}
return 0;

}

[/bbone]