結果
問題 |
No.432 占い(Easy)
|
ユーザー |
|
提出日時 | 2016-10-14 23:22:19 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 238 bytes |
コンパイル時間 | 92 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 15,232 KB |
最終ジャッジ日時 | 2024-11-22 10:26:41 |
合計ジャッジ時間 | 3,691 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 20 RE * 2 |
ソースコード
t = int(input()) def tasu(x): if len(x) == 1: return x[0] else: x1 = [sum(map(int,list(str(x[i2] + x[i2+1])))) for i2 in range(len(x)-1)] return tasu(x1) for i in range(t): print(tasu(list(map(int,input()))))