| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 85243 | 彭士宝 | 简单的分支结构 | Python3 | Wrong Answer | 33 MS | 3756 KB | 128 | 2024-07-16 19:31:45 |
def determine_y(x): if x % 2 == 0: return 1 else: return -1 x = int(input()) print(determine_y(x))
------Input------
-12
------Answer-----
-1
------Your output-----
1