結果
| 問題 |
No.723 2つの数の和
|
| コンテスト | |
| ユーザー |
Konton7
|
| 提出日時 | 2019-04-30 06:24:23 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
MLE
|
| 実行時間 | - |
| コード長 | 296 bytes |
| コンパイル時間 | 112 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 826,692 KB |
| 最終ジャッジ日時 | 2024-12-26 05:05:48 |
| 合計ジャッジ時間 | 61,168 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 MLE * 1 |
| other | AC * 2 TLE * 2 MLE * 18 |
ソースコード
import math
import copy
n, x = [ int(v) for v in input().split(" ") ]
number_list = [ int(v) for v in input().split(" ") ]
def add(a,b):
return a + b
sumlist = [ list(map(add,number_list,[number_list[i]]*n)) for i in range(n) ]
print( sum( [ sumlist[i].count(x) for i in range(n) ] ) )
Konton7