Determine if a string is squeezable: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
Line 439:
 
=={{header|C++}}==
The solution is a straightforward application of the standard library function "unique".
 
<lang cpp>#include <algorithm>
#include <algorithm>
#include <string>
#include <iostream>
Line 474 ⟶ 473:
test(truman, 'r');
return 0;
}</lang>
}
</lang>
 
{{out}}
1,777

edits