結果

問題 No.1828 Except 3
ユーザー harapeco
提出日時 2022-03-11 11:20:48
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 295 bytes
コンパイル時間 163 ms
コンパイル使用メモリ 82,104 KB
実行使用メモリ 66,816 KB
最終ジャッジ日時 2024-09-15 11:18:03
合計ジャッジ時間 1,807 ms
ジャッジサーバーID
(参考情報)
judge6 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 2
other AC * 2 WA * 14
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
a = list(map(int,input().split()))
b = list(map(int,input().split()))
c = list(map(int,input().split()))
a1,b1,c1 = 0,0,0
for i in a:
    if i % 3 != 0:
        a1 += 1
for j in b:
    if j % 3 == 0:
        b1 += 1
for k in c:
    if k % 3 == 0:
        c1 += 1
print(a1*b1*c1)
0