結果
| 問題 | No.933 おまわりさんこいつです |
| コンテスト | |
| ユーザー |
kagasan
|
| 提出日時 | 2020-04-19 20:52:13 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 278 bytes |
| 記録 | |
| コンパイル時間 | 76 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 26,476 KB |
| 最終ジャッジ日時 | 2024-10-06 08:02:44 |
| 合計ジャッジ時間 | 8,347 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 23 TLE * 2 |
ソースコード
# coding: utf-8
# Your code here!
def ketawa(x):
while x > 9:
y = 0
while x > 0:
y += (x % 10)
x = x // 10
x = y
return x
N = int(input())
X = 1
P = input().split()
for i in P:
X = X * ketawa(int(i))
print(ketawa(X))
kagasan