結果

問題 No.1658 Product / Sum
ユーザー 👑 H20H20
提出日時 2021-08-27 22:05:31
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 97 ms / 2,000 ms
コード長 92 bytes
コンパイル時間 1,218 ms
コンパイル使用メモリ 87,152 KB
実行使用メモリ 80,072 KB
最終ジャッジ日時 2023-08-13 09:03:41
合計ジャッジ時間 5,176 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,276 KB
testcase_01 AC 72 ms
71,128 KB
testcase_02 AC 73 ms
71,296 KB
testcase_03 AC 73 ms
71,284 KB
testcase_04 AC 73 ms
71,112 KB
testcase_05 AC 97 ms
79,980 KB
testcase_06 AC 91 ms
80,072 KB
testcase_07 AC 84 ms
76,576 KB
testcase_08 AC 91 ms
79,344 KB
testcase_09 AC 81 ms
77,200 KB
testcase_10 AC 80 ms
76,668 KB
testcase_11 AC 80 ms
76,440 KB
testcase_12 AC 83 ms
77,048 KB
testcase_13 AC 84 ms
77,104 KB
testcase_14 AC 92 ms
79,768 KB
testcase_15 AC 85 ms
77,600 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,K = map(int, input().split())
L = [1]*N
L[0] = (K+1)**2-(K+1)+(N-2)*K
L[1] = K+1
print(*L)
0