#include <cstddef>
template< size_t N >
constexpr size_t length( char const (&)[N] )
{
return N-1;
}
int main() {
static_assert( length("abc") == 3, "string length is not 3" );
// your code goes here
return 0;
}
I2luY2x1ZGUgPGNzdGRkZWY+Cgp0ZW1wbGF0ZTwgc2l6ZV90IE4gPgpjb25zdGV4cHIgc2l6ZV90IGxlbmd0aCggY2hhciBjb25zdCAoJilbTl0gKQp7CglyZXR1cm4gTi0xOwp9CgppbnQgbWFpbigpIHsKCQoJc3RhdGljX2Fzc2VydCggbGVuZ3RoKCJhYmMiKSA9PSAzLCAic3RyaW5nIGxlbmd0aCBpcyBub3QgMyIgKTsKCQoJLy8geW91ciBjb2RlIGdvZXMgaGVyZQoJcmV0dXJuIDA7Cn0=