結果

問題 No.933 おまわりさんこいつです
ユーザー c0degeek
提出日時 2019-11-29 23:09:51
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 160 bytes
コンパイル時間 425 ms
コンパイル使用メモリ 82,376 KB
実行使用メモリ 313,088 KB
最終ジャッジ日時 2024-11-20 23:50:25
合計ジャッジ時間 9,033 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 23 TLE * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
t=map(int,input().split())
x=1
for i in t:
    x*=i
if x==0:
    print(0)
else:
    x%=9
    if x==0:
        print(9)
    else:
        print(x)
0