結果

問題 No.2621 Fee Schedule
ユーザー hals
提出日時 2024-02-28 02:26:59
言語 Julia
(2.11.2)
結果
AC  
実行時間 303 ms / 2,000 ms
コード長 450 bytes
コンパイル時間 188 ms
コンパイル使用メモリ 6,820 KB
実行使用メモリ 246,188 KB
最終ジャッジ日時 2024-10-01 17:45:03
合計ジャッジ時間 4,605 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

function main()
    a, b, c = int(inputs())
    println(min(a * c, b))
end
# --------input func----------
input() = readline()
inputs() = split(readline())
int(s::AbstractChar) = parse(Int, s)
int(s::AbstractString) = parse(Int, s)
int(v::AbstractArray) = map(x -> parse(Int, x), v)
debug(x...) = println(stderr, x...)
isfile("myinput.txt") && (mystdin = open("myinput.txt", "r"); redirect_stdin(mystdin))
main()
@isdefined(mystdin) && close(mystdin)
0