Search found 1 match

by nseph
Fri Apr 08, 2016 8:10 pm
Forum: Volume 1 (100-199)
Topic: 120 - Stacks of Flapjacks
Replies: 118
Views: 30547

Re: 120 - Stacks of Flapjacks

Hi, I've been getting WA for this problem and I can't find my mistake.

I even wrote a part that does all the flips found on the original stack and in all the cases I checked, the stack finishes sorted. Any help would be much appreciated.


#include <vector>
#include <iterator>
#include <algorithm ...

Go to advanced search