Search found 3 matches

by xander7b
Tue Jul 24, 2012 3:46 pm
Forum: Volume 106 (10600-10699)
Topic: 10679 - I Love Strings!!
Replies: 101
Views: 49277

Insufficient test data for 10679 - I Love Strings!!

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
by xander7b
Mon Jun 11, 2012 2:09 pm
Forum: Volume 5 (500-599)
Topic: 545 - Heads
Replies: 67
Views: 44361

Re: 545

I got AC after replacing long double with double ! Used log10, pow and cin<<fixed and cin.precision(3) cin.precision(0)
by xander7b
Sun Feb 13, 2011 10:46 am
Forum: Volume 100 (10000-10099)
Topic: 10069 - Distinct Subsequences
Replies: 26
Views: 13559

Re: 10069 - Distinct Subsequences

Can someone please explain to me the idea behind the problem ? any hint about the recurrance relationship please ? :-?

Go to advanced search