summaryrefslogtreecommitdiff
path: root/6p44.cpp
blob: 06fb402081f98ad78cf0ac84eeb2288ffeca5ea8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <iostream>

/*
 *
 * 6.44
 *
 *
 */

inline bool isShorter(const std::string &s1, const std::string &s2) {

	return s1.size() < s2.size();
}

int main () {

	std::cout << (isShorter("1234", "12345") ? "True" : "False") << std::endl;
	return 0;
}