Search found 163 matches

by Emilio
Wed Mar 23, 2005 12:50 pm
Forum: Volume 108 (10800-10899)
Topic: 10830 - A New Function
Replies: 33
Views: 15235

To Andrey:

if you change this line

Code: Select all

long n,t,i,s=0;
by this

Code: Select all

long long n,t,i,s=0;
you will obtain AC.
by Emilio
Tue Mar 22, 2005 9:03 pm
Forum: Other words
Topic: How can I contact with system administrators?
Replies: 6
Views: 1031

How can I contact with system administrators?

I send a private message to marceh and an e-mail too (two days ago), but nobody reply me.
Maybe I am impatient.
by Emilio
Tue Mar 22, 2005 8:51 pm
Forum: Volume 106 (10600-10699)
Topic: 10659 - Fitting Text into Slides
Replies: 17
Views: 7786

First, thanks Destination Goa!
:D
I got AC.
My mistake was '\n' == ' ' == isspace, and not are the same, you must respect '\n' of each text.
by Emilio
Tue Mar 22, 2005 5:21 am
Forum: Volume 106 (10600-10699)
Topic: 10659 - Fitting Text into Slides
Replies: 17
Views: 7786

Hi!
Can anyone send the output for this, please?

Code: Select all

4
1
abc...
30 100
2
abc,ac
(de)ac
60 100
1
ab,.
30 100
1
a.
28 56
Thanks in advance!
by Emilio
Tue Mar 22, 2005 4:32 am
Forum: Volume 108 (10800-10899)
Topic: 10830 - A New Function
Replies: 33
Views: 15235

Ooops! :o
"Input is terminated by a line where the value of n=0. This line should not be processed."
You are right.
That was my problem.

Thanks!
by Emilio
Tue Mar 22, 2005 3:02 am
Forum: Volume 108 (10800-10899)
Topic: 10830 - A New Function
Replies: 33
Views: 15235

I obtain the same results,

What is the output for this, please:

Code: Select all

0
1
2000000000
1347838239
123848
137587
38495969
34888888
1234923
40
41
42
1000
2000
1000000
2000000
10000000
20000000
100000000
249999999
249999997
Thanks in advance
by Emilio
Mon Mar 21, 2005 10:47 pm
Forum: Off topic (General chit-chat)
Topic: C++ for windows anyone?
Replies: 2
Views: 1592

http://www.bloodshed.net/
Dev-C++ work fine
by Emilio
Mon Mar 21, 2005 8:57 pm
Forum: Volume 1 (100-199)
Topic: 108 - Maximum Sum
Replies: 233
Views: 20859

Your algorithm is O(n^3) not O(n^4) how cyfra wrote
by Emilio
Sat Mar 19, 2005 2:00 pm
Forum: Volume 8 (800-899)
Topic: 868 - Numerical Maze
Replies: 21
Views: 14299

AAAAAAARRRRRRRRRRRGGGGGGGGGGHHHHHHHHH! :x I have got AC now. The problem is very easy. The unique trouble was test cases with multiple solution. Now this is corrected with the new specification. Before you could get AC depending on the order of the movements. This is a reason for I think some AC act...
by Emilio
Mon Mar 14, 2005 2:39 am
Forum: Volume 108 (10800-10899)
Topic: 10823 - Of Circles and Squares
Replies: 50
Views: 10388

To sumankar:

Maybe you got AC. But if not is the case, you must read your onCircle function, the line

Code: Select all

long d = (p.x-c.x)*(p.x-c.x) + (p.y-c.y)*(p.x-c.y); 
must be

Code: Select all

long d = (p.x-c.x)*(p.x-c.x) + (p.y-c.y)*(p.y-c.y); 
by Emilio
Tue Feb 22, 2005 1:51 pm
Forum: Volume 8 (800-899)
Topic: 868 - Numerical Maze
Replies: 21
Views: 14299

Hi another time, I think that it's a bit strange, you can solve this problem with two different approachs. I think that it's an easy problem but it has a low rate of accepted submissions. I tried it using all those different approachs and always got WA. :( Well, I'll try another time later and if go...
by Emilio
Sun Feb 20, 2005 4:47 am
Forum: Off topic (General chit-chat)
Topic: I win !!
Replies: 361
Views: 121025

Hi I'm the winner in this moment,
Can anyone win me?
by Emilio
Sun Feb 20, 2005 4:37 am
Forum: Volume 8 (800-899)
Topic: 868 - Numerical Maze
Replies: 21
Views: 14299

Hi Christian,
One question, Can you use more once the same number(grid) for a solution?
Thanks
by Emilio
Thu Feb 10, 2005 12:01 pm
Forum: Volume 8 (800-899)
Topic: 868 - Numerical Maze
Replies: 21
Views: 14299

I'll try it, I hope get AC, I can't understand the cause of my bug.

Thanks another time.
by Emilio
Wed Feb 09, 2005 9:21 pm
Forum: Volume 8 (800-899)
Topic: 868 - Numerical Maze
Replies: 21
Views: 14299

Thanks, I have changed this line if (next == tope && x == F) by this if (x == F) and now my output is the same that yours, but I get WA. I thought that the finish of the serie would must finish always with the last number of this. For example 1; 1,2; 1,2,3; 1,2,3,4; ... and so. But in your test exam...

Go to advanced search