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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s481578823 | p04033 | u434872492 | 1599751714 | Python | PyPy3 (7.3.0) | py | Accepted | 72 | 61824 | 280 | a,b= map(int,input().split())
if a==0 or b==0:
print("Zero")
exit()
if a<=0 and 0<=b:
print("Zero")
exit()
if b<0:
a=abs(a)
b=abs(b)
res = a-b
if res%2==0:
print("Negative")
else:
print("Positive")
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,217 |
s549405595 | p04033 | u468972478 | 1599701961 | Python | Python (3.8.2) | py | Accepted | 28 | 9160 | 183 | a, b = map(int, input().split())
if a <= 0 <= b:
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,218 |
s842388467 | p04033 | u883621917 | 1599623906 | Python | PyPy3 (7.3.0) | py | Accepted | 66 | 61928 | 405 | import sys
input = sys.stdin.readline
sys.setrecursionlimit(10 ** 7)
a, b = map(int, input().split())
if a > 0:
print('Positive')
sys.exit(0)
if a == 0:
print('Zero')
sys.exit(0)
if a < 0:
if b >= 0:
print('Zero')
sys.exit(0)
if b < 0:
diff = (b - a) + 1
if diff... | 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,219 |
s260920673 | p04033 | u359358631 | 1599620887 | Python | PyPy3 (7.3.0) | py | Accepted | 67 | 61876 | 354 | def main():
a, b = map(int, input().split())
if a == 0 or b == 0:
print("Zero")
elif a <= b < 0:
if (b - a + 1) % 2 == 0:
print("Positive")
else:
print("Negative")
elif a < 0 < b:
print("Zero")
elif 0 < a <= b:
print("Positive")
if _... | 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,220 |
s489092204 | p04033 | u359358631 | 1599620709 | Python | PyPy3 (7.3.0) | py | Accepted | 65 | 61860 | 370 | def main():
a, b = map(int, input().split())
if a == 0 or 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 0 < b:
print("Zero")
elif 0 < a and 0 < b:
print("P... | 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,221 |
s004238033 | p04033 | u457601965 | 1599496055 | Python | Python (3.8.2) | py | Accepted | 27 | 9160 | 186 | import sys
a,b = map(int, input().split())
if a <= 0 <= b:
print("Zero")
sys.exit()
elif b <0 and (b-a+1)%2 == 1:
print("Negative")
sys.exit()
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,222 |
s604887704 | p04033 | u796563423 | 1599488712 | Python | Python (3.8.2) | py | Accepted | 27 | 8996 | 186 | a,b=map(int,input().split())
if a>0:
print("Positive")
elif a<=0 and b>=0:
print("Zero")
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,223 |
s913048793 | p04033 | u498487134 | 1599443988 | Python | PyPy3 (7.3.0) | py | Accepted | 64 | 61940 | 460 | import sys
input = sys.stdin.readline
def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))
def main():
mod=10**9+7
a,b=MI()
if a<=0<=b:
print("Zero")
elif a>0 and b>0:
print("Positive")
else:
if b... | 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,224 |
s980952594 | p04033 | u980205854 | 1599404298 | Python | PyPy3 (7.3.0) | py | Accepted | 64 | 61848 | 171 | # A - Range Product
a,b = map(int,input().split())
if a<=0 and b>=0:
print('Zero')
elif (max(-a,0)-max(-b-1,0))%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,225 |
s867570649 | p04033 | u456353530 | 1599251521 | Python | PyPy3 (7.3.0) | py | Accepted | 64 | 61912 | 194 | a, b = list(map(int, input().split()))
if a <= 0 and b >= 0:
print("Zero")
exit()
if a > 0:
print("Positive")
exit()
if (b - a + 1) % 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,226 |
s738168893 | p04033 | u680851063 | 1599188792 | Python | Python (3.8.2) | py | Accepted | 26 | 9072 | 205 | 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)%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,227 |
s862682352 | p04033 | u554784585 | 1599161788 | Python | Python (3.8.2) | py | Accepted | 24 | 9160 | 177 | a,b=map(int,input().split())
if a>0:
print("Positive")
elif b<0:
if (b-a+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,228 |
s605033266 | p04033 | u265118937 | 1599136181 | Python | Python (3.8.2) | py | Accepted | 24 | 9104 | 206 | a, b=map(int,input().split())
if (a < 0 and 0 < b) or (a == 0 or b ==0):
print("Zero")
exit()
elif 0 < a:
print("Positive")
exit()
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,229 |
s348339897 | p04033 | u244416763 | 1599120664 | Python | Python (3.8.2) | py | Accepted | 30 | 9052 | 164 | a, b = map(int, input().split())
if a <= 0 and 0 <= b:
print("Zero")
elif a <= 0:
print("Positive" if (b-a) %2 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,230 |
s128582104 | p04033 | u375695365 | 1599100603 | Python | PyPy3 (7.3.0) | py | Accepted | 63 | 61688 | 221 | a, b = map(int, input().split())
if a <= 0 and 0 <= b:
print("Zero")
elif a < 0 and b < 0:
if (abs(a)-abs(b)+1) % 2 == 1:
print("Negative")
else:
print("Positive")
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,231 |
s638465473 | p04033 | u776311944 | 1599084198 | Python | Python (3.8.2) | py | Accepted | 25 | 9120 | 213 | a, b = map(int, input().split())
if a > 0 and b > 0:
print('Positive')
elif a <= 0 and b >= 0:
print('Zero')
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,232 |
s433787588 | p04033 | u405660020 | 1599071193 | Python | Python (3.8.2) | py | Accepted | 27 | 9044 | 183 | a,b=map(int, input().split())
if 0<a and 0<b:
print("Positive")
elif a<=0 and 0<=b:
print("Zero")
elif (min(0,b)-a+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,233 |
s084007209 | p04033 | u456579619 | 1599065170 | Python | Python (3.8.2) | py | Accepted | 30 | 9164 | 185 | a, b=map(int, input().split())
if a<=0 and b>=0:
print('Zero')
elif a>0:
print('Positive')
elif b<0:
if (b-a)%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,234 |
s672247231 | p04033 | u537962130 | 1598907237 | Python | PyPy3 (7.3.0) | py | Accepted | 73 | 61800 | 137 | a,b=map(int,input().split())
if a>0:
print('Positive')
elif a*b<=0:
print('Zero')
else:
print('Negative' if (b-a+1)%2 else '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,235 |
s948465828 | p04033 | u583507988 | 1598889826 | Python | Python (3.8.2) | py | Accepted | 29 | 9188 | 255 | a,b=map(int,input().split())
if a<=0 and b>=0:
print('Zero')
elif a>0:
print('Positive')
elif a<0 and b>0:
if abs(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,236 |
s547030335 | p04033 | u395620499 | 1598846405 | Python | Python (3.8.2) | py | Accepted | 31 | 9068 | 215 | a,b = map(int,input().split())
if a <= 0 and b >= 0:
print('Zero')
exit()
if a > 0 and b > 0:
print('Positive')
exit()
d = b - a
if d % 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,237 |
s397662058 | p04033 | u172748267 | 1598782913 | Python | Python (3.8.2) | py | Accepted | 31 | 9172 | 180 | a,b=map(int,input().split())
if a>0:
print("Positive")
elif a<0 and b>0:
print("Zero")
else:
if a%2 ==b%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,238 |
s000389444 | p04033 | u249987458 | 1598750974 | Python | Python (3.8.2) | py | Accepted | 24 | 9108 | 200 | a,b = map(int, input().split())
if 0 < a and 0 < b:
print('Positive')
elif a <= 0 <= b:
print('Zero')
else:
if (b-a+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,239 |
s549528797 | p04033 | u910632349 | 1598702550 | Python | Python (3.8.2) | py | Accepted | 28 | 9004 | 185 | a,b=map(int,input().split())
if a*b<=0:
print("Zero")
exit()
if a>0:
print("Positive")
else:
if (b-a)%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,240 |
s636501961 | p04033 | u734195782 | 1598677126 | Python | Python (3.8.2) | py | Accepted | 26 | 8984 | 151 | a,b = map(int, input().split())
if a<=0<=b:
print("Zero")
elif a>0 and b>0 or b<0 and (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,241 |
s359957570 | p04033 | u999503965 | 1598649994 | Python | Python (3.8.2) | py | Accepted | 26 | 9068 | 274 | a,b=map(int,input().split())
if (a>0 and b<0) or (a<0 and b>0):
ans="Zero"
elif a==0 or b==0:
ans="Zero"
elif a>0 and b>0:
ans="Positive"
elif a<0 and b<0:
if (a%2==0 and b%2==0) or (a%2!=0 and b%2!=0):
ans="Negative"
else:
ans="Positive"
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,242 |
s959353011 | p04033 | u306412379 | 1598647595 | Python | Python (3.8.2) | py | Accepted | 26 | 9172 | 219 | a, b = map(int, input().split())
if a > 0 and b > 0:
print('Positive')
elif a < 0 and b < 0:
if (b - a + 1) % 2 == 0:
print('Positive')
else:
print('Negative')
elif a * b < 0:
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,243 |
s225748669 | p04033 | u353548710 | 1598526170 | Python | Python (3.8.2) | py | Accepted | 27 | 9152 | 157 | a, b = map(int, input().split())
n = 1
L = []
if a * b < 0:
print('Zero')
elif a + b > 0 or (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,244 |
s545107412 | p04033 | u968404618 | 1598496111 | Python | Python (3.8.2) | py | Accepted | 31 | 9000 | 215 | a, b = map(int, input().split())
if a <= 0 and b >= 0:
print("Zero")
elif a < 0 and b < 0:
if (abs(a)-abs(b+1))%2:
print("Negative")
else:
print("Positive")
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,245 |
s008379753 | p04033 | u840037795 | 1598489818 | Python | PyPy3 (7.3.0) | py | Accepted | 73 | 61692 | 247 | a,b=map(int,input().split())
if a == 0 or b == 0:
print('Zero')
elif a < 0 and b > 0:
print('Zero')
elif a > 0:
print('Positive')
else:
d = b - a + 1
if d % 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,246 |
s084058841 | p04033 | u125269142 | 1598477904 | Python | Python (3.8.2) | py | Accepted | 29 | 9092 | 228 | a, b = map(int, input().split())
if a < 0 and 0 < b:
ans ='Zero'
elif b < 0:
cnt = abs((b-a))+1
if cnt%2 == 0:
ans = 'Positive'
else:
ans = 'Negative'
elif 0 < a:
ans = 'Positive'
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,247 |
s210435542 | p04033 | u972474792 | 1598407468 | Python | PyPy3 (7.3.0) | py | Accepted | 63 | 61848 | 176 | a,b=map(int,input().split())
if a>=1:
print('Positive')
elif b<=-1:
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,248 |
s537740885 | p04033 | u591503175 | 1598014273 | Python | Python (3.8.2) | py | Accepted | 27 | 9080 | 402 | def resolve():
'''
code here
'''
a,b = [int(item) for item in input().split()]
if a > 0:
print('Positive')
else:
if a <= 0 and 0 <= b:
print('Zero')
else:
cnt = b - a + 1
if cnt % 2 == 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,249 |
s915361067 | p04033 | u760760982 | 1597985983 | Python | Python (3.8.2) | py | Accepted | 29 | 9168 | 209 | a,b = map(int,input().split())
if a > 0:
print("Positive")
elif a <= 0 and 0 <= b:
print("Zero")
else:
if a % 2 == b % 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,250 |
s671467298 | p04033 | u714642969 | 1597892822 | Python | PyPy3 (7.3.0) | py | Accepted | 74 | 61552 | 432 | # -*- coding: utf-8 -*-
import sys
sys.setrecursionlimit(10**9)
INF=10**18
MOD=10**9+7
input=lambda: sys.stdin.readline().rstrip()
YesNo=lambda b: bool([print('Yes')] if b else print('No'))
YESNO=lambda b: bool([print('YES')] if b else print('NO'))
int1=lambda x:int(x)-1
a,b=map(int,input().split())
if a*b<0:
prin... | 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,251 |
s732244311 | p04033 | u519339498 | 1597814799 | Python | Python (3.8.2) | py | Accepted | 27 | 9096 | 364 | '''
Created on 2020/08/19
@author: harurun
'''
def main():
import sys
pin=sys.stdin.readline
pout=sys.stdout.write
perr=sys.stderr.write
a,b=map(int,pin().split())
if a<0 and b<0:
if (abs(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,252 |
s334687584 | p04033 | u314188085 | 1597788968 | Python | Python (3.8.2) | py | Accepted | 28 | 8972 | 171 | a,b = map(int, input().split())
if a*b <= 0:
print('Zero')
elif a>0:
print('Positive')
elif (abs(a-b)+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,253 |
s220943571 | p04033 | u898058223 | 1597678807 | Python | Python (3.8.2) | py | Accepted | 29 | 9116 | 194 | a,b=map(int,input().split())
if a<=0 and b>=0:
print("Zero")
elif a<0 and b<0:
if abs(b-a)%2==0:
print("Negative")
else:
print("Positive")
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,254 |
s974977270 | p04033 | u536017058 | 1597634206 | Python | PyPy3 (7.3.0) | py | Accepted | 63 | 61824 | 194 | a, b = map(int, input().split())
if a<0 and b<0:
if (b-a)%2 ==0:
print("Negative")
else:
print("Positive")
elif a>0 and b>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,255 |
s158045295 | p04033 | u512551187 | 1597608355 | Python | PyPy3 (7.3.0) | py | Accepted | 59 | 61812 | 245 | x,y=map(int,input().split())
if(x==0 or y==0):
print('Zero')
elif(x>0 and y>0):
print('Positive')
elif(x<=0 and y>=0):
print("Zero")
else:
z=abs(y-x)
if(z%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,256 |
s190756581 | p04033 | u138083942 | 1597516542 | Python | PyPy3 (7.3.0) | py | Accepted | 71 | 62140 | 540 | import math
def resolve():
import sys
input = sys.stdin.readline
# row = [int(x) for x in input().rstrip().split(" ")]
# n = int(input().rstrip())
a, b = [int(x) for x in input().rstrip().split(" ")]
if(a > 0):
print("Positive")
elif(a == 0 or b == 0):
print("Zero")
el... | 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,257 |
s452527486 | p04033 | u201928947 | 1597371940 | Python | PyPy3 (7.3.0) | py | Accepted | 68 | 61672 | 216 | a,b = map(int,input().split())
if a > 0:
print('Positive')
else:
if 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,258 |
s853236871 | p04033 | u981864683 | 1597338000 | Python | Python (3.8.2) | py | Accepted | 30 | 9156 | 214 | 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:
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,259 |
s238913856 | p04033 | u411923565 | 1597296839 | Python | PyPy3 (7.3.0) | py | Accepted | 63 | 61776 | 247 | #A - Range Product
a,b = map(int,input().split())
if a <= 0 and b >= 0:
print('Zero')
elif a < 0 and b < 0:
if abs(a - b) % 2 == 0:
print('Negative')
else :
print('Positive')
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,260 |
s464234692 | p04033 | u357751375 | 1597287721 | Python | Python (3.8.2) | py | Accepted | 26 | 9152 | 200 | a,b = map(int,input().split())
if a <= 0 <= b:
print('Zero')
elif 0 < a <= b:
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,261 |
s857839177 | p04033 | u395202850 | 1597243474 | Python | Python (3.8.2) | py | Accepted | 26 | 9164 | 270 | def main():
a, b = map(int, input().split())
if a > 0:
print("Positive")
return
if b > 0 and a <= 0:
print("Zero")
return
print("Positive" if(b - a + 1) % 2 == 0 else "Negative")
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,262 |
s203778931 | p04033 | u720558413 | 1597240961 | Python | Python (3.8.2) | py | Accepted | 26 | 9124 | 196 | a,b = map(int,input().split())
if (a <= 0 and b >= 0) or (a==0) or (b==0):
print("Zero")
elif (a > 0) or (b<0 and (b-a)%2==1):
print("Positive")
elif (b<0 and (b-a)%2==0):
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,263 |
s358878724 | p04033 | u970198631 | 1597179256 | Python | Python (3.8.2) | py | Accepted | 25 | 9104 | 181 | a,b = map(int,input().split())
if a>0 and b>0:
print('Positive')
elif a <0 and b<0:
if (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,264 |
s720895499 | p04033 | u201660334 | 1597178426 | Python | Python (3.8.2) | py | Accepted | 32 | 9104 | 224 | a, b = map(int, input().split())
if a * b <= 0:
print("Zero")
else:
if 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,265 |
s591611241 | p04033 | u869265610 | 1597156635 | Python | Python (3.8.2) | py | Accepted | 29 | 9140 | 194 | a,b=map(int,input().split())
if 0<a:
print("Positive")
exit()
else:
if b<0:
S=(b-a+1)%2
if S==1:
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,266 |
s275178473 | p04033 | u349449706 | 1597116473 | Python | PyPy3 (7.3.0) | py | Accepted | 69 | 61864 | 254 | a, b = map(int, input().split())
if a<=0 and 0<=b:
print('Zero')
exit()
elif a > 0:
print('Positive')
exit()
else:
if ( b - a + 1 ) % 2 == 0:
print('Positive')
exit()
else:
print('Negative')
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,267 |
s358165198 | p04033 | u835283937 | 1597106355 | Python | Python (3.8.2) | py | Accepted | 24 | 9184 | 378 | def main():
a, b = map(int, input().split())
if a == 0 or b == 0:
print("Zero")
elif a < 0 and b > 0:
print("Zero")
elif a < 0 and b < 0:
if abs(b - a + 1) % 2 == 1:
print("Negative")
else:
print("Positive")
elif a > 0 and b > 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,268 |
s191095948 | p04033 | u075303794 | 1597104404 | Python | Python (3.8.2) | py | Accepted | 25 | 9032 | 242 | A,B=map(int,input().split())
if A>0:
print('Positive')
elif A==0 or B==0:
print('Zero')
elif A<0 and 0<B:
print('Zero')
else:
if A==B:
print('Negative')
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,269 |
s096473678 | p04033 | u153729035 | 1597100160 | Python | Python (3.8.2) | py | Accepted | 25 | 9108 | 157 | a, b = map(int, input().split())
if a <= 0 <= b:
print('Zero')
elif 0 < a <= b or not (b - a + 1) % 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,270 |
s445540939 | p04033 | u972658925 | 1597037272 | Python | Python (3.8.2) | py | Accepted | 28 | 9092 | 227 | 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("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,271 |
s289189499 | p04033 | u344888046 | 1597009782 | Python | Python (3.8.2) | py | Accepted | 26 | 9208 | 210 | a, b = map(int, input().split())
if 0 < a and 0 < b:
print("Positive")
elif a <= 0 and 0 <= b:
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,272 |
s931733433 | p04033 | u177125607 | 1596983325 | Python | Python (3.8.2) | py | Accepted | 24 | 8696 | 187 | a, b = map(int, input().split())
X = range(a, b+1)
if a > 0:
print('Positive')
elif a < 0 and b > 0:
print('Zero')
else:
print('Positive' if (b - a) % 2 != 0 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,273 |
s535587046 | p04033 | u363825867 | 1596950198 | Python | Python (3.8.2) | py | Accepted | 31 | 8944 | 207 | a, b = map(int, input().split())
if a > 0:
print("Positive")
elif b >= 0 and a <= 0:
print("Zero")
elif b < 0:
if (b-a+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,274 |
s755028422 | p04033 | u492749916 | 1596944564 | Python | Python (3.8.2) | py | Accepted | 28 | 9072 | 400 | import sys
a,b = list(map(int, input().split()))
if a<=0 and b>= 0:
print("Zero")
sys.exit()
elif a < 0 and b < 0:
if (-(a-b)+1)%2 == 0:
print("Positive")
sys.exit()
else:
print("Negative")
sys.exit()
elif a==0 or b==0:
print("Zero")
sys.exit()
elif a>0 and b>0:
print("Positive")
sys.ex... | 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,275 |
s156331047 | p04033 | u780698286 | 1596922073 | Python | Python (3.8.2) | py | Accepted | 29 | 9176 | 199 | 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,276 |
s200563715 | p04033 | u394244719 | 1596854707 | Python | PyPy3 (7.3.0) | py | Accepted | 64 | 61460 | 435 | import sys
inint = lambda: int(sys.stdin.readline())
inintm = lambda: map(int, sys.stdin.readline().split())
inintl = lambda: list(inintm())
instrm = lambda: map(str, sys.stdin.readline().split())
instrl = lambda: list(instrm())
a, b = inintm()
if a <= 0 and b >= 0:
print("Zero")
elif a < 0 and b < 0:
if (a... | 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,277 |
s418323615 | p04033 | u789290859 | 1596832692 | Python | Python (3.8.2) | py | Accepted | 29 | 9184 | 225 | a, b= map(int, input().split())
if a > 0:
print('Positive')
elif (a < 0 and b > 0) or a==0 or b==0:
print('Zero')
else:
if (abs(a) - abs(b)+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,278 |
s803930239 | p04033 | u478417863 | 1596830660 | Python | Python (3.8.2) | py | Accepted | 30 | 8764 | 194 | a,b= list(map(int, input().strip().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,279 |
s915276931 | p04033 | u953379577 | 1596821523 | Python | Python (3.8.2) | py | Accepted | 37 | 8992 | 195 | a,b = map(int,input().split())
if a<=0 and b>=0:
print("Zero")
elif a<0 and b<0:
if (b-a)%2 == 0:
print("Negative")
else:
print("Positive")
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,280 |
s857606204 | p04033 | u892251744 | 1596730085 | Python | PyPy3 (7.3.0) | py | Accepted | 64 | 62236 | 395 | mod = 1000000007
eps = 10**-9
def main():
import sys
input = sys.stdin.readline
a, b = map(int, input().split())
if a * b <= 0:
print("Zero")
else:
if a > 0:
print("Positive")
else:
if (b - a) & 1:
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,281 |
s470319682 | p04033 | u720721463 | 1596642864 | Python | PyPy3 (7.3.0) | py | Accepted | 69 | 61804 | 192 | a, b = map(int, input().split())
if (a <= 0 and 0 <= b):
print("Zero")
elif (b < 0):
if abs(a - b) % 2 == 0:
print("Negative")
else:
print("Positive")
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,282 |
s310670197 | p04033 | u720721463 | 1596642710 | Python | PyPy3 (7.3.0) | py | Accepted | 71 | 61832 | 231 | a, b = map(int, input().split())
if (a <= 0 and b >= 0) or (a >= 0 and b <= 0):
print("Zero")
elif (a < 0 and b < 0):
if (abs(a - b) + 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,283 |
s828572580 | p04033 | u394721319 | 1596589764 | Python | Python (3.8.2) | py | Accepted | 29 | 9104 | 178 | a,b = [int(i) for i in 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,284 |
s653120908 | p04033 | u328510800 | 1596589643 | Python | Python (3.8.2) | py | Accepted | 26 | 9100 | 203 | a, b = map(int, input().split())
if a <= 0 and 0 <= b:
print('Zero')
elif a < 0 and b < 0:
# どっちもマイナス
print('Positive' if (abs(b - a)) & 1 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,285 |
s022480769 | p04033 | u760831084 | 1596579200 | Python | Python (3.8.2) | py | Accepted | 27 | 9176 | 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')
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,286 |
s045064364 | p04033 | u758815106 | 1596440803 | Python | Python (3.8.2) | py | Accepted | 28 | 8932 | 213 | a, b = map(int, input().split())
if a < 0 and 0 < b:
print("Zero")
elif 0 < a:
print("Positive")
else:
ab = abs(a - b)
if ab % 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,287 |
s626500494 | p04033 | u076506345 | 1596245548 | Python | Python (3.8.2) | py | Accepted | 26 | 9048 | 155 | a, b = map(int, input().split())
if a>0:
print("Positive")
elif a*b <= 0:
print("Zero")
elif abs(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,288 |
s555177807 | p04033 | u941047297 | 1596237072 | Python | Python (3.8.2) | py | Accepted | 28 | 9168 | 236 | def main():
a, b = map(int, input().split())
if a * b <= 0:
print('Zero')
elif a > 0 or (abs(b - a) + 1) % 2 == 0:
print('Positive')
else:
print('Negative')
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,289 |
s133852922 | p04033 | u016881126 | 1596174321 | Python | Python (3.8.2) | py | Accepted | 26 | 9192 | 438 | import sys
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
read = sys.stdin.buffer.read
sys.setrecursionlimit(10 ** 7)
INF = float('inf')
a, b = map(int, input().split())
if a * b < 0:
print("Zero")
elif a == 0 or b == 0:
print("Zero")
elif a > 0 and b > 0:
print('Positive')
e... | 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,290 |
s926263532 | p04033 | u969708690 | 1596072486 | Python | Python (3.8.2) | py | Accepted | 26 | 9176 | 183 | import sys
a,b=map(int,input().split())
if a>=0:
print("Positive")
sys.exit()
if b>=0:
print("Zero")
sys.exit()
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,291 |
s610626453 | p04033 | u257332942 | 1596002633 | Python | Python (3.8.2) | py | Accepted | 25 | 9160 | 224 | a,b = map(int, input().split())
if a * b < 0:
print('Zero')
exit()
elif a > 0 and b > 0:
print('Positive')
exit()
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,292 |
s139905808 | p04033 | u942051624 | 1595896675 | Python | Python (3.8.2) | py | Accepted | 29 | 9140 | 248 | a,b=map(int,input().split())
if a>0 and b>0:
print('Positive')
exit()
elif a<=0 and 0<=b:
print('Zero')
exit()
else:
if abs(b-a)%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,293 |
s054711104 | p04033 | u569776981 | 1595859433 | Python | Python (3.8.2) | py | Accepted | 28 | 9160 | 198 | a, b = map(int,input().split())
if a <= 0 and b >= 0:
print('Zero')
elif b < 0:
if (b - a) % 2 == 0:
print('Negative')
else:
print('Positive')
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,294 |
s356343413 | p04033 | u212328220 | 1595820536 | Python | Python (3.8.2) | py | Accepted | 27 | 9000 | 193 | a,b = map(int,input().split())
if a <= 0 <= b:
print('Zero')
exit()
elif a >= 1:
print('Positive')
elif (abs(b) - abs(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,295 |
s007950218 | p04033 | u039860745 | 1595808586 | Python | Python (3.8.2) | py | Accepted | 29 | 9112 | 266 | 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 or b == 0:
print("Zero")
else:
d = abs(a) - abs(b)
if d % 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,296 |
s660877760 | p04033 | u681444474 | 1595786471 | Python | Python (3.8.2) | py | Accepted | 26 | 9152 | 247 | # coding: utf-8
# Your code here!
a, b = map(int,input().split())
if a <= 0 and b >= 0:
ans = "Zero"
elif a < 0 and b < 0:
if (b-a)%2 == 0:
ans = "Negative"
else:
ans = "Positive"
else:
ans = "Positive"
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,297 |
s193226405 | p04033 | u013373291 | 1595518306 | Python | Python (3.8.2) | py | Accepted | 27 | 9012 | 220 | #!/usr/bin/env python3
a,b = [int(x) for x in 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,298 |
s615489038 | p04033 | u658915215 | 1595517541 | Python | Python (3.8.2) | py | Accepted | 29 | 9100 | 172 | a, b = map(int, input().split())
if a > 0: print('Positive')
elif a == 0 or (a < 0 and b >= 0): print('Zero')
else: print('Positive') if (b - a) % 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,299 |
s086790779 | p04033 | u060432908 | 1595453770 | Python | Python (3.8.2) | py | Accepted | 25 | 9168 | 201 | a,b=map(int,input().split())
if a<0 and 0<b:
print('Zero')
exit()
minus_num=0
if a<0:
minus_num=abs(a)
if b<0:
minus_num=abs(a-b+1)
print('Negative' if minus_num&1 else '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,300 |
s084855030 | p04033 | u106118504 | 1595441414 | Python | Python (3.8.2) | py | Accepted | 25 | 9056 | 190 | a,b = map(int,input().split())
if a <= 0 and b >= 0:
print("Zero")
elif a > 0:
print("Positive")
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,301 |
s076759732 | p04033 | u434966508 | 1595296177 | Python | PyPy3 (7.3.0) | py | Accepted | 66 | 61908 | 224 | a,b=map(int,input().split())
import sys
if b-a>=b and b>=0:
print('Zero')
sys.exit()
if a>0:
print('Positive')
else:
if len(range(a,b+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,302 |
s177118571 | p04033 | u833492079 | 1595216491 | Python | Python (3.8.2) | py | Accepted | 25 | 9088 | 224 | a,b = map(int, input().split())
if (a<0 and 0<b) or a==0 or b==0:
print("Zero")
exit()
if a>0:
print("Positive")
exit()
if a==b:
print("Positive")
elif (b-a)%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,303 |
s767053553 | p04033 | u452269253 | 1595189856 | Python | Python (3.8.2) | py | Accepted | 31 | 9192 | 202 | a,b = [int(i) for i in 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,304 |
s659725479 | p04033 | u593567568 | 1595031339 | Python | Python (3.8.2) | py | Accepted | 24 | 9156 | 216 | a,b = map(int,input().split())
if a * b <= 0:
print("Zero")
else:
if a > 0:
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,305 |
s314624020 | p04033 | u996564551 | 1595013135 | Python | Python (3.8.2) | py | Accepted | 26 | 9084 | 234 | a, b = input().split(' ')
a = int(a)
b = int(b)
if (a<=0 and b>=0) or a==0 or b==0:
print('Zero')
elif a>0 and b>0:
print('Positive')
else:
X = (abs(a) - abs(b))
if X%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,306 |
s062765582 | p04033 | u261103969 | 1594982462 | Python | PyPy3 (7.3.0) | py | Accepted | 63 | 61780 | 415 | import sys
readline = sys.stdin.readline
MOD = 10 ** 9 + 7
INF = float('INF')
sys.setrecursionlimit(10 ** 5)
def main():
a, b = map(int, readline().split())
if a <= 0 <= b:
print("Zero")
else:
if 0 < a:
print("Positive")
elif (-a + b + 1) % 2 == 0:
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,307 |
s385462013 | p04033 | u131464432 | 1594919506 | Python | Python (3.8.2) | py | Accepted | 25 | 9172 | 187 | a,b = map(int,input().split())
if a <= 0 and b >= 0:
print("Zero")
elif a > 0 and b > 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,308 |
s331653185 | p04033 | u289288647 | 1594867272 | Python | Python (3.8.2) | py | Accepted | 24 | 9164 | 230 | 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:
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,309 |
s265777745 | p04033 | u679089074 | 1594838874 | Python | Python (3.8.2) | py | Accepted | 27 | 9116 | 327 | #40
import sys
a,b = map(int,input().split())
cou = 0
if a<=0 and b>=0:
print("Zero")
sys.exit()
elif a>=0 and b<=0:
print("Zero")
sys.exit()
if a>0 and b>0:
print("Positive")
sys.exit()
else:
cou = abs(b-a) +1
if cou %2 == 0:
print("Positive")
else:
print("Nega... | 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,310 |
s426300704 | p04033 | u430928274 | 1594690771 | Python | Python (3.8.2) | py | Accepted | 30 | 9100 | 194 | 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,311 |
s796586498 | p04033 | u143051858 | 1594645437 | Python | Python (3.8.2) | py | Accepted | 30 | 9176 | 245 | a,b = map(int,input().split())
m = 0
if a<=0 and 0<=b:
print('Zero')
elif a<0:
if b < 0:
m = a-b+1
else:
m = abs(a)
if m%2:
print('Negative')
else:
print('Positive')
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,312 |
s123020340 | p04033 | u280552586 | 1594640627 | Python | Python (3.8.2) | py | Accepted | 26 | 9064 | 201 | a, b = map(int, input().split())
if a <= 0 <= b:
ans = 'Zero'
elif a <= b < 0:
if (b-a+1) % 2:
ans = 'Negative'
else:
ans = 'Positive'
else:
ans = "Positive"
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,313 |
s439744489 | p04033 | u814663076 | 1594502924 | Python | Python (3.8.2) | py | Accepted | 26 | 9180 | 399 | import sys
def rs(): return sys.stdin.readline().rstrip()
def ri(): return int(rs())
def rs_(): return [_ for _ in rs().split()]
def ri_(): return [int(_) for _ in rs().split()]
a, b = ri_()
if a == 0 or b == 0 or (a < 0 and b > 0):
ans = 'Zero'
elif a > 0 and b > 0:
ans = 'Positive'
else:
if (b - a + 1) %... | 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,314 |
s448100973 | p04033 | u112247039 | 1594453990 | Python | Python (3.8.2) | py | Accepted | 28 | 9184 | 439 | def neg(a,b):
n = max(a,b)-min(a,b)+1
print('Negative' if n%2 else 'Positive')
def sign(a, b):
if a==0 or b==0:
print('Zero'); return
sa =-1 if a*(-1) == abs(a) else 1
sb =-1 if b*(-1) == abs(b) else 1
if sa * sb == -1:
print('Zero'); return
elif sa==sb==1:... | 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,315 |
s976187201 | p04033 | u661060077 | 1594426584 | Python | Python (3.8.2) | py | Accepted | 28 | 9052 | 211 | a, b = (int(x) for x in 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,316 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.