結果
| 問題 |
No.723 2つの数の和
|
| コンテスト | |
| ユーザー |
Konton7
|
| 提出日時 | 2019-05-02 04:53:43 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 161 bytes |
| コンパイル時間 | 338 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 34,480 KB |
| 最終ジャッジ日時 | 2024-12-31 13:03:39 |
| 合計ジャッジ時間 | 57,507 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 4 TLE * 18 |
ソースコード
n, x = [int(v) for v in input().split(" ")]
nlist = [int(v) for v in input().split(" ")]
s = 0
for i in range(n):
s += (nlist.count(x-nlist[i]))
print(s)
Konton7