I have used dp[1005][1005] and it got accepted.
Just want to share.
Search found 46 matches
- Fri Sep 26, 2014 11:31 am
- Forum: Volume 12 (1200-1299)
- Topic: 1207 - AGTC
- Replies: 6
- Views: 7054
- Tue Sep 16, 2014 8:37 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10100 - Longest Match
- Replies: 95
- Views: 31082
Re: 10100 - Longest Match
Hi,
run it again with input you provided, getting same response as you mentioned without any change in code.
code is at same place http://ideone.com/jLH1FX# with test case 40/41 newly added.
Thanks.
run it again with input you provided, getting same response as you mentioned without any change in code.
code is at same place http://ideone.com/jLH1FX# with test case 40/41 newly added.
Thanks.
- Tue Sep 16, 2014 7:16 am
- Forum: Volume 101 (10100-10199)
- Topic: 10100 - Longest Match
- Replies: 95
- Views: 31082
Re: 10100 - Longest Match
I guess we are counting words which gets matches, even uDebug gives output 1.brianfry713 wrote:Input:Output should be 2.a!aa!aaa!
aa
Output should be 1.
- Tue Feb 19, 2013 6:47 pm
- Forum: Volume 125 (12500-12599)
- Topic: 12578 - 10:6:2
- Replies: 16
- Views: 5414
Re: 12578 - 10:6:2
thanks, never thought it will screw me like this.
- Tue Feb 19, 2013 12:43 pm
- Forum: Volume 125 (12500-12599)
- Topic: 12578 - 10:6:2
- Replies: 16
- Views: 5414
Re: 12578 - 10:6:2
really stuck at stupid problem....my code is at http://ideone.com/9fSszm
please help.
please help.
- Sat Feb 09, 2013 7:59 pm
- Forum: Volume 9 (900-999)
- Topic: 902 - Password Search
- Replies: 68
- Views: 38640
- Thu Feb 07, 2013 11:15 am
- Forum: Bugs and suggestions
- Topic: 612 - DNA sorting (can't submit)
- Replies: 7
- Views: 4362
Re: 612 - DNA sorting (can't submit)
getting WA at http://ideone.com/kwFrGg, could anybody look please....
- Wed Feb 06, 2013 7:05 pm
- Forum: Volume 7 (700-799)
- Topic: 727 - Equation
- Replies: 156
- Views: 52238
Re: 727 Equation TLE
thanks man, line 63 got problem, somehow '(' was getting poped up because of perced check.fixed it got AC.
- Mon Feb 04, 2013 10:45 am
- Forum: Volume 7 (700-799)
- Topic: 727 - Equation
- Replies: 156
- Views: 52238
Re: 727 Equation TLE
will someone look into my issue...?
- Thu Jan 31, 2013 9:05 am
- Forum: Volume 7 (700-799)
- Topic: 727 - Equation
- Replies: 156
- Views: 52238
- Wed Jan 30, 2013 8:07 pm
- Forum: Volume 3 (300-399)
- Topic: 374 - Big Mod
- Replies: 79
- Views: 21780
Re: 374 - Big Mod
Help.. getting RE, my code is here...http://ideone.com/o1Q6qf
- Sun Jan 13, 2013 9:48 am
- Forum: Volume 104 (10400-10499)
- Topic: 10420 - List of Conquests
- Replies: 68
- Views: 33949
Re: 10420 - List of Conquests
there is no involvement of Lovely women in solving this problem..just count the countries which has been visited.
- Thu Jan 10, 2013 4:04 am
- Forum: Volume 1 (100-199)
- Topic: 160 - Factors and Factorials
- Replies: 205
- Views: 41366
Re: Presentation error on 160
thanks brian..
that was kewl input.
that was kewl input.
- Wed Jan 09, 2013 7:17 am
- Forum: Volume 1 (100-199)
- Topic: 160 - Factors and Factorials
- Replies: 205
- Views: 41366
Re: Presentation error on 160
I removed the new line at the end, but still getting WA.
- Tue Jan 08, 2013 11:00 am
- Forum: Volume 1 (100-199)
- Topic: 160 - Factors and Factorials
- Replies: 205
- Views: 41366
Re: Presentation error on 160
getting WA, in this case, but passed all my test case...please have a look ..
AC now.
thanks...
AC now.
thanks...