結果
| 問題 | No.723 2つの数の和 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-12-30 07:54:09 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 188 bytes |
| 記録 | |
| コンパイル時間 | 523 ms |
| コンパイル使用メモリ | 20,956 KB |
| 実行使用メモリ | 1,311,668 KB |
| 最終ジャッジ日時 | 2026-04-22 19:22:13 |
| 合計ジャッジ時間 | 4,760 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | MLE * 2 -- * 20 |
ソースコード
import itertools as it n,x=map(int,input().split()) l=list(map(int,input().split())) a=list(it.combinations_with_replacement(l,2)) a=[y for y in a if sum(y)==x] print(len(a)*2-(x//2 in l))