結果
問題 |
No.432 占い(Easy)
|
ユーザー |
![]() |
提出日時 | 2016-10-15 01:09:22 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 541 ms / 2,000 ms |
コード長 | 143 bytes |
コンパイル時間 | 93 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-11-22 09:59:12 |
合計ジャッジ時間 | 4,033 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 22 |
ソースコード
for _ in[0]*int(input()): s=input() while len(s)>1:s="".join(str((int(i)+int(j))%10+(int(i)+int(j))//10)for i,j in zip(s[:],s[1:])) print(s)