結果
問題 | No.933 おまわりさんこいつです |
ユーザー | ptotq |
提出日時 | 2019-11-29 22:03:43 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 94 ms / 2,000 ms |
コード長 | 136 bytes |
コンパイル時間 | 107 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 20,604 KB |
最終ジャッジ日時 | 2024-11-20 22:18:12 |
合計ジャッジ時間 | 2,001 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 25 |
ソースコード
from functools import reduce N = int(input()) print(reduce(lambda x, y: x * y % 9 or (x > 0 and y > 0)*9, map(int, input().split()), 1))