結果

問題 No.1517 Party Location
ユーザー 齋藤悠輔
提出日時 2021-06-09 20:09:18
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 121 bytes
コンパイル時間 92 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-11-28 20:10:59
合計ジャッジ時間 1,094 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 9 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

d = int(input())
a, b = map(int, input().split())

for x in range(d+1):
    n = ([x*a + (d-x)*b])
    m = min(n)
print(m)
0