結果

問題 No.1828 Except 3
ユーザー kfield1950kfield1950
提出日時 2022-02-03 16:23:32
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 77 ms / 2,000 ms
コード長 282 bytes
コンパイル時間 285 ms
コンパイル使用メモリ 87,208 KB
実行使用メモリ 76,092 KB
最終ジャッジ日時 2023-09-02 03:18:59
合計ジャッジ時間 2,751 ms
ジャッジサーバーID
(参考情報)
judge16 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
75,968 KB
testcase_01 AC 77 ms
75,812 KB
testcase_02 AC 69 ms
71,472 KB
testcase_03 AC 68 ms
71,508 KB
testcase_04 AC 72 ms
71,344 KB
testcase_05 AC 66 ms
71,396 KB
testcase_06 AC 69 ms
71,504 KB
testcase_07 AC 68 ms
71,140 KB
testcase_08 AC 66 ms
71,360 KB
testcase_09 AC 67 ms
71,348 KB
testcase_10 AC 69 ms
71,180 KB
testcase_11 AC 69 ms
71,156 KB
testcase_12 AC 69 ms
71,404 KB
testcase_13 AC 67 ms
71,208 KB
testcase_14 AC 74 ms
76,092 KB
testcase_15 AC 72 ms
75,932 KB
testcase_16 AC 67 ms
71,532 KB
testcase_17 AC 68 ms
71,520 KB
testcase_18 AC 68 ms
71,352 KB
testcase_19 AC 65 ms
71,520 KB
権限があれば一括ダウンロードができます

ソースコード

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