結果
問題 |
No.432 占い(Easy)
|
ユーザー |
![]() |
提出日時 | 2016-10-28 11:03:19 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 559 ms / 2,000 ms |
コード長 | 200 bytes |
コンパイル時間 | 290 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-11-24 05:07:55 |
合計ジャッジ時間 | 4,100 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 22 |
ソースコード
t=int(input()) st = [input() for i in range(t)] for s in st: 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)