結果
| 問題 | No.933 おまわりさんこいつです |
| コンテスト | |
| ユーザー |
izumo
|
| 提出日時 | 2019-11-29 23:08:18 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 298 bytes |
| 記録 | |
| コンパイル時間 | 533 ms |
| コンパイル使用メモリ | 20,696 KB |
| 実行使用メモリ | 44,136 KB |
| 最終ジャッジ日時 | 2026-05-15 05:24:29 |
| 合計ジャッジ時間 | 17,860 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 WA * 14 RE * 2 |
ソースコード
import sys
import numpy as np
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
n=int(input())
p=list(map(int, input().split()))
k=np.prod(np.array(p, dtype='int64'))
while not len(str(k))==1:
k=sum(list(map(int, str(k))))
print(k)
izumo