3 ms·
Don't skip the comments. I think there is more there than in the article, honestly.
by taeric 12y ago
Don't skip the comments. I think there is more there than in the article, honestly.
- kragen 12y agoOf course there is. What there isn’t, as far as I can see, is a working solution.
- marvy 12y agoThere is, more or less. Mine, in fact. But it's ugly. It's repetitive. If someone gave me that solution, I would think "this is way too unreadable to ever verify its correctness". My mistake was using C++98. I think C++11 would handle this better, but I never got around to trying.