結果

問題 No.1619 Coccinellidae
ユーザー convexineqconvexineq
提出日時 2021-07-22 22:51:41
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 161 bytes
コンパイル時間 479 ms
コンパイル使用メモリ 87,124 KB
実行使用メモリ 87,044 KB
最終ジャッジ日時 2023-09-24 18:31:31
合計ジャッジ時間 9,273 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,052 KB
testcase_01 WA -
testcase_02 AC 655 ms
86,988 KB
testcase_03 AC 72 ms
71,028 KB
testcase_04 WA -
testcase_05 AC 158 ms
82,564 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 340 ms
81,940 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 AC 473 ms
83,664 KB
testcase_12 AC 71 ms
71,488 KB
testcase_13 WA -
testcase_14 AC 328 ms
86,840 KB
testcase_15 AC 77 ms
71,436 KB
testcase_16 AC 78 ms
71,324 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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