結果

問題 No.2621 Fee Schedule
ユーザー halshals
提出日時 2024-02-28 02:26:59
言語 Julia
(1.10.2)
結果
AC  
実行時間 301 ms / 2,000 ms
コード長 450 bytes
コンパイル時間 47 ms
コンパイル使用メモリ 6,944 KB
実行使用メモリ 246,964 KB
最終ジャッジ日時 2024-04-09 14:35:31
合計ジャッジ時間 4,652 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 301 ms
246,964 KB
testcase_01 AC 296 ms
244,556 KB
testcase_02 AC 296 ms
244,564 KB
testcase_03 AC 294 ms
246,320 KB
testcase_04 AC 297 ms
244,712 KB
testcase_05 AC 292 ms
245,060 KB
testcase_06 AC 292 ms
245,340 KB
testcase_07 AC 293 ms
246,428 KB
testcase_08 AC 291 ms
244,600 KB
testcase_09 AC 294 ms
241,920 KB
testcase_10 AC 298 ms
244,692 KB
testcase_11 AC 292 ms
242,916 KB
権限があれば一括ダウンロードができます

ソースコード

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