結果
| 問題 |
No.1828 Except 3
|
| ユーザー |
|
| 提出日時 | 2022-12-02 03:36:15 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 41 ms / 2,000 ms |
| コード長 | 261 bytes |
| コンパイル時間 | 390 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 12,672 KB |
| 最終ジャッジ日時 | 2024-10-09 07:57:32 |
| 合計ジャッジ時間 | 1,855 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 16 |
ソースコード
N = int(input()) A = list(map(int, input().split())) B = list(map(int, input().split())) C = list(map(int, input().split())) cnt_a = sum(a % 3 != 0 for a in A) cnt_b = sum(b % 3 != 0 for b in B) cnt_c = sum(c % 3 != 0 for c in C) print(cnt_a * cnt_b * cnt_c)