結果

問題 No.1828 Except 3
ユーザー rin204
提出日時 2022-02-11 20:56:54
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 51 ms / 2,000 ms
コード長 181 bytes
コンパイル時間 164 ms
コンパイル使用メモリ 82,164 KB
実行使用メモリ 66,176 KB
最終ジャッジ日時 2024-06-27 16:08:30
合計ジャッジ時間 1,739 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
ans = 1
for _ in range(3):
    A = list(map(int, input().split()))
    cnt = 0
    for a in A:
        if a % 3 != 0:
            cnt += 1
    ans *= cnt
print(ans)
0