Search found 5 matches

by dt96hasv
Mon Nov 08, 2004 11:34 am
Forum: Volume 3 (300-399)
Topic: 333 - Recognizing Good ISBNs
Replies: 166
Views: 20872

Testing your code with the following two examples: <tab><space>0823025713 082<space>3025713 The correct answer should be 0823025713 is correct. 082<space>3025713 is incorrect. While your program answers: <tab><space>0823025713 is correct. 082<space>3025713 is correct. I.e. you have to treat tabs as ...
by dt96hasv
Wed Oct 27, 2004 1:06 pm
Forum: Volume 3 (300-399)
Topic: 303 - Pipe
Replies: 5
Views: 1509

303 - Pipe

Hi, I have been fiddling around with those pipes for quite some time, and has been able to produce a program which behaves correctly in all the testcases I can think of. Since the reply from judge is WA, it is obviously the case that I have missed some interesting case(s). It would be nice to see so...
by dt96hasv
Wed Oct 20, 2004 1:21 pm
Forum: Volume 3 (300-399)
Topic: 340 - Master-Mind Hints
Replies: 27
Views: 8178

little joey wrote:We can only learn by making mistakes! The more irritating the mistake is, the more we have learned...

Could you please remove the essential parts of the code in your previous post? It's a spoiler now.
Done!
by dt96hasv
Wed Oct 20, 2004 11:13 am
Forum: Volume 3 (300-399)
Topic: 340 - Master-Mind Hints
Replies: 27
Views: 8178

Gosh, that is soo sloppy of me.
I could have spent days looking for that bug, thanx a lot!
by dt96hasv
Wed Oct 20, 2004 9:45 am
Forum: Volume 3 (300-399)
Topic: 340 - Master-Mind Hints
Replies: 27
Views: 8178

340 - Master-Mind hints

Hi, I have been playing around with this problem for a while, and cannot find any example where my program is wrong, but still it is since the judge won't accept it ;) [c] #include <stdio.h> int min(int a, int b){ if(a < b) return a; return b; } int main(){ int N,g=0,i,s,w; char facit[1000]; char gu...

Go to advanced search