Determine if a string is squeezable: Difference between revisions
m
Reformatted C++ code
m (Reformatted C++ code) |
|||
Line 551:
std::basic_string<char_type> squeeze(std::basic_string<char_type> str, char_type ch)
{
}
void test(const std::string& str, char ch)
{
}
int main(int argc, char** argv)
{
}</lang>
Line 609:
result: <<< --- Hary S Truman >>>, length: 71
</pre>
=={{header|Clojure}}==
|