Search found 183 matches

by Eduard
Thu Jan 13, 2005 3:28 pm
Forum: Volume 108 (10800-10899)
Topic: 10800 - Not That Kind of Graph
Replies: 48
Views: 22205

10800 - Not That Kind of Graph

It seems that this problem is very easy but i'm getting WA.Are there any special cases??
Please give me answer to this tests.
Input

Code: Select all

5
RRRCFCRFRFFCCCR
RRR
CCCCCC
CRCFRCFRRFR
CRRRFCFRCFRFC
Thanks.
by Eduard
Tue Jan 04, 2005 6:35 pm
Forum: Volume 8 (800-899)
Topic: 880 - Cantor Fractions
Replies: 24
Views: 17694

880 - Cantor Fractions

I solve many such problems(for example 264),but this one I'm getting TLE(on Pascal).Somebody tell me what to do or may be I must write it on C++.
Thanks.
by Eduard
Thu Dec 16, 2004 8:56 pm
Forum: Volume 107 (10700-10799)
Topic: 10793 - The Orc Attack
Replies: 35
Views: 19834

Unknown-error
I don't understand.
if there are any isolated node then output is -1
by Eduard
Thu Dec 16, 2004 4:04 pm
Forum: Volume 107 (10700-10799)
Topic: 10793 - The Orc Attack
Replies: 35
Views: 19834

I'm getting this problem WA.Please someone give me some tests.
Thanks.
by Eduard
Thu Dec 16, 2004 3:22 pm
Forum: Volume 107 (10700-10799)
Topic: 10780 - Again Prime? No Time.
Replies: 40
Views: 27601

How have you calculated ??
b. find the max power of pk that divides n!
by Eduard
Sun Dec 12, 2004 11:50 am
Forum: Volume 107 (10700-10799)
Topic: 10793 - The Orc Attack
Replies: 35
Views: 19834

Code: Select all

There may be multiple occurrences of the same U, V pair in the input - it is up to you to decide which one to use
Which one have You used??? :roll:
by Eduard
Sun Dec 12, 2004 8:23 am
Forum: Volume 107 (10700-10799)
Topic: 10775 - Mystical Matrix
Replies: 12
Views: 5650

Yes,I see it. :lol:
by Eduard
Sat Dec 11, 2004 8:30 pm
Forum: Volume 107 (10700-10799)
Topic: 10775 - Mystical Matrix
Replies: 12
Views: 5650

Please someone give me answer for N=12.
Thanks
by Eduard
Fri Dec 10, 2004 1:43 pm
Forum: Volume 107 (10700-10799)
Topic: 10786 - Qualify for the Champions League
Replies: 9
Views: 3323

The right answer is

Code: Select all

League 1: 21 
League 2: 11 
League 3: 21 
League 4: 41 
League 5: 78
I think now you will get AC. :wink:
by Eduard
Tue Nov 09, 2004 3:42 pm
Forum: Volume 107 (10700-10799)
Topic: 10772 - Rose windows
Replies: 8
Views: 2234

10772 - Rose windows

Please give hint how to solve this problem.I can't find how changed radius.
Thanks.
by Eduard
Tue Nov 09, 2004 3:21 pm
Forum: Volume 107 (10700-10799)
Topic: 10769 - Pillars
Replies: 22
Views: 11056

Hello.
During the contest I got one WA before getting AC this problem.And I changed only little think.My old program can't take input like this.
Input

Code: Select all

100
20 20
30 10 30 50

                                              <----Many blank lines
 
100
20 10 4
50 30 45
Hope it helps.
by Eduard
Mon Oct 11, 2004 6:57 pm
Forum: Off topic (General chit-chat)
Topic: Number of submissions
Replies: 10
Views: 3535

Lets take such statistics Numberofsubmit/numberofAC.For such statistics
Ivor -->24074/16510=1.45 :D
Mine is 5.3 :lol:
When for you .. it is 12367/4597=2.7 :P
by Eduard
Mon Oct 11, 2004 5:13 pm
Forum: Off topic (General chit-chat)
Topic: Number of submissions
Replies: 10
Views: 3535

I find that this boy have make more submissions than you. :D http://acm.uva.es/cgi-bin/OnlineJudge?AuthorInfo:12542
by Eduard
Sun Oct 10, 2004 1:32 pm
Forum: Volume 107 (10700-10799)
Topic: 10739 - String to Palindrome
Replies: 11
Views: 6510

At first you are using to much memory.And you are reading not right. this code is getting AC. [pascal] var i,j,k,l,n,m,p,r,t:integer; a:array[1..1001,0..1001] of integer; c:char; s:array[1..1001] of char; function min(a,b,c:integer):integer; var m:integer; begin if a<b then m:=a else m:=b; if c<m th...
by Eduard
Sun Oct 10, 2004 9:53 am
Forum: Volume 107 (10700-10799)
Topic: 10739 - String to Palindrome
Replies: 11
Views: 6510

You are right Miguel Angel.I got AC 0.00.047sc.And I'm one of fastests.(And my program is on Pascal) :D

Go to advanced search