結果
| 問題 | No.723 2つの数の和 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-08-05 11:54:52 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
AC
|
| 実行時間 | 77 ms / 2,000 ms |
| + 396µs | |
| コード長 | 159 bytes |
| 記録 | |
| コンパイル時間 | 58 ms |
| コンパイル使用メモリ | 81,476 KB |
| 実行使用メモリ | 98,672 KB |
| 最終ジャッジ日時 | 2026-07-18 18:13:34 |
| 合計ジャッジ時間 | 3,272 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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