結果
| 問題 | No.933 おまわりさんこいつです |
| コンテスト | |
| ユーザー |
usayomo
|
| 提出日時 | 2019-11-29 22:41:18 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 196 bytes |
| 記録 | |
| コンパイル時間 | 538 ms |
| コンパイル使用メモリ | 20,576 KB |
| 実行使用メモリ | 31,512 KB |
| 最終ジャッジ日時 | 2026-05-15 05:04:42 |
| 合計ジャッジ時間 | 8,012 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 18 RE * 5 TLE * 1 -- * 1 |
ソースコード
N = int(input())
P = list(map(int, input().split()))
K = 1
for p in P:
K *= p
age = sum(list(map(int, str(K))))
while len(str(age)) > 1:
age = sum(list(map(int, str(age))))
print(age)
usayomo