結果
問題 |
No.432 占い(Easy)
|
ユーザー |
![]() |
提出日時 | 2016-10-14 23:19:14 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 632 ms / 2,000 ms |
コード長 | 183 bytes |
コンパイル時間 | 101 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-11-22 10:19:13 |
合計ジャッジ時間 | 4,274 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 22 |
ソースコード
t=int(input()) for _ in [0]*t: s=input() while len(s)!=1: s2="" for i in range(len(s)-1): t=int(s[i])+int(s[i+1]) if t//10!=0:t=t%10+t//10 s2+=str(t) s=s2 print(s)