Search found 71 matches

by @ce
Sat Jun 29, 2013 6:59 am
Forum: Volume 4 (400-499)
Topic: 452 - Project Scheduling
Replies: 23
Views: 9898

Re: 452, Why WA

@brianfry713...thank you.
by @ce
Fri Jun 28, 2013 12:34 pm
Forum: Volume 4 (400-499)
Topic: 452 - Project Scheduling
Replies: 23
Views: 9898

Re: 452, Why WA

@ brianfry713 ....for the test case A 74 B 55 C 51 A D 33 E 48 B C D F 34 B C Your answer is 159, but... Critical path for A = A(74) = 74 Critical path for B = B(55) = 55 Critical path for C = A(74) + C(51) = 125 Critical path for D = D(33) = 33 Critical path for E = max(B(55),C(125)) + E(48) = 173 ...
by @ce
Thu Jun 27, 2013 9:23 pm
Forum: Volume 4 (400-499)
Topic: 452 - Project Scheduling
Replies: 23
Views: 9898

Re: 452, Why WA

Getting WA...plzz help

Code: Select all

AC
by @ce
Fri Jun 21, 2013 9:12 pm
Forum: Volume 102 (10200-10299)
Topic: 10229 - Modular Fibonacci
Replies: 53
Views: 17107

Re: 10229 - Modular Fibonacci

Thanks brianfry.
by @ce
Fri Jun 21, 2013 9:22 am
Forum: Volume 118 (11800-11899)
Topic: 11889 - Benefit
Replies: 27
Views: 11277

Re: 11889 - Benefit

Getting WA...getting correct answer for all test cases given in this thread...

Code: Select all

Code Removed.
by @ce
Thu Jun 13, 2013 6:26 am
Forum: Volume 109 (10900-10999)
Topic: 10911 - Forming Quiz Teams
Replies: 33
Views: 32034

Re: 10911 - Forming Quiz Teams

Thank you brianfry.
by @ce
Wed Jun 12, 2013 5:57 am
Forum: Volume 109 (10900-10999)
Topic: 10911 - Forming Quiz Teams
Replies: 33
Views: 32034

Re: 10911 - Forming Quiz Teams

@brianfry...Why is it that I when I run only case 98, i get correct output and when i run all 100 cases together, i get a different incorrect answer for the same case. I have initialized dp array before every test case. Any help?
PS: Same with some more test cases too...
by @ce
Tue Jun 11, 2013 7:25 am
Forum: Volume 102 (10200-10299)
Topic: 10229 - Modular Fibonacci
Replies: 53
Views: 17107

Re: 10229 - Modular Fibonacci

Getting WA...plzz help...

Code: Select all

Code Removed. AC:)
by @ce
Thu Jun 06, 2013 8:15 am
Forum: Bugs and suggestions
Topic: submission error
Replies: 8
Views: 3725

Re: submission error

Everyone is getting submission error on this problem for the last 22 days.
929 - Number Maze
by @ce
Wed Jun 05, 2013 10:22 am
Forum: Volume 109 (10900-10999)
Topic: 10911 - Forming Quiz Teams
Replies: 33
Views: 32034

Re: 10911 - Forming Quiz Teams

Getting WA...plzz anyone help...
Getting correct output for all of Larry's testcases...

Code: Select all

AC :)
by @ce
Wed May 22, 2013 6:50 am
Forum: Volume 4 (400-499)
Topic: 429 - Word Transformation
Replies: 82
Views: 17190

Re: 429 - Word Transformation

@deadangelx....your test cases are incorrect.
Each successive word differs from the previous word in only a single character position while the word length remains the same.
You are changing the word length.
by @ce
Wed May 22, 2013 4:35 am
Forum: Volume 3 (300-399)
Topic: 315 - Network
Replies: 68
Views: 21470

Re: 315 Network

@brianfry713...i got AC using brute force as u said.
brianfry713 wrote:Try running dfs N times, once with each node turned off.
But whys is the above algorithm not working...any help with that?
by @ce
Tue May 21, 2013 9:20 am
Forum: Volume 3 (300-399)
Topic: 315 - Network
Replies: 68
Views: 21470

Re: 315 Network

Getting WA....plzz help #include<cstdio> #include<cstdlib> #include<cmath> #include<cstring> #include<string> #include<iostream> #include<algorithm> #include<vector> #include<stack> #include<deque> #include<queue> #include<map> #include<sstream> using namespace std; typedef long long int L; typedef ...
by @ce
Tue May 21, 2013 5:51 am
Forum: Volume 7 (700-799)
Topic: 787 - Maximum Sub-sequence Product
Replies: 39
Views: 19223

Re: 787 - Maximum Sub-sequence Product

@brianfry713...thanks a lot for pointing out...
by @ce
Mon May 20, 2013 12:01 pm
Forum: Volume 7 (700-799)
Topic: 787 - Maximum Sub-sequence Product
Replies: 39
Views: 19223

Re: 787 - Maximum Sub-sequence Product

Getting RE....my code is working for the test cases in this discussion thread...plzz help

Code: Select all

AC
If you are using Java, the class name should be Main. Otherwise u'll get RE.

Go to advanced search