結果
| 問題 | No.933 おまわりさんこいつです |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-08-21 17:06:27 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 165 bytes |
| 記録 | |
| コンパイル時間 | 102 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 21,816 KB |
| 最終ジャッジ日時 | 2024-10-15 03:57:40 |
| 合計ジャッジ時間 | 4,192 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 7 WA * 18 |
ソースコード
N = int(input())
P = list(map(int,input().split()))
ans = 1
for p in P:
if p == 0:
continue
if p%9 == 0:
ans *= 9
continue
ans *= p%9
print(ans%9)