結果
問題 | No.1828 Except 3 |
ユーザー |
|
提出日時 | 2023-05-06 01:05:35 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 51 ms / 2,000 ms |
コード長 | 284 bytes |
コンパイル時間 | 224 ms |
コンパイル使用メモリ | 82,816 KB |
実行使用メモリ | 67,064 KB |
最終ジャッジ日時 | 2024-11-23 13:44:41 |
合計ジャッジ時間 | 2,027 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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()))ca = 0cb = 0cc = 0for a in A:if a%3!=0:ca+=1for b in B:if b%3!=0:cb+=1for c in C:if c%3!=0:cc+=1print(ca*cb*cc)