c ++ max function pits

Today do online programming that cattle off the network, the proper way to use the title max function, found a pit, such as \ (max (a, 0) \) when, if a is a long long type, the error will need to be 0 into 0ll.

Guess you like

Origin www.cnblogs.com/yy-moon/p/11205057.html