結果
| 問題 |
No.1828 Except 3
|
| ユーザー |
lam6er
|
| 提出日時 | 2025-03-20 18:38:05 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 50 ms / 2,000 ms |
| コード長 | 287 bytes |
| コンパイル時間 | 349 ms |
| コンパイル使用メモリ | 81,988 KB |
| 実行使用メモリ | 68,848 KB |
| 最終ジャッジ日時 | 2025-03-20 18:38:07 |
| 合計ジャッジ時間 | 1,799 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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())) count_a = sum(1 for x in a if x % 3 != 0) count_b = sum(1 for x in b if x % 3 != 0) count_c = sum(1 for x in c if x % 3 != 0) print(count_a * count_b * count_c)
lam6er