## Search found 39 matches

Tue Sep 07, 2004 6:03 am
Forum: Volume 107 (10700-10799)
Topic: 10706 - Number Sequence
Replies: 34
Views: 14287

### WA

Hi, I think the problem is quite an easy one. My problem give correct answers for all the above test cases. But i m still getting WA :x with this problem. [c] #include<stdio.h> #include<math.h> void print(double n) { double m; char str[100]; int i; n++; if(n<=10) printf("%.0f",(n-1)); else if(n<=190...
Wed Aug 04, 2004 9:02 am
Forum: Volume 106 (10600-10699)
Topic: 10688 - The Poor Giant
Replies: 27
Views: 16659

### 10688

During the contest it was one of the hottest problem. But unfortunately i can't understand the prroblem description well. In the question there is a line like: On a table, there are n apples, the i-th apple has the weight k+i(1<=i<=n). On another line For examples, n=3, k=0, the apples are of weight...
Mon Jul 19, 2004 8:48 am
Forum: Volume 106 (10600-10699)
Topic: 10611 - The Playboy Chimp
Replies: 44
Views: 17363
I have solved this problem using my binary search function in 0.191s.Can some one tell me how to modify the built in bsearch function to get the index of the array(sample code) of the key or near the key.
Regards
Faizur
Mon Jun 14, 2004 8:37 am
Forum: Volume 106 (10600-10699)
Topic: 10667 - Largest Block
Replies: 12
Views: 7453
Thanx misof for ur help. I solved the problem with ur algo in 0.083 s
Regards
______________________________
Faizur
Sun Jun 13, 2004 12:15 pm
Forum: Volume 106 (10600-10699)
Topic: 10660 - Citizen attention offices
Replies: 20
Views: 7023
Thanx Adrian for ur help. I have actualy misunderstood the problem. Now I get AC.
Regards
____________________________________
faizur
Sun Jun 13, 2004 11:04 am
Forum: Volume 106 (10600-10699)
Topic: 10667 - Largest Block
Replies: 12
Views: 7453
Hi Mokhov,
Can u pls explain the O(n^2)algo a little or give a reference ???
Regards
_________________________________
Sun Jun 13, 2004 10:51 am
Forum: Volume 106 (10600-10699)
Topic: 10660 - Citizen attention offices
Replies: 20
Views: 7023
Hello Eduard
Thanx for ur sample I/O. But my code give the output as yours.I dont know why i get WA.Here is my code-

Code: Select all

``Accepted``
pls help....
________________________________
faizur
Sun Jun 13, 2004 7:38 am
Forum: Volume 106 (10600-10699)
Topic: 10660 - Citizen attention offices
Replies: 20
Views: 7023

### WA pls help

Hi,
I also use simple bruteforce. trying to put the offices for all possible combinations .But i m keep getting wrong answer. Some one can help me giving some AC Sample I/O or some hints. Thanx in advance.
Regards
_______________________________________________
faizur
Thu Feb 12, 2004 7:28 am
Forum: Algorithms
Topic: Algorithm for differentiation
Replies: 1
Views: 1094

### Algorithm for differentiation

I want an algorithm to perform the Differentiation of any equation (not numerically) i.e if the input is y=x^2 then the desired output should be dy/dx=2*x .
Can some one provide me with such an algorithm or give any references related to that.
Mon Oct 27, 2003 9:02 am
Forum: Volume 7 (700-799)
Topic: 793 - Network Connections
Replies: 102
Views: 31155
I have solved this problem using dfs. which is a rather too slow.
Where Can I get the reference of union find algorithm?
Sat Oct 25, 2003 6:16 am
Forum: Volume 105 (10500-10599)
Topic: 10525 - New to Bangladesh?
Replies: 50
Views: 20063
carneiro, I think your Program give WA for input like- 1 2 2 1 2 4 5 1 2 5 5 1 1 2 My AC code says output should be: Distance and time to reach destination is 5 & 5. I think your one gives- Distance and time to reach destination is 4 & 5. There is obviously some bugs in the problem.To get AC you hav...
Tue Aug 26, 2003 12:22 pm
Forum: Volume 105 (10500-10599)
Topic: 10540 - Flowers of a Beautiful Mind
Replies: 4
Views: 2021

### 10540 - Flowers of a Beautiful Mind

How can i calculate the area and the visible of each layer . Can any one get accepted give me some hints or any reference to follow.
faizur
Fri Aug 22, 2003 3:18 pm
Forum: Volume 105 (10500-10599)
Topic: 10519 - !! Really Strange !!
Replies: 35
Views: 13650

### 10519 WA after rejudge

I get Wa after rejudge of the problem 10519.What is changed after the rejudgement............
Fri Aug 22, 2003 3:07 pm
Forum: Volume 105 (10500-10599)
Topic: 10523 - Very Easy !!!
Replies: 63
Views: 22719
I also get the answer specified above for 150 15 and got wa after rejudgement.whats the prob about it??
Fri Aug 22, 2003 1:45 pm
Forum: Volume 105 (10500-10599)
Topic: 10533 - Digit Primes
Replies: 108
Views: 31911
Thank u Eric for ur help.I need to rethink about the problem