結果

問題 No.1828 Except 3
ユーザー 👑 rin204rin204
提出日時 2022-02-11 20:56:54
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 79 ms / 2,000 ms
コード長 181 bytes
コンパイル時間 349 ms
コンパイル使用メモリ 87,056 KB
実行使用メモリ 76,452 KB
最終ジャッジ日時 2023-09-09 23:43:19
合計ジャッジ時間 2,804 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
76,452 KB
testcase_01 AC 79 ms
76,328 KB
testcase_02 AC 69 ms
71,560 KB
testcase_03 AC 71 ms
71,520 KB
testcase_04 AC 70 ms
71,348 KB
testcase_05 AC 70 ms
71,376 KB
testcase_06 AC 72 ms
71,136 KB
testcase_07 AC 72 ms
71,140 KB
testcase_08 AC 70 ms
71,132 KB
testcase_09 AC 69 ms
71,488 KB
testcase_10 AC 71 ms
71,324 KB
testcase_11 AC 72 ms
71,276 KB
testcase_12 AC 72 ms
71,056 KB
testcase_13 AC 69 ms
71,344 KB
testcase_14 AC 74 ms
76,292 KB
testcase_15 AC 76 ms
76,436 KB
testcase_16 AC 69 ms
71,464 KB
testcase_17 AC 69 ms
71,400 KB
testcase_18 AC 71 ms
71,404 KB
testcase_19 AC 70 ms
71,556 KB
権限があれば一括ダウンロードができます

ソースコード

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