LoginSignup
0
0

More than 3 years have passed since last update.

yukicoder contest 261 参戦記

Posted at

yukicoder contest 261 参戦記

A 1168 Digit Sum Sequence

増えていったりしないので、何も考えずに99回ループを回せば OK.

N = int(input())

for _ in range(99):
    N = sum(int(c) for c in str(N))
print(N)

B 1169 Row and Column and Diagonal

解けず.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0