Search found 12 matches

by HerrAachen
Sun Aug 29, 2004 10:55 am
Forum: Volume 3 (300-399)
Topic: 344 - Roman Digititis
Replies: 15
Views: 4490

You forgot to reset your C-value. It is being added up without ever being set back.

Herr Aachen
by HerrAachen
Sat Aug 28, 2004 1:45 pm
Forum: Volume 3 (300-399)
Topic: 300 - Maya Calendar
Replies: 69
Views: 9977

Can any of you lucky people that gotten accepted provide me with some Input for this Maya problem? I get WA and cant figure why.

Thanx in advance

Herr Aachen
by HerrAachen
Sat May 01, 2004 12:06 am
Forum: Volume 1 (100-199)
Topic: 102 - Ecological Bin Packing
Replies: 485
Views: 51465

ya I got this BBC-thing figured already. Sorry for using you as a debugger. The integer range didn't seem to be a problem. I got accepted wit this.
by HerrAachen
Fri Apr 09, 2004 11:31 am
Forum: Volume 1 (100-199)
Topic: 130 - Roman Roulette
Replies: 25
Views: 2444

i think you misunderstood the problem. What you do is finding out the sole survivor, but the actual task is to find out the position where the counting should start to let number one be the sole survivor. That's quite a different thing.

Herr Aachen
by HerrAachen
Fri Apr 09, 2004 11:28 am
Forum: Volume 1 (100-199)
Topic: 130 - Roman Roulette
Replies: 25
Views: 2444

I also get WA on 130. I tried the i/o you gave. It was all correct except from n=100 k=53. My result is 51 there. Has anyone a spontaneous explanation for that?

Herr Aachen
by HerrAachen
Tue Apr 06, 2004 4:48 pm
Forum: Volume 1 (100-199)
Topic: 136 - Ugly Numbers
Replies: 156
Views: 19395

I think there is a point in posting the whole code, because it is quite tricky (in my view) to achieve running times below the time limit. But it's easy to write some slow algorithm, let the prog run 8 hours or whatever, write down the number and post the "printf("There you go")"-version. (sorry abo...
by HerrAachen
Mon Apr 05, 2004 8:10 pm
Forum: Volume 1 (100-199)
Topic: 136 - Ugly Numbers
Replies: 156
Views: 19395

Cheating on 136?

I just wrote an algorithm for the ugly numbers problem. Running my prog is probably going to take several hours although I already tried to optimize my code slightly. How do these people in the ranking list achieve times like 0.00.000? Do they just submit codes like: #include <stdio.h> void main() {...
by HerrAachen
Sun Apr 04, 2004 4:45 pm
Forum: Volume 1 (100-199)
Topic: 102 - Ecological Bin Packing
Replies: 485
Views: 51465

hope this has a more comfortable colour: [cpp]#include <stdio.h> void main() { int b1,b2,b3, g1,g2,g3, c1,c2,c3, transfers, tmp; char sol[3]; while(scanf("%d %d %d %d %d %d %d %d %d",&b1,&g1,&c1,&b2,&g2,&c2,&b3,&g3,&c3)==9) { transfers=b2+b3+c1+c3+g1+g2; sol[0]='B';sol[1]='C';sol[2]='G'; tmp=b2+b3+g...
by HerrAachen
Sun Apr 04, 2004 4:33 pm
Forum: Volume 1 (100-199)
Topic: 102 - Ecological Bin Packing
Replies: 485
Views: 51465

why do i get WA on this?? I've tried the two examples and everything. In my view it works. #include <stdio.h> void main() { int b1,b2,b3, g1,g2,g3, c1,c2,c3, transfers, tmp; char sol[3]; while(scanf("%d %d %d %d %d %d %d %d %d",&b1,&g1,&c1,&b2,&g2,&c2,&b3,&g3,&c3)==9) { transfers=b2+b3+c1+c3+g1+g2; ...
by HerrAachen
Sun Apr 04, 2004 3:40 pm
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 187857

Indeedy

You're right it does. I got my first accpted now, the time sucks though.
by HerrAachen
Sun Apr 04, 2004 2:56 pm
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 187857

forget about my last post. I have another problem. My email providers modify the first lines of my mails, so I used the line "@begin_of_source_code" at the beginning of my code. But when I do that there is no code in the "Programm Received: 100"-mail that is returned to me. The Judge is not compilin...
by HerrAachen
Sun Apr 04, 2004 10:39 am
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 187857

just a short question

how long am i supposed to wait for an reply by this judge? I tried to solve problem 100 and usually got the compile error immediately. Then I changed some things and received nothin for 10 hours or something.

Herr Aachen

Go to advanced search