Detect if two integers have opposite signs
Given two signed integers, write a function that returns true if the signs of given integers are different, otherwise false. For
example, the function should return true for -1 and +100, and should
翻译
2012-12-09 17:59:54 ·
1077 阅读 ·
0 评论