結果
問題 |
No.432 占い(Easy)
|
ユーザー |
![]() |
提出日時 | 2016-10-28 10:35:10 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 595 ms / 2,000 ms |
コード長 | 181 bytes |
コンパイル時間 | 122 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-11-24 05:05:57 |
合計ジャッジ時間 | 4,127 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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)