結果
| 問題 | No.723 2つの数の和 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-12-30 07:54:09 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 188 bytes |
| 記録 | |
| コンパイル時間 | 59 ms |
| コンパイル使用メモリ | 14,976 KB |
| 実行使用メモリ | 1,310,960 KB |
| 最終ジャッジ日時 | 2026-09-11 04:18:48 |
| 合計ジャッジ時間 | 2,845 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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))