Test cases are not sufficient.
A buggy code got AC, yet it fails this simple case:
1
taken
4
taken
take
ake
ke
returns y,n,y,y instead of y,y,y,y
Buggy AC code: http://ideone.com/Tblbi
Search found 3 matches
- Tue Jul 24, 2012 3:46 pm
- Forum: Volume 106 (10600-10699)
- Topic: 10679 - I Love Strings!!
- Replies: 101
- Views: 69359
- Mon Jun 11, 2012 2:09 pm
- Forum: Volume 5 (500-599)
- Topic: 545 - Heads
- Replies: 67
- Views: 54734
Re: 545
I got AC after replacing long double with double ! Used log10, pow and cin<<fixed and cin.precision(3) cin.precision(0)
- Sun Feb 13, 2011 10:46 am
- Forum: Volume 100 (10000-10099)
- Topic: 10069 - Distinct Subsequences
- Replies: 26
- Views: 19927
Re: 10069 - Distinct Subsequences
Can someone please explain to me the idea behind the problem ? any hint about the recurrance relationship please ? 
