14 lines
168 B
C++
14 lines
168 B
C++
|
#include <iostream>
|
||
|
#include <string>
|
||
|
|
||
|
using namespace std;
|
||
|
|
||
|
template<class T>
|
||
|
|
||
|
T maxx(T a, T b) {
|
||
|
return a > b ? a : b;
|
||
|
}
|
||
|
|
||
|
int main() {
|
||
|
cout << maxx("bdc", "bcd");
|
||
|
}
|