結果

問題 No.432 占い(Easy)
ユーザー tabataba
提出日時 2017-04-03 13:58:29
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 170 bytes
コンパイル時間 68 ms
コンパイル使用メモリ 10,636 KB
実行使用メモリ 12,732 KB
最終ジャッジ日時 2023-09-22 11:27:21
合計ジャッジ時間 2,129 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 14 ms
7,852 KB
testcase_01 AC 14 ms
7,892 KB
testcase_02 AC 14 ms
7,940 KB
testcase_03 AC 15 ms
7,940 KB
testcase_04 AC 16 ms
7,752 KB
testcase_05 AC 15 ms
7,780 KB
testcase_06 AC 15 ms
7,936 KB
testcase_07 AC 15 ms
7,804 KB
testcase_08 AC 15 ms
7,968 KB
testcase_09 AC 20 ms
7,812 KB
testcase_10 AC 16 ms
7,948 KB
testcase_11 AC 22 ms
7,720 KB
testcase_12 RE -
testcase_13 AC 93 ms
12,496 KB
testcase_14 AC 22 ms
7,780 KB
testcase_15 AC 15 ms
7,744 KB
testcase_16 AC 15 ms
7,892 KB
testcase_17 RE -
testcase_18 AC 52 ms
9,216 KB
testcase_19 AC 38 ms
8,632 KB
testcase_20 AC 25 ms
8,232 KB
testcase_21 AC 27 ms
8,592 KB
testcase_22 AC 17 ms
7,768 KB
testcase_23 AC 18 ms
7,784 KB
testcase_24 AC 20 ms
7,848 KB
testcase_25 AC 21 ms
7,880 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

l=lambda x:x[0]if 2>len(x)else l([[0,1,2,3,4,5,6,7,8,9,1,2,3,4,5,6,7,8,9][x[i]+x[i+1]]for i in range(len(x)-1)])
for _ in[0]*int(input()):print(l(list(map(int,input()))))
0