結果

問題 No.1828 Except 3
ユーザー H3PO4
提出日時 2022-02-01 20:17:08
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 37 ms / 2,000 ms
コード長 128 bytes
コンパイル時間 117 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 11,648 KB
最終ジャッジ日時 2024-06-11 09:12:37
合計ジャッジ時間 1,329 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
ans = 1
for _ in range(3):
    X = map(int, input().split())
    ans *= sum(bool(x % 3) for x in X)
print(ans)
0