Search found 23 matches

by RuiFerreira
Sun Oct 10, 2004 12:28 am
Forum: Volume 1 (100-199)
Topic: 168 - Theseus and the Minotaur
Replies: 64
Views: 7959

after some days...

after some days with no reply... here is my source code, hope you can find the bug... [c] #include <stdio.h> #include <string.h> #include <ctype.h> #define MAX 30 int grafo[MAX][MAX]; int candle[MAX]; char linha[1000],*in; int main(void) { char ini; char t,m; int count,ct; int flag,i; while(1) { mem...
by RuiFerreira
Sun Oct 03, 2004 7:53 pm
Forum: Volume 1 (100-199)
Topic: 168 - Theseus and the Minotaur
Replies: 64
Views: 7959

168 Theseus and the Minotaur

Hi, I'm having problems with this problem :) (more than one) I know that there are many threads about this, and i've read the all... but they are from 2002... and I think they corrected the problem after that... so... I have some questions... can the k in the input be 0 ? is this correct? A:BCD;B:AD...
by RuiFerreira
Tue Aug 24, 2004 4:41 pm
Forum: Volume 5 (500-599)
Topic: 540 - Team Queue
Replies: 37
Views: 16409

Code

As no one answer I'll put my code so you can analyse...

It enqueues and dequeues in constant time as it is suposed...

Thanks

found error!
[cpp][/cpp]

thanks
by RuiFerreira
Sun Aug 22, 2004 12:27 am
Forum: Volume 5 (500-599)
Topic: 540 - Team Queue
Replies: 37
Views: 16409

540 - Team Queue

hi!

i'm having WA and don't really know why...

does any one have larger or tricky inputs?
by RuiFerreira
Thu Apr 03, 2003 8:19 pm
Forum: Other words
Topic: Some statistics scripts!!!
Replies: 24
Views: 4817

The bigest problem is that I can't access the data base... if I could do it, do a world script would be easy...!

probably if we had read permissions in the data base... we could add a lot of new detais, without overloading the server...
by RuiFerreira
Thu Apr 03, 2003 1:58 am
Forum: Other words
Topic: Some statistics scripts!!!
Replies: 24
Views: 4817

new rankings!

Hi!

The Portuguese
The French
The Argentine
The Australian

Rankings are now available!

If you want your country ranking in my page, just contact me!

http://www.fe.up.pt/~ei01081/scripts/
by RuiFerreira
Sat Feb 22, 2003 2:15 am
Forum: Volume 3 (300-399)
Topic: 343 - What Base Is This?
Replies: 72
Views: 21807

I'm also getting Wrong Answer!
Please give me some input...!

Thanks!
by RuiFerreira
Fri Feb 21, 2003 9:38 pm
Forum: Volume 2 (200-299)
Topic: 230 - Borrowers
Replies: 10
Views: 7315

for me too!

I'm getting Runtime Error... Do you have any ideia why? any tricky case?


Thanks!
by RuiFerreira
Sun Feb 16, 2003 7:09 pm
Forum: Volume 104 (10400-10499)
Topic: 10442 - Basic
Replies: 9
Views: 4955

I've really misunderstood the problem... Now It works just fine, for every input in this topic... but I keep getting WA...
by RuiFerreira
Sun Feb 16, 2003 6:48 pm
Forum: Other words
Topic: Some statistics scripts!!!
Replies: 24
Views: 4817

ok!

Hi! Sorry.... Since your post I'm only actualizing the national ranking... once a day.... I think it is not very much information (about 200 page visits) to get from your servers.... About the others scripts.... the comparison one, only do 2 page visits per comparition... the user problem ranking ca...
by RuiFerreira
Tue Feb 11, 2003 10:44 pm
Forum: Volume 104 (10400-10499)
Topic: 10442 - Basic
Replies: 9
Views: 4955

10442 - Basic

this is as "basic" problem... but probably with crazy input!

can you give me some more sample input?

I also got some questions...

what is the output to the next input?

7
123
5
12#123#12#123#
15#aaa
2##
#145##145#15#145#
12#123# 15#abc#
my answer is

no
no
yes
no
no
yes
no
by RuiFerreira
Tue Feb 11, 2003 9:44 pm
Forum: Volume 104 (10400-10499)
Topic: 10445 - Make Polygon
Replies: 35
Views: 14684

I'm having the same problem :(
by RuiFerreira
Mon Feb 10, 2003 4:58 am
Forum: Volume 104 (10400-10499)
Topic: 10430 - Dear GOD
Replies: 12
Views: 5203

Help!

Hi!

I've noted that X can go until 9^99, so i've got to use big ints?

what about t==1? what shoud be k?

shoud I make shure that gdc( t^n , (1-t^n)/(1-t) ) == 1?

please help me!!
by RuiFerreira
Sun Feb 09, 2003 2:44 am
Forum: Volume 104 (10400-10499)
Topic: 10443 - Rock
Replies: 26
Views: 4047

RSP

I sugest you to check who is ataking each position, instead to check who each position is ataking...
by RuiFerreira
Sat Feb 08, 2003 12:09 am
Forum: Volume 102 (10200-10299)
Topic: 10299 - Relatives
Replies: 57
Views: 14595

What's wrong??

Sorry.. I cant undestand whats wrong with my code!!! can you help me? [c] #include <stdio.h> #include <ctype.h> #include <math.h> int main(void) { char linha[20]; int i,j,num,primes[32000],p[3500],flag,sqroot,phi; /*prime number genarating*/ memset(primes,0,32000*sizeof(int)); for (i=2;i<179;i++) if...

Go to advanced search