結果

問題 No.1619 Coccinellidae
ユーザー convexineqconvexineq
提出日時 2021-07-22 22:58:59
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 920 ms / 2,000 ms
コード長 155 bytes
コンパイル時間 1,031 ms
コンパイル使用メモリ 87,208 KB
実行使用メモリ 87,140 KB
最終ジャッジ日時 2023-09-24 18:46:09
合計ジャッジ時間 8,578 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,292 KB
testcase_01 AC 586 ms
84,648 KB
testcase_02 AC 654 ms
86,912 KB
testcase_03 AC 71 ms
71,256 KB
testcase_04 AC 920 ms
87,140 KB
testcase_05 AC 155 ms
82,880 KB
testcase_06 AC 72 ms
71,284 KB
testcase_07 AC 393 ms
82,700 KB
testcase_08 AC 334 ms
81,736 KB
testcase_09 AC 73 ms
71,288 KB
testcase_10 AC 303 ms
81,608 KB
testcase_11 AC 471 ms
83,640 KB
testcase_12 AC 73 ms
71,352 KB
testcase_13 AC 860 ms
86,848 KB
testcase_14 AC 322 ms
86,924 KB
testcase_15 AC 72 ms
71,336 KB
testcase_16 AC 72 ms
71,104 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n,m,k = map(int,input().split())
r = []
for i in range(n):
    v = min(i,k)
    r.insert(i-v,i)
    k -= v
r[r.index(n-1)] += m - sum(r)
print(*r,sep="\n")
0