#296. posNeg

posNeg

Background

Description

Given 2 int values, return true if one is negative and one is positive. Except if the parameter "negative" is true, then return true only if both are negative.

Format

Input

Output

Samples

1 -1 false
true
-1 1 false
true
-4 -5 true
true

Limitation

1s, 1024KiB for each test case.