用户输出
NO
Special Judge 信息
Accepted!
系统信息
Exited with return code 0
编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#20544 | #2026. youngmagician笑传之谁是奶龙 | Accepted | 100 | 357 ms | 2880 K | Python 3 / 253 B | 192023214490 | 2024-12-14 1:52:06 |
def demo(num: int):
if num==7:
return '7'
while len(str(num)) > 1:
num=str(sum(map(int, str(num))))
# print(num,type(num))
return num
n = int(input())
c = demo(n)
if c == '7': print('Yes')
else:print('NO')
用户输出
NO
Special Judge 信息
Accepted!
系统信息
Exited with return code 0
用户输出
NO
Special Judge 信息
Accepted!
系统信息
Exited with return code 0
用户输出
NO
Special Judge 信息
Accepted!
系统信息
Exited with return code 0
用户输出
NO
Special Judge 信息
Accepted!
系统信息
Exited with return code 0
用户输出
NO
Special Judge 信息
Accepted!
系统信息
Exited with return code 0
用户输出
Yes
Special Judge 信息
Accepted!
系统信息
Exited with return code 0
用户输出
NO
Special Judge 信息
Accepted!
系统信息
Exited with return code 0
用户输出
NO
Special Judge 信息
Accepted!
系统信息
Exited with return code 0
用户输出
NO
Special Judge 信息
Accepted!
系统信息
Exited with return code 0
用户输出
NO
Special Judge 信息
Accepted!
系统信息
Exited with return code 0
用户输出
NO
Special Judge 信息
Accepted!
系统信息
Exited with return code 0
用户输出
NO
Special Judge 信息
Accepted!
系统信息
Exited with return code 0
用户输出
NO
Special Judge 信息
Accepted!
系统信息
Exited with return code 0
用户输出
Yes
Special Judge 信息
Accepted!
系统信息
Exited with return code 0
用户输出
Yes
Special Judge 信息
Accepted!
系统信息
Exited with return code 0
用户输出
NO
Special Judge 信息
Accepted!
系统信息
Exited with return code 0