結果

問題 No.1658 Product / Sum
ユーザー tcltktcltk
提出日時 2021-10-17 05:41:57
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 158 ms / 2,000 ms
コード長 411 bytes
コンパイル時間 1,444 ms
コンパイル使用メモリ 81,296 KB
実行使用メモリ 92,784 KB
最終ジャッジ日時 2023-10-17 22:22:59
合計ジャッジ時間 6,073 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 130 ms
85,908 KB
testcase_01 AC 129 ms
85,912 KB
testcase_02 AC 130 ms
85,920 KB
testcase_03 AC 131 ms
85,908 KB
testcase_04 AC 128 ms
85,912 KB
testcase_05 AC 158 ms
92,696 KB
testcase_06 AC 153 ms
92,784 KB
testcase_07 AC 140 ms
88,564 KB
testcase_08 AC 150 ms
91,992 KB
testcase_09 AC 143 ms
89,496 KB
testcase_10 AC 141 ms
89,212 KB
testcase_11 AC 142 ms
88,572 KB
testcase_12 AC 144 ms
89,256 KB
testcase_13 AC 148 ms
89,788 KB
testcase_14 AC 153 ms
92,780 KB
testcase_15 AC 146 ms
90,008 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env python3
# from typing import *

import sys
import io
import math
import collections
import decimal
import itertools
import bisect
import heapq


def input():
    return sys.stdin.readline()[:-1]


# sys.setrecursionlimit(1000000)

# _INPUT = """# paste here...
# """
# sys.stdin = io.StringIO(_INPUT)

INF = 10**10


N, K = map(int, input().split())

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