結果

問題 No.1828 Except 3
ユーザー lllllll88938494
提出日時 2022-08-17 07:29:43
言語 PyPy3
(8.0.0 + ACL)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
AC  
実行時間 34 ms / 2,000 ms
+ 185µs
コード長 235 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 937 ms
コンパイル使用メモリ 81,152 KB
実行使用メモリ 71,808 KB
最終ジャッジ日時 2026-09-10 00:51:08
合計ジャッジ時間 3,461 ms
ジャッジサーバーID
(参考情報)
judge2_0 / judge3_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

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