結果

問題 No.933 おまわりさんこいつです
ユーザー tyawanmusityawanmusi
提出日時 2019-11-29 22:15:13
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 127 bytes
コンパイル時間 179 ms
コンパイル使用メモリ 82,104 KB
実行使用メモリ 268,196 KB
最終ジャッジ日時 2024-05-01 00:31:29
合計ジャッジ時間 6,088 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
60,572 KB
testcase_01 AC 40 ms
52,540 KB
testcase_02 AC 40 ms
52,808 KB
testcase_03 AC 40 ms
52,488 KB
testcase_04 AC 39 ms
52,204 KB
testcase_05 AC 38 ms
52,408 KB
testcase_06 AC 38 ms
52,708 KB
testcase_07 AC 39 ms
52,532 KB
testcase_08 AC 41 ms
53,320 KB
testcase_09 AC 38 ms
52,988 KB
testcase_10 AC 39 ms
53,880 KB
testcase_11 AC 43 ms
58,472 KB
testcase_12 AC 43 ms
58,596 KB
testcase_13 RE -
testcase_14 RE -
testcase_15 RE -
testcase_16 RE -
testcase_17 AC 70 ms
85,940 KB
testcase_18 AC 39 ms
52,524 KB
testcase_19 AC 160 ms
89,184 KB
testcase_20 RE -
testcase_21 AC 37 ms
53,088 KB
testcase_22 AC 37 ms
52,700 KB
testcase_23 TLE -
testcase_24 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
p=list(map(int,input().split()))
a=1
for i in p:a*=i
while a>9:
  b=0
  for i in str(a):b+=int(i)
  a=b
print(a)
0