Mind boggling card trick: Difference between revisions

m
Reformatting due to one line overflowing the page width.
(New post.)
m (Reformatting due to one line overflowing the page width.)
Line 540:
std::cout << " Red : " << std::setw(2) << red_pile.size() << " cards -> "; print_vector<char>(red_pile);
std::cout << " Black : " << std::setw(2) << black_pile.size() << " cards -> "; print_vector<char>(black_pile);
std::cout << " Discard: " << std::setw(2) << discard_pile.size() << " cards -> "; print_vector<char>(discard_pile);
<< " cards -> "; print_vector<char>(discard_pile);
 
const int32_t minimum_size = std::min(red_pile.size(), black_pile.size());
Line 595 ⟶ 596:
}
</syntaxhighlight>
{{ out }}
<pre>
A sample run.
908

edits