Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
87212 胡海峰老师 简单的分支结构 Python3 Accepted 34 MS 3744 KB 96 2024-08-07 07:54:13

Tests(1/1):


Code:

x = input() x = int(x) if x<0: print(-1) elif x==0: print(0) else: print(1)