Signed-off-by: hmz007 <hmz007@gmail.com> Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
4 lines
173 B
Plaintext
4 lines
173 B
Plaintext
{ print (substr($2,1,1) > substr($2,2,1)) ? $1 : $2 }
|
|
{ x = substr($1, 1, 1); y = substr($1, 2, 1); z = substr($1, 3, 1)
|
|
print (x > y ? (x > z ? x : z) : y > z ? y : z) }
|