結果

問題 No.1828 Except 3
ユーザー ああいいああいい
提出日時 2022-02-02 00:50:41
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 76 ms / 2,000 ms
コード長 296 bytes
コンパイル時間 292 ms
コンパイル使用メモリ 87,036 KB
実行使用メモリ 76,292 KB
最終ジャッジ日時 2023-09-02 02:37:42
合計ジャッジ時間 2,816 ms
ジャッジサーバーID
(参考情報)
judge16 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
75,620 KB
testcase_01 AC 76 ms
76,292 KB
testcase_02 AC 65 ms
70,940 KB
testcase_03 AC 69 ms
71,152 KB
testcase_04 AC 67 ms
71,416 KB
testcase_05 AC 69 ms
70,944 KB
testcase_06 AC 68 ms
71,416 KB
testcase_07 AC 68 ms
70,936 KB
testcase_08 AC 66 ms
71,072 KB
testcase_09 AC 68 ms
71,288 KB
testcase_10 AC 68 ms
71,244 KB
testcase_11 AC 67 ms
71,372 KB
testcase_12 AC 69 ms
71,100 KB
testcase_13 AC 67 ms
71,088 KB
testcase_14 AC 72 ms
75,848 KB
testcase_15 AC 69 ms
75,616 KB
testcase_16 AC 66 ms
71,288 KB
testcase_17 AC 67 ms
71,316 KB
testcase_18 AC 68 ms
71,280 KB
testcase_19 AC 67 ms
71,364 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
A = list(map(int,input().split()))
B = list(map(int,input().split()))
C = list(map(int,input().split()))

a = 0
b = 0
c = 0
for i in A:
    if i % 3 != 0:
        a += 1
for i in B:
    if i % 3 != 0:
        b += 1
for i in C:
    if i % 3 != 0:
        c += 1
print(a * b * c)
0