結果

問題 No.723 2つの数の和
ユーザー dango
提出日時 2023-06-16 19:11:07
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 142 bytes
コンパイル時間 238 ms
コンパイル使用メモリ 82,116 KB
実行使用メモリ 265,108 KB
最終ジャッジ日時 2024-06-24 11:10:25
合計ジャッジ時間 4,326 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other TLE * 1 -- * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

import collections
N, X = map(int, input().split())
A = list(map(int, input().split()))
print(sum([collections.Counter(A)[X - i] for i in A]))
0