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