結果
| 問題 |
No.1828 Except 3
|
| ユーザー |
|
| 提出日時 | 2022-03-19 12:59:21 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 58 ms / 2,000 ms |
| コード長 | 444 bytes |
| コンパイル時間 | 222 ms |
| コンパイル使用メモリ | 82,268 KB |
| 実行使用メモリ | 66,944 KB |
| 最終ジャッジ日時 | 2024-10-04 10:08:18 |
| 合計ジャッジ時間 | 1,926 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 16 |
ソースコード
#!/usr/bin/env python3
def main():
N = int(input())
A = list(map(int, input().split()))
B = list(map(int, input().split()))
C = list(map(int, input().split()))
la, lb, lc = 0, 0, 0
for aa, bb, cc in zip(A, B, C):
if aa % 3 != 0:
la += 1
if bb % 3 != 0:
lb += 1
if cc % 3 != 0:
lc += 1
print(la * lb * lc)
return
if __name__ == '__main__':
main()