s_id stringlengths 10 10 | p_id stringlengths 6 6 | u_id stringlengths 10 10 | date stringlengths 10 10 | language stringclasses 1
value | original_language stringclasses 11
values | filename_ext stringclasses 1
value | status stringclasses 1
value | cpu_time int64 0 100 | memory stringlengths 4 6 | code_size int64 15 14.7k | code stringlengths 15 14.7k | problem_id stringlengths 6 6 | problem_description stringlengths 358 9.83k | input stringlengths 2 4.87k | output stringclasses 807
values | __index_level_0__ int64 1.1k 1.22M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s564580351 | p04033 | u459150945 | 1590888415 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 196 | a, b = map(int, input().split())
if a * b <= 0:
print('Zero')
elif a > 0:
print('Positive')
else:
if abs(a - b) % 2 == 0:
print('Negative')
else:
print('Positive')
| p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,417 |
s347382610 | p04033 | u528661669 | 1590781819 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 304 | N = tuple([int(j) for j in input().split(' ')])
#0が含まれたら0
if N[0] <= 0 and N[1] >= 0:
print("Zero")
elif N[0] < 0 and N[1] < 0:
if (N[0] * - 1 - N[1] * - 1) % 2 == 0:
print("Negative")
else:
print("Positive")
elif N[0] > 0 and N[1] > 0:
print("Positive")
| p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,418 |
s076963381 | p04033 | u227085629 | 1590775472 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 166 | a,b = map(int,input().split())
if a > 0:
print('Positive')
elif b >= 0:
print('Zero')
else:
if (b-a)%2 == 0:
print('Negative')
else:
print('Positive') | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,419 |
s566770465 | p04033 | u713914478 | 1590768683 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 205 | a,b = map(int,input().split())
if (a < 0 and b > 0) or a == 0 or b == 0:
print("Zero")
elif a > 0:
print("Positive")
elif b < 0:
if (b - a + 1) % 2 == 0:
print("Positive")
else:
print("Negative")
| p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,420 |
s880722334 | p04033 | u193927973 | 1590763567 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 164 | a, b=map(int, input().split())
if a*b<=0:
print("Zero")
elif a>0:
print("Positive")
else:
if (b-a+1)%2==0:
print("Positive")
else:
print("Negative") | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,421 |
s991827548 | p04033 | u597374218 | 1590715592 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 145 | a,b=map(int,input().split())
if 0<a:
print("Positive")
elif a<=0<=b:
print("Zero")
else:
print("Positive" if (b-a)%2 else "Negative") | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,422 |
s960148263 | p04033 | u597374218 | 1590715242 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 149 | a,b=map(int,input().split())
if a>0:
print("Positive")
elif a<0 and b>0:
print("Zero")
else:
print("Positive" if (b-a)%2 else "Negative") | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,423 |
s739764349 | p04033 | u742899538 | 1590690766 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 385 | a, b = list(map(int, input().split()))
if a <= 0 <= b: ### a と b の間に0を含む時
print("Zero")
elif 0 < a <= b: ### a と b が正の場合
print("Positive")
elif a <= b < 0: ### a と b が負の場合
### a と b の間に数字が偶数個なら正、奇数個なら負
if (b - a + 1) % 2 == 0:
print("Positive")
else:
print("Negative") | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,424 |
s110893170 | p04033 | u745514010 | 1590636672 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 208 | a, b = map(int, input().split())
if a * b <= 0:
print("Zero")
elif a > 0:
print("Positive")
else:
num = b - a + 1
if num % 2 == 0:
print("Positive")
else:
print("Negative") | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,425 |
s417023924 | p04033 | u253681061 | 1590633539 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 222 | a,b = [int(x) for x in input().split()]
if a > 0:
print("Positive")
elif a <= 0 and b >= 0:
print("Zero")
else:
n = min(0,b) - a
if n % 2 == 0:
print("Negative")
else:
print("Positive") | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,426 |
s401089352 | p04033 | u810288681 | 1590631925 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 168 | a,b = map(int, input().split())
if a>0 or (b<0 and (b-a)%2==1) :
print('Positive')
elif a==0 or b==0 or (a<0 and b>0):
print('Zero')
else:
print('Negative') | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,427 |
s541974642 | p04033 | u733132703 | 1590483639 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 179 | a,b = map(int,input().split())
if a < 0 and b < 0:
if (b-a)%2 == 1:
print('Positive')
else:
print('Negative')
elif a>0:
print('Positive')
else:
print('Zero')
| p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,428 |
s058281906 | p04033 | u888092736 | 1590463294 | Python | Python (3.4.3) | py | Accepted | 19 | 2940 | 183 | a, b = map(int, input().split())
if a > 0 and b > 0:
print('Positive')
elif a <= 0 and b >= 0:
print('Zero')
else:
print('Positive') if (a - b) % 2 else print('Negative')
| p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,429 |
s063471490 | p04033 | u370331385 | 1590448688 | Python | Python (3.4.3) | py | Accepted | 18 | 3064 | 214 | a,b = map(int,input().split())
if((a<=0)and(0<=b)):
ans = 'Zero'
elif((a>=0)and(b>=0)):
ans = 'Positive'
elif((a<0)and(b<0)):
if((b-a)%2 == 1):
ans = 'Positive'
else:
ans = 'Negative'
print(ans) | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,430 |
s922287562 | p04033 | u220394041 | 1590437412 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 314 | a, b = map(int, input().split())
zero = (a == 0 | b == 0) | (a < 0 and 0 < b) | (b < 0 and 0 < a)
negative_a = (a < 0 and 0 < b) and (a + b + 1) % 2 != 0
negative_b = (a < 0 | b < 0) and (a + b + 1) % 2 != 0
if zero:
print("Zero")
elif negative_a | negative_b:
print("Negative")
else:
print("Positive") | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,431 |
s189670824 | p04033 | u448720391 | 1590433608 | Python | Python (3.4.3) | py | Accepted | 20 | 2940 | 248 | a,b = map(int,input().split())
if a < 0 and b > 0:
print("Zero")
elif a == 0 or b == 0:
print("Zero")
elif a > 0:
print("Positive")
else:
n_c = b-a+1
if n_c % 2 == 0:
print("Positive")
else:
print("Negative") | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,432 |
s044571548 | p04033 | u905715926 | 1590418362 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 361 | import sys
import bisect
sys.setrecursionlimit(1 << 25)
read = sys.stdin.readline
def main():
a,b = map(int,read().split())
if a > 0:
print("Positive")
elif b < 0:
if (b - a)%2 == 1:
print("Positive")
else:
print("Negative")
else:
print("Zero")
... | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,433 |
s048834747 | p04033 | u409306788 | 1590412593 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 256 | import sys
input = sys.stdin.readline
# A - Range Product
a, b = map(int, input().split())
if a > 0:
print('Positive')
elif b >= 0:
print('Zero')
else:
if b > 0:
b == 0
if (abs(a)-abs(b)+1) % 2 == 1:
print('Negative')
else:
print('Positive') | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,434 |
s253773596 | p04033 | u608088992 | 1590408428 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 337 | import sys
from math import pi
def solve():
input = sys.stdin.readline
A, B = map(int, input().split())
if A <= 0 <= B: print("Zero")
elif 0 < A: print("Positive")
else:
if (min(-1, B) - A) % 2 == 1: print("Positive")
else: print("Negative")
return 0
if __name__ == "__mai... | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,435 |
s180562353 | p04033 | u620084012 | 1590407903 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 347 | import sys
def input():
return sys.stdin.readline()[:-1]
def main():
a, b = map(int,input().split())
if a > 0 and b > 0:
print("Positive")
elif a*b <= 0:
print("Zero")
else:
if (b-a)%2 == 1:
print("Positive")
else:
print("Negative")
if __name__... | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,436 |
s683079700 | p04033 | u630511239 | 1590407126 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 168 | a, b = map(int, input().split())
if a*b <= 0:
ans = 'Zero'
elif a>0:
ans = 'Positive'
elif (b-a+1)%2 == 0:
ans = 'Positive'
else:
ans = 'Negative'
print(ans) | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,437 |
s908824133 | p04033 | u981931040 | 1590406840 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 204 | a, b = map(int, input().split())
if a > 0:
print('Positive')
elif b >= 0:
print('Zero')
else:
cnt = b - a + 1
if cnt % 2 == 0:
print('Positive')
else:
print('Negative') | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,438 |
s547547209 | p04033 | u145950990 | 1590406574 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 177 | a,b = map(int,input().split())
if a>0:
print('Positive')
elif b<0:
if (a-b+1)%2==0:
print('Positive')
else:
print('Negative')
else:
print('Zero') | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,439 |
s031777801 | p04033 | u994988729 | 1590406517 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 192 | a, b = map(int, input().split())
if a * b <= 0:
print("Zero")
elif a > 0:
print("Positive")
else:
if (b - a) % 2 == 0:
print("Negative")
else:
print("Positive") | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,440 |
s677573519 | p04033 | u241159583 | 1590406410 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 203 | a, b = map(int, input().split())
if a > 0 and b > 0: ans = "Positive"
elif a < 0 and b < 0:
if (abs(a-b) + 1) % 2 == 0:
ans = "Positive"
else:
ans = "Negative"
else:
ans = "Zero"
print(ans) | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,441 |
s013808695 | p04033 | u156815136 | 1590406410 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 212 | a,b = map(int,input().split())
if 0 <= a <= b:
print('Positive')
elif a <= b <= -1:
if abs(a+b-1)%2 == 0:
print('Positive')
else:
print('Negative')
elif a <= 0 <= b:
print('Zero')
| p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,442 |
s872227287 | p04033 | u408620326 | 1590367494 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 194 | a, b = [int(x) for x in input().strip().split()]
if a <= 0 and 0 <= b:
print('Zero')
elif a > 0:
print('Positive')
else:
if (b - a) % 2:
print('Positive')
else:
print('Negative') | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,443 |
s393731758 | p04033 | u924691798 | 1590364991 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 259 | a, b = map(int, input().split())
if 0 < a:
print("Positive")
exit()
elif a == 0 or b == 0 or (a < 0 and 0 < b):
print("Zero")
exit()
else:
diff = abs(a-b)+1
if diff%2 == 0:
print("Positive")
else:
print("Negative")
| p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,444 |
s644659134 | p04033 | u538632589 | 1590364058 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 207 | a, b = map(int, input().split())
if a*b <= 0:
print('Zero')
elif 0 < a:
print("Positive")
else:
cnt = b - a + 1
if cnt % 2 == 0:
print('Positive')
else:
print("Negative") | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,445 |
s554530448 | p04033 | u580316619 | 1590354955 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 193 | a,b=map(int,input().split())
if a<=0 and b>=0:
print('Zero')
elif a>0:
print('Positive')
else:
if a==b:
print('Positive')
elif (b-a)%2==0:
print('Negative')
else:
print('Positive')
| p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,446 |
s707452853 | p04033 | u941047297 | 1590352165 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 199 | a, b = list(map(int, input().split()))
if a <= 0 and b >= 0:
print('Zero')
elif a > 0:
print('Positive')
elif b < 0 and (b - a + 1) % 2 == 0:
print('Positive')
else:
print('Negative') | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,447 |
s938948783 | p04033 | u178432859 | 1590290162 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 190 | a,b = map(int, input().split())
if a <= 0 <= b:
print("Zero")
elif b < 0:
if (b-a+1)%2 == 0:
print("Positive")
else:
print("Negative")
else:
print("Positive") | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,448 |
s119500245 | p04033 | u742729271 | 1590274736 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 178 | a, b = map(int, input().split())
if a<=0 and b>=0:
print("Zero")
elif a>0:
print("Positive")
else:
n = b-a
if n%2==1:
print("Positive")
else:
print("Negative") | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,449 |
s127822456 | p04033 | u288430479 | 1590265344 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 195 | a,b = map(int,input().split())
if a<=0 and b>=0:
print("Zero")
elif a>0 and b>0:
print("Positive")
elif a<0 and b<0:
t = b-a
if t%2==0:
print("Negative")
else:
print("Positive") | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,450 |
s538041513 | p04033 | u371385198 | 1590263509 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 223 | a, b = map(int, input().split())
if a <= 0 and b >= 0:
print('Zero')
else:
if a > 0 and b > 0:
print('Positive')
elif a < 0 and b < 0:
if (b - a) % 2:
print('Positive')
else:
print('Negative')
| p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,451 |
s101375063 | p04033 | u871980676 | 1590258964 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 196 | a,b = map(int, input().split())
res = ''
if 0<a:
res = 'Positive'
elif a*b < 0:
res = 'Zero'
else:
if (b-a)%2==0:
res = 'Negative'
else:
res = 'Positive'
print(res) | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,452 |
s771787579 | p04033 | u106181248 | 1590198294 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 259 | a, b = map(int,input().split())
if a*b <= 0: #異符号もしくは0を含むなら
print("Zero")
elif a > 0: #両方正なら
print("Positive")
else: #両方負なら
if (b-a)%2==0:
print("Negative")
else:
print("Positive") | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,453 |
s424724125 | p04033 | u657901243 | 1590170143 | Python | Python (3.4.3) | py | Accepted | 20 | 3060 | 169 | a, b = map(int, input().split())
res = "Positive"
if b < 0:
if (b - a + 1) & 1:
res = "Negative"
elif b >= 0:
if a <= 0:
res = "Zero"
print(res)
| p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,454 |
s903834569 | p04033 | u057415180 | 1590123145 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 163 | a, b = map(int, input().split())
if a <= 0 and b >= 0:
print('Zero')
elif a < 0 and b < 0 and (b-a)%2 == 0:
print('Negative')
else:
print('Positive')
| p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,455 |
s343611657 | p04033 | u462329577 | 1590119261 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 189 | a, b = map(int, input().split())
if b < 0:
if (b - a) % 2 == 0:
print("Negative")
else:
print("Positive")
elif a <= 0:
print("Zero")
else:
print("Positive")
| p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,456 |
s208968327 | p04033 | u922449550 | 1590115082 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 196 | a, b = map(int, input().split())
if a > 0:
print('Positive')
else:
if b > 0:
print('Zero')
else:
n = b - a + 1
if n % 2:
print('Negative')
else:
print('Positive') | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,457 |
s879745073 | p04033 | u680503348 | 1590079865 | Python | Python (3.4.3) | py | Accepted | 18 | 3064 | 733 | # For taking integer inputs.
def inp():
return(int(input()))
# For taking List inputs.
def inlist():
return(list(map(int, input().split())))
# For taking string inputs. Actually it returns a List of Characters, instead of a string, which is easier to use in Python, because in Python, Strings are Immutable.
... | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,458 |
s423207218 | p04033 | u551437236 | 1590058475 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 225 | a,b = map(int, input().split())
if a>0 and b>0:
print("Positive")
elif a<=0 and b>=0:
print("Zero")
elif a<0 and b<0:
if (b-a+1)%2 == 0:
print("Positive")
elif(b-a+1)%2 == 1:
print("Negative")
| p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,459 |
s233154880 | p04033 | u482157295 | 1590030494 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 184 | a,b = map(int,input().split())
if a > 0:
print("Positive")
elif b < 0:
if abs(a-b)%2 == 0:
print("Negative")
else:
print("Positive")
else:
print("Zero") | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,460 |
s969247289 | p04033 | u230621983 | 1590006402 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 208 | a,b = map(int, input().split())
if a > 0:
print('Positive')
elif (a <= 0) and (0 <= b):
print('Zero')
elif b < 0:
if (b-a+1) % 2 == 0:
print('Positive')
else:
print('Negative') | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,461 |
s071976845 | p04033 | u842747358 | 1589999039 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 173 | a, b = map(int, input().split())
if a > 0 or (b < 0 and (a-b) % 2 == 1):
print('Positive')
elif b < 0 and (a-b) % 2 == 0:
print('Negative')
else:
print('Zero')
| p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,462 |
s388845455 | p04033 | u229156891 | 1589949585 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 201 | a, b = map(int, input().split())
if a <= 0 and b >= 0:
print('Zero')
elif a > 0:
print('Positive')
else:
if (b - a) % 2 == 0:
print('Negative')
else:
print('Positive')
| p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,463 |
s868473595 | p04033 | u663767599 | 1589940933 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 198 | a, b = map(int, input().split())
if a <= 0 <= b:
print("Zero")
elif 0 < a:
print("Positive")
else:
if (b - a + 1) % 2 == 0:
print("Positive")
else:
print("Negative")
| p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,464 |
s680920385 | p04033 | u810288681 | 1589919241 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 184 | a,b = map(int, input().split())
if a>0:
print('Positive')
elif b<0:
if (b-a)%2==0:
print('Negative')
else:
print('Positive')
else:
print('Zero') | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,465 |
s823629844 | p04033 | u408375121 | 1589916410 | Python | Python (3.4.3) | py | Accepted | 18 | 3064 | 193 | a, b = map(int, input().split())
if a > 0:
print('Positive')
elif a <= 0 and b >= 0:
print('Zero')
else:
c = b - a + 1
if c % 2 == 0:
print('Positive')
else:
print('Negative') | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,466 |
s791467608 | p04033 | u851704997 | 1589878525 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 195 | a,b = map(int,input().split())
if(a <= 0 and b >= 0):
print("Zero")
elif(a > 0 and b > 0):
print("Positive")
else:
if(abs(a-b) % 2 == 0):
print("Negative")
else:
print("Positive") | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,467 |
s615805606 | p04033 | u496821919 | 1589781131 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 167 | a,b = map(int,input().split())
if a <= 0 <= b:
print("Zero")
else:
if a < 0 and (b-a+1) % 2 != 0:
print("Negative")
else:
print("Positive") | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,468 |
s596611294 | p04033 | u579015878 | 1589755641 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 175 | a,b=map(int,input().split())
if a<=0 and b>=0:
print('Zero')
elif a>0:
print('Positive')
else:
A=b-a
if A%2==0:
print('Negative')
else:
print('Positive') | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,469 |
s654408155 | p04033 | u234189749 | 1589754226 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 172 | a, b = map(int,input().split())
if a > 0:
print("Positive")
elif a<=0 and b>= 0:
print("Zero")
elif (b-a)%2 == 0:
print("Negative")
else:
print("Positive") | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,470 |
s987955224 | p04033 | u339199690 | 1589723960 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 303 | a, b = map(int, input().split())
if a <= 0 <= b:
print("Zero")
elif 0 < a <= b:
print("Positive")
elif a < 0 and 0 < b:
if a % 2 == 0:
print("Positive")
else:
print("Negative")
else:
if (b - a) % 2 == 0:
print("Negative")
else:
print("Positive")
| p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,471 |
s245588304 | p04033 | u102223485 | 1589687103 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 172 | # coding: utf-8
a, b = map(int, input().split())
if a <= 0 and b >= 0:
print("Zero")
elif b < 0 and (a - b) % 2 == 0:
print("Negative")
else:
print("Positive") | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,472 |
s715948342 | p04033 | u502731482 | 1589603570 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 172 | a, b = map(int, input().split())
if a <= 0 <= b:
print("Zero")
elif a < b < 0:
print("Positive" if (b - a + 1) % 2 == 0 else "Negative")
else:
print("Positive") | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,473 |
s330554617 | p04033 | u178079174 | 1589589912 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 200 | a,b = list(map(int,input().split()))
if a<=0<=b:
print('Zero')
exit()
if a>0:
print('Positive')
exit()
elif (b-a+1)%2 == 0:
print('Positive')
exit()
else:
print('Negative') | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,474 |
s367101316 | p04033 | u652656291 | 1589552341 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 345 | a, b = list(map(int, input().split()))
if a == 0 or b == 0 or (a < 0 and b > 0):
print("Zero")
exit()
if a == b:
if a > 0:
print("Positive")
else:
print("Negative")
exit()
if a > 0:
print("Positive")
else:
if (abs(a - b) + 1) % 2 == 0:
print("Positive")
else:
... | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,475 |
s330025110 | p04033 | u891218252 | 1589523632 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 345 | a, b = list(map(int, input().split()))
if a == 0 or b == 0 or (a < 0 and b > 0):
print("Zero")
exit()
if a == b:
if a > 0:
print("Positive")
else:
print("Negative")
exit()
if a > 0:
print("Positive")
else:
if (abs(a - b) + 1) % 2 == 0:
print("Positive")
else:
... | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,476 |
s459256977 | p04033 | u571173211 | 1589458710 | Python | Python (3.8.2) | py | Accepted | 20 | 9160 | 163 | x,y = map(int,input().split())
if x > 0:
print("Positive")
elif y<0:
if((y-x)%2==0):
print("Negative")
else:
print("Positive")
else:
print("Zero")
| p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,477 |
s237953682 | p04033 | u146803137 | 1589437045 | Python | Python (3.8.2) | py | Accepted | 25 | 9368 | 260 | import math
import copy
neko = 1
a,b = map(int,input().split())
if (a < 0)and(b < 0):
if (abs(a-b)+1)%2:
neko = -1
elif (a<=0)and(0<=b):
neko = 0
if neko == 1:
print('Positive')
elif neko == 0:
print('Zero')
else:
print('Negative') | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,478 |
s521136859 | p04033 | u571867512 | 1589430243 | Python | Python (3.8.2) | py | Accepted | 23 | 9112 | 177 | a,b = map(int,input().split())
if 0 >= a and b >= 0:
print("Zero")
elif a > 0:
print("Positive")
elif (b-a) % 2 == 0:
print("Negative")
else:
print("Positive")
| p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,479 |
s722758676 | p04033 | u860002137 | 1589418738 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 168 | a, b = map(int, input().split())
if a<=0 and b>=0:
print("Zero")
elif a>0:
print("Positive")
elif (b-a)%2==0:
print("Negative")
else:
print("Positive") | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,480 |
s735306147 | p04033 | u394731058 | 1589400915 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 283 | import sys
input = sys.stdin.readline
def main():
ans = 'Positive'
a, b = map(int, input().split())
if a <= 0 <= b:
ans = 'Zero'
elif b < 0:
if abs(a-b)%2 == 0:
ans = 'Negative'
print(ans)
if __name__ == '__main__':
main() | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,481 |
s444219640 | p04033 | u729915102 | 1589345820 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 264 | def resolve():
a, b = map(int, input().split())
if 0 in range(a, b+1):
print('Zero')
elif a >= 1:
print('Positive')
elif b < 0 and len(range(a, b+1)) % 2 == 0:
print('Positive')
else:
print('Negative')
resolve() | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,482 |
s016942855 | p04033 | u351264758 | 1589297110 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 247 | a, b = list(map(int, input().split()))
p = 1
if 0 < a and 0 < b:
print('Positive')
elif a <= 0 and 0 <= b or 0 <= a and b <= 0:
print('Zero')
else:
if (b - a + 1) % 2 == 0:
print('Positive')
else:
print('Negative') | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,483 |
s975895309 | p04033 | u134019875 | 1589266396 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 238 | a, b = map(int, input().split())
if a < 0 and b < 0:
if (max(a, b) - min(a, b) + 1) % 2:
print('Negative')
else:
print('Positive')
else:
if a * b <= 0:
print("Zero")
else:
print('Positive')
| p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,484 |
s344889609 | p04033 | u902151549 | 1589227300 | Python | Python (3.4.3) | py | Accepted | 55 | 6120 | 3,645 | # coding: utf-8
import re
import math
from collections import defaultdict
import itertools
from copy import deepcopy
import random
from heapq import heappop,heappush
import time
import os
import queue
import sys
import datetime
from functools import lru_cache
#@lru_cache(maxsize=None)
readline=sys.stdin.readline
sys.se... | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,485 |
s108595678 | p04033 | u215341636 | 1589221657 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 221 | a , b = map(int , input().split())
if a > 0 and b > 0:
print('Positive')
elif (a <= 0 and b > 0) or (a > 0 and b <= 0):
print('Zero')
else:
if abs(a - b) % 2 == 1:
print('Positive')
else:
print('Negative') | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,486 |
s381385014 | p04033 | u779293207 | 1589218812 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 152 | a,b=map(int,input().split())
if a<=b<0:
print('Negative' if (-1)**(a-b-1)==-1 else 'Positive')
elif a<=0<=b:
print('Zero')
else:
print('Positive') | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,487 |
s669083320 | p04033 | u935254309 | 1589157956 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 189 | a,b=map(int,input().split())
if a > 0:
print("Positive")
elif a<=0 and b >=0:
print("Zero")
else:
if (b-a+1)%2==0:
print("Positive")
else:
print("Negative") | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,488 |
s633983589 | p04033 | u948522631 | 1589143578 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 190 | a, b = map(int, input().split())
if a<= 0 <=b:
print("Zero")
elif a > 0:
print("Positive")
else:
b = min(b,1)
a *= -1
print("Positive" if (a-b)%2 == 1 else "Negative")
| p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,489 |
s920665995 | p04033 | u133356863 | 1589101818 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 179 | a,b=map(int,input().split())
if a>0:
print('Positive')
elif a*b<=0:
print('Zero')
else:
if (b-a+1)%2==0:
print('Positive')
else:
print('Negative')
| p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,490 |
s186534125 | p04033 | u384476576 | 1589059658 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 210 | a, b = list(map(int, input().split()))
if 0 < a:
ans = 'Positive'
elif b < 0:
if (b - a + 1) % 2 == 0:
ans = 'Positive'
else:
ans = 'Negative'
else:
ans = 'Zero'
print(ans) | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,491 |
s274689460 | p04033 | u711238850 | 1589029116 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 198 | a,b = tuple(map(int,input().split()))
if a<=0 and b>=0:
print("Zero")
elif a<0 and b<0:
if (b-a+1)%2==0:
print("Positive")
else:
print("Negative")
elif a>0 and b>0:
print("Positive") | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,492 |
s282978116 | p04033 | u048176319 | 1589015871 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 183 | a, b = map(int, input().split())
if a <= 0 and b >= 0:
print("Zero")
elif a > 0:
print("Positive")
elif (b-a+1) % 2 == 0:
print("Positive")
else:
print("Negative") | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,493 |
s724064455 | p04033 | u751717561 | 1588906780 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 275 | import sys
#N = I()
#A = [LI() for _ in range(N)]
a, b = list(map(int,sys.stdin.readline().rstrip().split()))
if a > 0:
print('Positive')
elif a <= 0 and b >= 0:
print('Zero')
else:
if (a+b)%2 == 0:
print('Negative')
else:
print('Positive') | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,494 |
s156598907 | p04033 | u751717561 | 1588906690 | Python | Python (3.4.3) | py | Accepted | 18 | 3064 | 502 | import sys
def S(): return sys.stdin.readline().rstrip()
def I(): return int(sys.stdin.readline().rstrip())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))
def LS(): return list(sys.stdin.readline().rstrip().split())
#N = I()
#A = [LI() for _ in range(N)]
a, b = list(map(int,sys.stdin.readline().... | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,495 |
s303032736 | p04033 | u751717561 | 1588906582 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 274 | import sys
#N = I()
#A = [LI() for _ in range(N)]
a, b = list(map(int,sys.stdin.readline().rstrip().split()))
if a > 0:
print('Positive')
elif a <= 0 and b >= 0:
print('Zero')
else:
if (a+b)%2 == 0:
print('Negative')
else:
print('Positive') | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,496 |
s181812234 | p04033 | u751717561 | 1588906508 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 196 | a, b = map(int, input().split())
if a > 0:
print('Positive')
elif a <= 0 and b >= 0:
print('Zero')
else:
if (a+b)%2 == 0:
print('Negative')
else:
print('Positive') | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,497 |
s527087082 | p04033 | u827306875 | 1588883107 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 215 | a, b = map(int, input().split())
if a > 0:
print('Positive')
elif a <= 0 and b >= 0:
print('Zero')
else:
if (b - a) % 2 == 0:
print('Negative')
else:
print('Positive') | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,498 |
s311608835 | p04033 | u729294108 | 1588864273 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 198 | a, b = map(int, input().strip().split())
if 0 < a:
print('Positive')
elif 0 <= b:
print('Zero')
else:
if (b - a) % 2 == 0:
print('Negative')
else:
print('Positive')
| p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,499 |
s574881905 | p04033 | u746154235 | 1588822456 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 253 | a,b=map(int, input().split())
ans=1
if a <= 0 and b >= 0:
print('Zero')
exit(0)
if a>0 and b > 0:
print('Positive')
exit(0)
if a <0 and b<0:
d=abs(b-a)+1
if d %2==0:
print('Positive')
exit(0)
else:
print('Negative')
exit(0) | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,500 |
s587522623 | p04033 | u683406607 | 1588811674 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 187 | a, b = map(int, input().split())
if a > 0:
print("Positive")
elif a <= 0 and b >= 0:
print("Zero")
else:
if (b - a + 1) % 2 == 0:
print("Positive")
else:
print("Negative") | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,501 |
s369870758 | p04033 | u690781906 | 1588805140 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 221 | a, b = map(int, input().split())
if a < 0 and b < 0:
if (b-a+1) % 2 == 0:
print('Positive')
else:
print('Negative')
elif (a < 0 and b >= 0) or a == 0:
print('Zero')
else:
print('Positive')
| p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,502 |
s782179570 | p04033 | u331997680 | 1588802581 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 173 | a, b = map(int, input().split())
if a<0 and b>0:
print('Zero')
elif b<0:
if (b-a+1)%2 == 0:
print('Positive')
else:
print('Negative')
else:
print('Positive') | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,503 |
s775397860 | p04033 | u970809473 | 1588800670 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 182 | a,b = map(int, input().split())
if a <= 0 and b >= 0:
print('Zero')
elif a > 0:
print('Positive')
else:
if (b-a+1) % 2 == 0:
print('Positive')
else:
print('Negative') | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,504 |
s878789389 | p04033 | u188745744 | 1588788462 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 253 | a,b= list(map(int,input().split()))
if 0 < a:
print("Positive")
exit()
elif 0<=b and a<=0:
print("Zero")
exit()
elif b < 0:
if abs(a-b)%2==0:
print("Negative")
exit()
else:
print("Positive")
exit() | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,505 |
s579006911 | p04033 | u188745744 | 1588788430 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 191 | a,b= list(map(int,input().split()))
if 0 < a:
print("Positive")
elif b < 0:
if abs(b-a) % 2 == 0:
print("Negative")
else:
print("Positive")
else:
print("Zero") | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,506 |
s358316487 | p04033 | u443996531 | 1588746145 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 185 | a,b = map(int,input().split())
if a==0 or b==0 or (a<0 and b>0):
print("Zero")
elif a>0:
print("Positive")
else:
if (b-a)%2==0:
print("Negative")
else:
print("Positive") | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,507 |
s756287946 | p04033 | u560867850 | 1588719989 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 209 | a, b = map(int, input().split())
if a <= 0 <= b:
print("Zero")
elif a < 0 and b < 0:
if (b + a + 1) % 2 == 0:
print("Positive")
else:
print("Negative")
else:
print("Positive")
| p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,508 |
s309871861 | p04033 | u867826040 | 1588716199 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 209 | a,b = map(int,input().split())
if 0<a and a<=b:
print("Positive")
elif a<=b and b<0:
if (b-a+1)%2==0:
print("Positive")
else:
print("Negative")
elif a<=0 and 0<=b:
print("Zero") | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,509 |
s373552279 | p04033 | u475675023 | 1588671523 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 138 | a,b=map(int,input().split())
if 0<a:
print('Positive')
elif b<0:
print('Positive' if (b-a)%2==1 else 'Negative')
else:
print('Zero') | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,510 |
s737698484 | p04033 | u426649993 | 1588646089 | Python | Python (3.4.3) | py | Accepted | 18 | 3064 | 363 | def main():
a, b = map(int, input().split())
if a < 0 and b > 0:
print('Zero')
elif a > 0 and b > 0:
print('Positive')
elif a == 0 or b == 0:
print('Zero')
else:
if (abs(a) - abs(b) + 1) % 2 == 1:
print('Negative')
else:
print('Positive... | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,511 |
s447523534 | p04033 | u010090035 | 1588554209 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 149 | a,b=map(int,input().split())
if(a*b<=0):
print("Zero")
elif(a>0):
print("Positive")
elif((b-a+1)%2==0):
print("Positive")
else:
print("Negative") | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,512 |
s108794014 | p04033 | u865383026 | 1588543996 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 179 | a, b = map(int, input().split())
if a <= 0 and b >= 0 or a == 0 or b == 0:
print('Zero')
elif a < 0 and b < 0 and (b - a) % 2 == 0:
print('Negative')
else:
print('Positive') | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,513 |
s798863839 | p04033 | u511457539 | 1588543518 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 332 | a, b = map(int, input().split())
# = list(map(int, input().split()))
# = [list(map(int, input().split())) for i in range(N)]
if a <0 and b>0:
print("Zero")
elif a==0 or b==0:
print("Zero")
elif a>0:
print("Positive")
elif a<0 and b<0:
if (a-b)%2==0:
print("Negative")
else:
print(... | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,514 |
s024712729 | p04033 | u057964173 | 1588520511 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 294 | import sys
def input(): return sys.stdin.readline().strip()
def resolve():
a,b=map(int, input().split())
if a>0:
print('Positive')
elif a<=0 and b>=0:
print('Zero')
elif b<0 and (b-a)%2==0:
print('Negative')
else:
print('Positive')
resolve() | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,515 |
s942253048 | p04033 | u057964173 | 1588516734 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 337 | import sys
def input(): return sys.stdin.readline().strip()
def resolve():
a,b=map(int, input().split())
if a>0:
print('Positive')
elif a==0 or b==0:
print('Zero')
elif a<0 and b>0:
print('Zero')
elif b<0 and (b-a)%2==0:
print('Negative')
else:
print('Pos... | p04033 | <span class="lang-en">
<div class="part">
<section>
<h3>Problem Statement</h3><p>You are given two integers <var>a</var> and <var>b</var> (<var>a≤b</var>). Determine if the product of the integers <var>a</var>, <var>a+1</var>, <var>…</var>, <var>b</var> is positive, negative or zero.</p>
</section>
</div>
<div class="p... | 1 3
| Positive
| 1,208,516 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.