結果
| 問題 | No.933 おまわりさんこいつです |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-11-30 11:14:59 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 104 ms / 2,000 ms |
| コード長 | 184 bytes |
| 記録 | |
| コンパイル時間 | 167 ms |
| コンパイル使用メモリ | 77,192 KB |
| 最終ジャッジ日時 | 2025-12-04 02:00:54 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 25 |
ソースコード
#yuki933 n=int(raw_input()) p=map(int,raw_input().split()) res=1 f=True for i in p: res*=i res%=9 if not i: f=False if f: if res==0: print 9 else: print res else: print 0