Search found 71 matches

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

Re: 452, Why WA

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

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 ...
Thu Jun 27, 2013 9:23 pm
Forum: Volume 4 (400-499)
Topic: 452 - Project Scheduling
Replies: 23
Views: 9724

Re: 452, Why WA

Getting WA...plzz help

Code: Select all

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

Re: 10229 - Modular Fibonacci

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

Re: 11889 - Benefit

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

Code: Select all

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

Re: 10911 - Forming Quiz Teams

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

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...
Tue Jun 11, 2013 7:25 am
Forum: Volume 102 (10200-10299)
Topic: 10229 - Modular Fibonacci
Replies: 53
Views: 16767

Re: 10229 - Modular Fibonacci

Getting WA...plzz help...

Code: Select all

``Code Removed. AC:)``
Thu Jun 06, 2013 8:15 am
Forum: Bugs and suggestions
Topic: submission error
Replies: 8
Views: 3643

Re: submission error

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

Re: 10911 - Forming Quiz Teams

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

Code: Select all

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

Re: 429 - Word Transformation

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.
Wed May 22, 2013 4:35 am
Forum: Volume 3 (300-399)
Topic: 315 - Network
Replies: 68
Views: 20938

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?
Tue May 21, 2013 9:20 am
Forum: Volume 3 (300-399)
Topic: 315 - Network
Replies: 68
Views: 20938

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 ...
Tue May 21, 2013 5:51 am
Forum: Volume 7 (700-799)
Topic: 787 - Maximum Sub-sequence Product
Replies: 39
Views: 18915

Re: 787 - Maximum Sub-sequence Product

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

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.
``````