結果

問題 No.432 占い(Easy)
ユーザー matrie
提出日時 2020-12-05 08:27:47
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
RE  
実行時間 -
コード長 186 bytes
コンパイル時間 297 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 11,648 KB
最終ジャッジ日時 2024-09-15 12:44:51
合計ジャッジ時間 4,787 ms
ジャッジサーバーID
(参考情報)
judge2 / judge6
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 19 RE * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

def L(s):
	if len(s)==1: return s
	else:
		r = ''
		for i in range(len(s)-1):
			r += L(str(int(s[i])+int(s[i+1])))
		return(L(r))

n = int(input())
for i in range(n):
	print(L(input()))
0