結果

問題 No.1828 Except 3
ユーザー kfield1950
提出日時 2022-02-03 16:23:32
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 48 ms / 2,000 ms
コード長 282 bytes
コンパイル時間 284 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 65,664 KB
最終ジャッジ日時 2024-06-11 09:57:02
合計ジャッジ時間 1,792 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
a = list(map(int,input().split()))
b = list(map(int,input().split()))
c = list(map(int,input().split()))


def check(a):
    cnt = 0
    for i in range(len(a)):
        if a[i]%3 != 0:
            cnt += 1
    return cnt

ans = check(a)*check(b)*check(c)
print(ans)
0