結果
| 問題 |
No.723 2つの数の和
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-12-30 07:38:00 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 146 bytes |
| コンパイル時間 | 173 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 23,124 KB |
| 最終ジャッジ日時 | 2024-10-06 14:53:18 |
| 合計ジャッジ時間 | 4,180 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | TLE * 1 -- * 21 |
ソースコード
n,x=map(int,input().split()) l=list(map(int,input().split())) c=0 for y in set(l): if x-y not in l: continue c+=l.count(y)*l.count(x-y) print(c)