用户输出
no
Special Judge 信息
Accepted!
系统信息
Exited with return code 0
编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#22107 | #2026. youngmagician笑传之谁是奶龙 | Accepted | 100 | 341 ms | 2864 K | Python 3 / 199 B | 192022211728 | 2024-12-15 0:06:52 |
a=int(input())
def func(x):
ans=0
while x>0:
ans+=x%10
x=x//10
return ans
while func(a)>10:
a=func(a)
if func(a)==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