Search found 30 matches

by henar2
Wed Oct 30, 2002 10:21 am
Forum: Volume 103 (10300-10399)
Topic: 10391 - Compound Words
Replies: 40
Views: 17332

I thought that saying "two other words" meant "two different words".
by henar2
Tue Oct 29, 2002 5:11 pm
Forum: Volume 103 (10300-10399)
Topic: 10391 - Compound Words
Replies: 40
Views: 17332

Thank you. But I don't think that the problem statement is right because it says
that must be two different words. Anyway it was accepted.
by henar2
Tue Oct 29, 2002 12:17 pm
Forum: Volume 103 (10300-10399)
Topic: 10391 - Compound Words
Replies: 40
Views: 17332

I get WA every time I send the problem. My algorithm: For each word I look for every other word with the root equal to that word, then I get the tail of that word and I search if that tail exists as a unique word and i check if it is not the root to avoid false compound words made using the same wor...
by henar2
Sat Oct 26, 2002 4:25 pm
Forum: Volume 103 (10300-10399)
Topic: 10391 - Compound Words
Replies: 40
Views: 17332

10391 - Compound Words

Please, could somebody post some conflictive inputs and outputs?
Thank you.
by henar2
Wed Oct 09, 2002 5:46 pm
Forum: Volume 8 (800-899)
Topic: 825 - Walking on the Safe Side
Replies: 38
Views: 20369

What should the output be if there is a underground passage in the north-west corner or in the south-east corner or in both?
I consider output "0" for these three cases.
Thank you.
by henar2
Fri Oct 04, 2002 5:36 pm
Forum: Volume 101 (10100-10199)
Topic: 10102 - The path in the colored field
Replies: 34
Views: 13031

I have tried to solve this problem but I am getting Runtime Error (SIGSEGV). And I have been watching the statistics and there are a lot of Runtime Error. Which is the biggest number of rows and columns? Any hint about Runtime Error? Could the numbers in the table be separated by spaces or blank lin...
by henar2
Thu Oct 03, 2002 5:13 pm
Forum: Other words
Topic: gcc version?
Replies: 0
Views: 1285

gcc version?

I am going to update my linux C/C++ compiler.
Which is the gcc version that the judge uses actually?
Thank you.
by henar2
Thu Oct 03, 2002 1:28 am
Forum: Volume 103 (10300-10399)
Topic: 10337 - Flight Planner
Replies: 20
Views: 8889

I know that the plane must have land.
My program which checks every way of flying gives me for the first case:

120

but for the second one:

370

any hint?
by henar2
Wed Sep 25, 2002 5:13 pm
Forum: Volume 103 (10300-10399)
Topic: 10363 - Tic Tac Toe
Replies: 54
Views: 24315

Thank you Mido.
You have given good hints. :D
by henar2
Wed Sep 25, 2002 5:05 pm
Forum: Volume 103 (10300-10399)
Topic: 10363 - Tic Tac Toe
Replies: 54
Views: 24315

Thank you Mido.
You have given good hints. :D
by henar2
Fri Sep 20, 2002 2:33 pm
Forum: Volume 100 (10000-10099)
Topic: 10004 - Bicoloring
Replies: 93
Views: 29325

I don't know where is your fault.
I just want to ask what is the algorithm used to solve this problem.
Could somebody explain to me?

Thanks. :)
by henar2
Wed Sep 18, 2002 12:33 pm
Forum: Volume 103 (10300-10399)
Topic: 10361 - Automatic Poetry
Replies: 25
Views: 12471

As the problem statement says:

[quote]The second line will be a string of lowercase characters or blanks ending with three dots
by henar2
Wed Sep 18, 2002 11:07 am
Forum: Volume 103 (10300-10399)
Topic: 10361 - Automatic Poetry
Replies: 25
Views: 12471

The output for your input is:

asdma ... asdaskdj............
qwe.......qweqe .............

Good luck! :)
by henar2
Sun Sep 15, 2002 2:06 pm
Forum: Volume 102 (10200-10299)
Topic: 10277 - Boastin' Red Socks
Replies: 8
Views: 5029

:( Wrong Answer again and again.... My code is: [c] #include<stdio.h> #include<math.h> #define TOL 0.0000001 main() { long double posible_t,radicando; char encontrado; long long r,t,p,q; while(1) { scanf("%lld %lld",&p,&q); if(p==0 && q==0) break; if(p==q) { encontrado=1; r=2; t=2; goto fuera; } if(...
by henar2
Sun Sep 15, 2002 1:50 pm
Forum: Volume 102 (10200-10299)
Topic: 10277 - Boastin' Red Socks
Replies: 8
Views: 5029

Thank you for your comment..
I was watching the status web page and I saw you sending the problem, and in 5 minutes I received the topic reply notification, first with 0 2 and then with 2 0.
:D
I have just read the problem again and you are all right.
Thank you!!
:D

Go to advanced search