結果

問題 No.1828 Except 3
ユーザー lllllll88938494lllllll88938494
提出日時 2022-08-17 07:29:43
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 49 ms / 2,000 ms
コード長 235 bytes
コンパイル時間 200 ms
コンパイル使用メモリ 82,528 KB
実行使用メモリ 70,272 KB
最終ジャッジ日時 2024-04-14 23:50:17
合計ジャッジ時間 1,754 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 40 ms
59,592 KB
testcase_01 AC 49 ms
70,272 KB
testcase_02 AC 37 ms
53,476 KB
testcase_03 AC 38 ms
52,884 KB
testcase_04 AC 37 ms
52,248 KB
testcase_05 AC 38 ms
53,012 KB
testcase_06 AC 38 ms
52,816 KB
testcase_07 AC 37 ms
52,912 KB
testcase_08 AC 38 ms
52,436 KB
testcase_09 AC 38 ms
52,796 KB
testcase_10 AC 37 ms
53,180 KB
testcase_11 AC 37 ms
52,524 KB
testcase_12 AC 38 ms
52,400 KB
testcase_13 AC 38 ms
53,084 KB
testcase_14 AC 41 ms
59,496 KB
testcase_15 AC 42 ms
60,412 KB
testcase_16 AC 38 ms
51,816 KB
testcase_17 AC 39 ms
52,556 KB
testcase_18 AC 37 ms
53,300 KB
testcase_19 AC 38 ms
52,440 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
a=n-list(map(lambda x:x%3,list(map(int,input().split())))).count(0)
b=n-list(map(lambda x:x%3,list(map(int,input().split())))).count(0)
c=n-list(map(lambda x:x%3,list(map(int,input().split())))).count(0)
print(a * b * c)
0