結果

問題 No.1658 Product / Sum
ユーザー chineristACchineristAC
提出日時 2021-08-27 21:32:54
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 141 ms / 2,000 ms
コード長 343 bytes
コンパイル時間 273 ms
コンパイル使用メモリ 87,300 KB
実行使用メモリ 87,180 KB
最終ジャッジ日時 2023-08-13 08:06:40
合計ジャッジ時間 4,726 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 114 ms
74,844 KB
testcase_01 AC 116 ms
74,800 KB
testcase_02 AC 117 ms
75,072 KB
testcase_03 AC 117 ms
74,492 KB
testcase_04 AC 118 ms
74,740 KB
testcase_05 AC 141 ms
87,024 KB
testcase_06 AC 140 ms
87,180 KB
testcase_07 AC 126 ms
79,936 KB
testcase_08 AC 138 ms
85,936 KB
testcase_09 AC 126 ms
81,100 KB
testcase_10 AC 125 ms
80,764 KB
testcase_11 AC 125 ms
79,896 KB
testcase_12 AC 126 ms
80,784 KB
testcase_13 AC 126 ms
81,540 KB
testcase_14 AC 141 ms
87,008 KB
testcase_15 AC 130 ms
81,696 KB
権限があれば一括ダウンロードができます

ソースコード

diff #


import sys,random,bisect
from collections import deque,defaultdict
from heapq import heapify,heappop,heappush
from itertools import permutations
from math import gcd,log

input = lambda :sys.stdin.readline().rstrip()
mi = lambda :map(int,input().split())
li = lambda :list(mi())


N,K = mi()
A = [1] * (N-2) + [K+1] + [K*(N-2+K+1)]
print(*A)
0