結果

問題 No.1828 Except 3
ユーザー dangodango
提出日時 2023-06-13 19:20:36
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 88 ms / 2,000 ms
コード長 307 bytes
コンパイル時間 969 ms
コンパイル使用メモリ 86,700 KB
実行使用メモリ 76,020 KB
最終ジャッジ日時 2023-09-04 05:42:04
合計ジャッジ時間 3,904 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
75,488 KB
testcase_01 AC 88 ms
76,020 KB
testcase_02 AC 73 ms
71,088 KB
testcase_03 AC 73 ms
71,096 KB
testcase_04 AC 72 ms
71,228 KB
testcase_05 AC 72 ms
71,268 KB
testcase_06 AC 75 ms
71,340 KB
testcase_07 AC 77 ms
71,396 KB
testcase_08 AC 77 ms
71,108 KB
testcase_09 AC 74 ms
71,316 KB
testcase_10 AC 73 ms
70,856 KB
testcase_11 AC 72 ms
71,036 KB
testcase_12 AC 73 ms
70,860 KB
testcase_13 AC 73 ms
71,200 KB
testcase_14 AC 79 ms
75,464 KB
testcase_15 AC 77 ms
75,752 KB
testcase_16 AC 73 ms
71,268 KB
testcase_17 AC 75 ms
71,320 KB
testcase_18 AC 73 ms
71,168 KB
testcase_19 AC 72 ms
71,180 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
A = list(map(int,input().split()))
B = list(map(int,input().split()))
C = list(map(int,input().split()))
a, b, c = 0, 0, 0
for i in range(N):
  if A[i] % 3 != 0:
    a += 1
for i in range(N):
  if B[i] % 3 != 0:
    b += 1
for i in range(N):
  if C[i] % 3 != 0:
    c += 1
print(a * b * c)
0