結果
問題 |
No.432 占い(Easy)
|
ユーザー |
|
提出日時 | 2019-07-10 14:42:31 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 203 ms / 2,000 ms |
コード長 | 307 bytes |
コンパイル時間 | 89 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-10-15 13:14:22 |
合計ジャッジ時間 | 2,724 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 22 |
ソースコード
t = int(input()) for _ in range(t): s = list(map(int, str(input()))) while len(s) > 1: l = [] for i in range(len(s)-1): x = s[i+1] + s[i] if x > 9: x = x//10 + x%10 l.append(x) s = l print(*s)