## Search found 53 matches

Tue Sep 23, 2008 11:21 pm
Forum: Volume 4 (400-499)
Topic: 477 - Points in Figures: Rectangles and Circles
Replies: 11
Views: 1880

### 477 Wrong Ans

I always get wa with this code. Anybody help me?

Code: Select all

``````cut after AC.
``````
Wed Sep 03, 2008 2:52 pm
Forum: Volume 102 (10200-10299)
Topic: 10200 - Prime Time
Replies: 202
Views: 63702

### Re: 10200 - Prime Time

Your algorithms seems to be okay.You can try in this way
just change this section

Code: Select all

``````printf("%.2Lf\n",(cnt/(b - a + 1)*100.00)+eps);
``````
modifie to

Code: Select all

``````printf("%.2lf\n", ((cnt*100) / (b - a + 1)) + eps);
``````
You wouldn't need to use long double. Hope it will help you.
Sun May 04, 2008 12:58 pm
Forum: Volume 2 (200-299)
Topic: 208 - Firetruck
Replies: 48
Views: 16033

### Re: 208 Why Time Limit Exceeded

I have no idea why it is TLE. Please try to help me. Here is my code /* Problem No: 208 Problem : Firetruck Algorithm: DFS Author : Ishtiaq Ahmed */ #include<stdio.h> #include<string.h> #include<math.h> #include<stdlib.h> #include<ctype.h> #include<iostream> #include<algorithm> using namespace std; ...
Fri May 02, 2008 8:56 pm
Forum: Other words
Topic: Releted ACM on BFS, DFS, Dijkstra, MST, Graph
Replies: 1
Views: 4053

### Releted ACM on BFS, DFS, Dijkstra, MST, Graph

Dear all,
I will be very happy if you post me some related ACM problems on these topics. Thanks in advance.
Fri May 02, 2008 8:34 pm
Forum: Volume 101 (10100-10199)
Topic: 10147 - Highways
Replies: 67
Views: 21349

### Re: 10147 unclear output format

Thanks a lot Sohel bhai
Thu May 01, 2008 7:27 pm
Forum: Volume 101 (10100-10199)
Topic: 10147 - Highways
Replies: 67
Views: 21349

### Re: 10147 unclear output format

I have a problem with the output format. According to the sample inputs the outputs are given such like this output 1 6 3 7 4 9 5 7 8 3 Now my question is it correct format just bellow i am indicating? output 1 6 3 7 4 9 5 7 3 8 Yes i am trying to say that is it acceptable if the pair format swap ju...
Wed Apr 23, 2008 11:18 am
Forum: Volume 5 (500-599)
Topic: 587 - There's treasure everywhere!
Replies: 37
Views: 2930

### Re: 587 There's treasure everywhere! WA

Thanks a lot mak
Mon Apr 21, 2008 11:06 pm
Forum: Volume 5 (500-599)
Topic: 587 - There's treasure everywhere!
Replies: 37
Views: 2930

### Re: 587 There's treasure everywhere! WA

My code seems to be okay by the given input. But its WA by judge. Anybody help me? Here is my code

Code: Select all

``````
The code is deleted after AC.

``````
Fri Feb 22, 2008 1:49 pm
Forum: Volume 1 (100-199)
Topic: 147 - Dollars
Replies: 233
Views: 23638

### 147 - Dollars -- Wrong Answer

Thanks a lot mf. I am nothing but a stupid one. Its a silly mistake.
Now its accepted.Again thank you.
Fri Feb 22, 2008 1:23 pm
Forum: Volume 1 (100-199)
Topic: 147 - Dollars
Replies: 233
Views: 23638

### 147 - Dollars -- Wrong Answer

Thanks mf. I add epsilon but it still presentation error. Here is the code

Code: Select all

``````The code is removed after ac.
``````
Fri Feb 22, 2008 1:08 pm
Forum: Volume 102 (10200-10299)
Topic: 10281 - Average Speed
Replies: 39
Views: 15492

### 10281 - Problem A: Average Speed

This code hangs for WA. Anybody help me? /* Problem No: 10281 Problem : Average Speed Algorithm: Adhoc Author : Ishtiaq Ahmed */ #include<stdio.h> #include<string.h> #include<math.h> #include<stdlib.h> #include<ctype.h> char str[1000]; double temp, tempo, pre_hour, total_distance = 0, pre_min, pre_s...
Fri Feb 22, 2008 11:32 am
Forum: Volume 1 (100-199)
Topic: 147 - Dollars
Replies: 233
Views: 23638

### 147 - Dollars -- Wrong Answer

I cannot understand why this code is WA. Can anybody help me?
Here is my code

Code: Select all

``````The code is removed after AC.
``````
Thu Dec 06, 2007 9:34 pm
Forum: Volume 7 (700-799)
Topic: 727 - Equation
Replies: 156
Views: 36417

### 727-Equation[Runtime error]

I cannt findout where is the error in my code. Here is my code #include<stdio.h> #include<string.h> int taking_input(void); void processing(void); int pop(int); void _calling(int); struct x { char given_input[100000]; }; typedef struct x info; char expression[100000], stack[100000]; info data[1000];...
Thu Oct 04, 2007 11:38 pm
Forum: Volume 108 (10800-10899)
Topic: 10894 - Save Hridoy
Replies: 15
Views: 9598

### 10894[save hridoy]WA

This program cannot handle the negetive input though in tc3 compiler it shows the right ouput whether negetive or positive inputs. But why??
How can i solve this problem??
This is my code

Code: Select all

``````cut afeter ac
``````
Fri Sep 14, 2007 6:03 pm
Forum: Volume 102 (10200-10299)
Topic: 10282 - Babelfish
Replies: 48
Views: 20503

``````the code is removed