結果
| 問題 | No.723 2つの数の和 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-08-05 11:54:52 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 155 ms / 2,000 ms |
| コード長 | 159 bytes |
| 記録 | |
| コンパイル時間 | 192 ms |
| コンパイル使用メモリ | 77,460 KB |
| 最終ジャッジ日時 | 2025-12-04 01:17:12 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 22 |
ソースコード
#yuki723 import collections n,x=map(int,raw_input().split()) a=map(int,raw_input().split()) c=collections.Counter(a) cnt=0 for b in a: cnt+=c[x-b] print cnt