Submission #831628
Source Code Expand
import math
a,b = tuple(map(int,input().split(" ")))
if a>0:
print("Positive")
elif a<0 and b>0:
print("Zero")
elif a%2==0 and b%2==0 or a%2==1 and b%2==1:
print("Negative")
else:
print("Positive")
Submission Info
| Submission Time | |
|---|---|
| Task | A - Range Product |
| User | hirorocky |
| Language | Python (3.4.3) |
| Score | 200 |
| Code Size | 226 Byte |
| Status | AC |
| Exec Time | 42 ms |
| Memory | 3064 KiB |
Judge Result
| Set Name | Sample | Subtask1 | All | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | 100 / 100 | ||||||
| Status |
|
|
|
| Set Name | Test Cases |
|---|---|
| Sample | 0_00.txt, 0_01.txt, 0_02.txt |
| Subtask1 | 0_00.txt, 0_01.txt, 0_02.txt, 1_00.txt, 1_01.txt, 1_02.txt, 1_03.txt |
| All | 0_00.txt, 0_01.txt, 0_02.txt, 1_00.txt, 1_01.txt, 1_02.txt, 1_03.txt, 2_00.txt, 2_01.txt, 2_02.txt, 2_03.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 0_00.txt | AC | 42 ms | 3064 KiB |
| 0_01.txt | AC | 42 ms | 3064 KiB |
| 0_02.txt | AC | 39 ms | 3064 KiB |
| 1_00.txt | AC | 38 ms | 3064 KiB |
| 1_01.txt | AC | 38 ms | 3064 KiB |
| 1_02.txt | AC | 38 ms | 3064 KiB |
| 1_03.txt | AC | 38 ms | 3064 KiB |
| 2_00.txt | AC | 39 ms | 3064 KiB |
| 2_01.txt | AC | 38 ms | 3064 KiB |
| 2_02.txt | AC | 39 ms | 3064 KiB |
| 2_03.txt | AC | 39 ms | 3064 KiB |