SPOILER/CHEAT: C++ faster solution

Justin Findlay jfindlay at gmail.com
Fri Mar 10 17:35:32 MST 2006

On 3/10/06, Bryan Sant <bryan.sant at gmail.com> wrote:
> On 3/10/06, Nicholas Leippe <nick at byu.edu> wrote:
> That is sweet.  You're now beating my Java code by a few milliseconds
> :-).  I have to remove the <char> templatization on string before I
> can compile though.  Why is that?

In ISO C++ std::string is a typedef std::basic_string<char>;  I was
wondering that myself.


More information about the PLUG mailing list