## Search found 70 matches

Wed Jun 15, 2005 6:16 pm
Forum: Volume 8 (800-899)
Topic: 820 - Internet Bandwidth
Replies: 43
Views: 20973

### Problem

Hi Cytoplasm,
Thanx for ur help. I understand what u want to tell. AC at Last I've missed it. Again thanx. By the way can u check it -- > http://online-judge.uva.es/board/viewtopic.php?t=8301 Its a very easy problem but WA. What i miss ???? Bye and take care .
Wed Jun 15, 2005 10:38 am
Forum: Volume 8 (800-899)
Topic: 820 - Internet Bandwidth
Replies: 43
Views: 20973
Hi Cytoplasm, Yupe , u r rite. At first i wrote it, then i thought that flow in opsite direction is f[v] =-f [v], But i'm confuced that if more than one edge between two nodes, then i should take the max one, rite ? whats ur output for the following input ? 4 1 4 6 1 2 20 1 3 10 2 3 5 2 4 10 3 4 20 ...
Wed Jun 15, 2005 7:29 am
Forum: Volume 8 (800-899)
Topic: 820 - Internet Bandwidth
Replies: 43
Views: 20973

### 820

Hi Cytoplasm,
Thanx for ur reply. I'm confuced. There is no input where src==dst. Again one things may be happened that "There might be more than one connection between a pair of nodes", so i also checked it by the following code, but again got WA. Is there any other cases ?

Code: Select all

``````Cut after ACC...
``````
Sun Jun 12, 2005 6:44 am
Forum: Volume 101 (10100-10199)
Topic: 10190 - Divide, But Not Quite Conquer!
Replies: 105
Views: 24305

### Hi Thinker

Hi, Try to understand. The max limit is 2000000000, so when compare the value with power sometime it may exceeds int limit. So use unsingned int. In ur while condition u take input as %lu, then u print the value with %d !!!!! Another things make a check in ur while loop if(m<2 || n<2) break; So make...
Sat Jun 11, 2005 5:37 pm
Forum: Volume 8 (800-899)
Topic: 820 - Internet Bandwidth
Replies: 43
Views: 20973

### 820 WA !!!! Help

Hi,
I'm getting lots of wa. I thinks its a simple max flow problem and implement it. But WA . Plz verify my code. Thanx in advance.

Code C++

Code: Select all

``````Cut After ACC....
``````
Sat Jun 11, 2005 6:59 am
Forum: Volume 101 (10100-10199)
Topic: 10190 - Divide, But Not Quite Conquer!
Replies: 105
Views: 24305

### 10190

Hi Thinker, Let see the first input. In our first input there is n=125,m=5. In this input n is a proper power of 5, i means 5^3=125, right ? if so then just implement what i say in my last thread. If no, say abt our second input, n=30,m=3, there is no power which makes m^x=n, so the output should be...
Fri Jun 10, 2005 10:55 pm
Forum: Volume 101 (10100-10199)
Topic: 10190 - Divide, But Not Quite Conquer!
Replies: 105
Views: 24305

### Thinker BD !!

Hi Thinker Bangladesh, You wrote -- while(1) { if(flag==1) break; if((n%m)!=0) { flag=1; break; } array =n/m; n=n/m; if(n==1) break; i++; } I think this is not ok, sometime it may gets overflow or (n%0). Though if u correct it then u will get P.E, rite ? Why u make it so complex, if n is not proper ...
Fri Jun 10, 2005 10:33 pm
Forum: Volume 103 (10300-10399)
Topic: 10393 - The One-Handed Typist
Replies: 40
Views: 11157

### 10393 WA !!!~!!! Help

Hi,
I've got lots of WA for this easy problem. I dont know where is my mistake. My code also passed all input of the past thread. Please help me.

MY CODE :- C++

Code: Select all

``````Cut After ACC....
``````
Wed Jun 08, 2005 7:23 pm
Forum: Volume 5 (500-599)
Topic: 551 - Nesting a Bunch of Brackets
Replies: 56
Views: 12407

### Hi

Hi CodeMaker,
Thanx for your reply. I solved it yesterday. I dont know if u ignore <> then how ur code got accept ? It seems that there is no judge data like that. Very Confusing !!!
Wed Jun 08, 2005 7:22 am
Forum: Volume 1 (100-199)
Topic: 124 - Following Orders
Replies: 49
Views: 7263

Hi miracle, You've printed extra new line after last output. cin.good() is not stop for EOF, so just change a little bit to avoid P.E. You wrote :- while(cin.good()) { vartot=0; memset(graph,'n',sizeof(graph)); memset(indeg,0,sizeof(indeg)); cin.getline(line,200); change it to flag=0; while(cin.getl...
Sun Jun 05, 2005 6:52 pm
Forum: Volume 5 (500-599)
Topic: 551 - Nesting a Bunch of Brackets
Replies: 56
Views: 12407

### !!!!!

Hi CodeMaker, I'm still little bit confuced, what u'r talking abt 11th and 13th Case ??? Jagadish has been sent his output by his ACC solution. I think there is no this type of input in the judge. Say from u'r opinion <>< should be YES, but if so then why not (*adf(y)( is Correct. It can also be val...
Sat May 28, 2005 6:27 pm
Forum: Volume 108 (10800-10899)
Topic: 10800 - Not That Kind of Graph
Replies: 48
Views: 22113

### Thanx

Hi myqbzi,
Thank You. It really helps me. I missed the second case. Thanx again. Bye.
Sat May 28, 2005 5:01 pm
Forum: Volume 108 (10800-10899)
Topic: 10800 - Not That Kind of Graph
Replies: 48
Views: 22113

### 10800 - Not That Kind of Graph

Hi,
I'm getting WA several times of this easy problem. Please give me some critical I/O. One question, is there any output like that ---> FFFF.
I dont think so, bcoz "The x-axis should always appear directly below the graph". Then what i miss!!! Thanks in advance.
Sun Apr 17, 2005 3:18 pm
Forum: Volume 101 (10100-10199)
Topic: 10112 - Myacm Triangles
Replies: 13
Views: 5687
Hi mf and prince,
I've just get ACC. There was a silly mistake . Thanx for ur helps. Bye
Sun Apr 17, 2005 2:33 pm
Forum: Volume 101 (10100-10199)
Topic: 10112 - Myacm Triangles
Replies: 13
Views: 5687
Hi mf,
I'm not doing any double calculation. In my code there are all integer calculation. But i get WA. Thanx in advance.