結果
問題 | No.933 おまわりさんこいつです |
ユーザー |
![]() |
提出日時 | 2019-11-29 23:23:11 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 158 bytes |
コンパイル時間 | 170 ms |
コンパイル使用メモリ | 82,228 KB |
実行使用メモリ | 312,392 KB |
最終ジャッジ日時 | 2024-11-20 23:52:22 |
合計ジャッジ時間 | 9,170 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 18 RE * 5 TLE * 2 |
ソースコード
N=int(input()) P=list(map(int,input().split())) A=1 for p in P: A*=p while len(str(A))>1: Q=0 for q in str(A): Q+=int(q) A=Q print(A)