#include <iostream>#include <algorithm> int main() { const std::string& s = std::max<std::string>("a", "b"); std::cout << s << '\n';}
Standard input is empty
b ����a �
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!