結果

問題 No.1658 Product / Sum
ユーザー chineristACchineristAC
提出日時 2021-08-27 21:32:54
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 73 ms / 2,000 ms
コード長 343 bytes
コンパイル時間 199 ms
コンパイル使用メモリ 82,252 KB
実行使用メモリ 83,204 KB
最終ジャッジ日時 2024-05-01 01:47:37
合計ジャッジ時間 2,620 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 47 ms
56,216 KB
testcase_01 AC 45 ms
56,904 KB
testcase_02 AC 44 ms
56,804 KB
testcase_03 AC 45 ms
56,220 KB
testcase_04 AC 45 ms
56,012 KB
testcase_05 AC 72 ms
83,204 KB
testcase_06 AC 73 ms
83,112 KB
testcase_07 AC 54 ms
68,180 KB
testcase_08 AC 68 ms
81,864 KB
testcase_09 AC 56 ms
70,608 KB
testcase_10 AC 54 ms
69,652 KB
testcase_11 AC 54 ms
67,820 KB
testcase_12 AC 55 ms
69,776 KB
testcase_13 AC 57 ms
72,876 KB
testcase_14 AC 71 ms
83,004 KB
testcase_15 AC 59 ms
74,356 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