結果

問題 No.1658 Product / Sum
ユーザー とりゐとりゐ
提出日時 2021-08-27 21:34:53
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 61 ms / 2,000 ms
コード長 92 bytes
コンパイル時間 159 ms
コンパイル使用メモリ 82,512 KB
実行使用メモリ 79,808 KB
最終ジャッジ日時 2024-05-01 01:50:50
合計ジャッジ時間 2,460 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 36 ms
52,824 KB
testcase_01 AC 36 ms
51,752 KB
testcase_02 AC 36 ms
52,836 KB
testcase_03 AC 40 ms
51,936 KB
testcase_04 AC 35 ms
52,740 KB
testcase_05 AC 61 ms
79,808 KB
testcase_06 AC 60 ms
79,656 KB
testcase_07 AC 46 ms
64,932 KB
testcase_08 AC 58 ms
79,044 KB
testcase_09 AC 48 ms
65,596 KB
testcase_10 AC 46 ms
64,668 KB
testcase_11 AC 46 ms
64,068 KB
testcase_12 AC 49 ms
65,604 KB
testcase_13 AC 49 ms
67,860 KB
testcase_14 AC 61 ms
79,260 KB
testcase_15 AC 50 ms
69,568 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n,k=map(int,input().split())
ans=[1]*(n-2)
ans.append(k+1)
ans.append(k*k+k*n-k)
print(*ans)
0