結果

問題 No.1828 Except 3
ユーザー harapecoharapeco
提出日時 2022-03-11 11:20:48
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 295 bytes
コンパイル時間 461 ms
コンパイル使用メモリ 86,852 KB
実行使用メモリ 76,328 KB
最終ジャッジ日時 2023-10-13 14:31:43
合計ジャッジ時間 3,477 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 71 ms
71,364 KB
testcase_05 AC 71 ms
71,032 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 72 ms
71,164 KB
testcase_17 WA -
testcase_18 WA -
testcase_19 AC 71 ms
71,380 KB
権限があれば一括ダウンロードができます

ソースコード

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