結果
| 問題 | No.933 おまわりさんこいつです |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-08-21 17:06:27 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 165 bytes |
| 記録 | |
| コンパイル時間 | 747 ms |
| コンパイル使用メモリ | 20,696 KB |
| 実行使用メモリ | 25,496 KB |
| 最終ジャッジ日時 | 2026-05-02 20:28:18 |
| 合計ジャッジ時間 | 12,429 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)