結果
| 問題 | No.933 おまわりさんこいつです |
| コンテスト | |
| ユーザー |
ptotq
|
| 提出日時 | 2019-11-29 22:03:43 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 136 ms / 2,000 ms |
| コード長 | 136 bytes |
| 記録 | |
| コンパイル時間 | 478 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 23,140 KB |
| 最終ジャッジ日時 | 2026-05-15 03:42:19 |
| 合計ジャッジ時間 | 4,158 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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))
ptotq