結果

問題 No.445 得点
ユーザー taktak
提出日時 2018-09-09 14:37:18
言語 F#
(F# 4.0)
結果
AC  
実行時間 61 ms / 2,000 ms
コード長 197 bytes
コンパイル時間 4,136 ms
コンパイル使用メモリ 158,196 KB
実行使用メモリ 24,212 KB
最終ジャッジ日時 2023-09-13 19:46:31
合計ジャッジ時間 5,657 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 61 ms
24,116 KB
testcase_01 AC 59 ms
22,068 KB
testcase_02 AC 60 ms
20,164 KB
testcase_03 AC 58 ms
22,152 KB
testcase_04 AC 58 ms
22,152 KB
testcase_05 AC 58 ms
22,144 KB
testcase_06 AC 59 ms
22,252 KB
testcase_07 AC 59 ms
22,164 KB
testcase_08 AC 58 ms
22,172 KB
testcase_09 AC 59 ms
24,120 KB
testcase_10 AC 59 ms
24,176 KB
testcase_11 AC 59 ms
24,124 KB
testcase_12 AC 58 ms
24,212 KB
testcase_13 AC 58 ms
24,184 KB
testcase_14 AC 59 ms
24,168 KB
testcase_15 AC 58 ms
22,180 KB
testcase_16 AC 58 ms
22,136 KB
testcase_17 AC 58 ms
22,168 KB
testcase_18 AC 58 ms
22,184 KB
testcase_19 AC 58 ms
20,028 KB
testcase_20 AC 59 ms
22,200 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

let R() =stdin.ReadLine()

let f n k = 
    let a = int(50 * n) 
    let b = (250 * n) / (4 + k)
    a + b

let a,b = let t = R().Split() |> Array.map int in t.[0], t.[1]

f a b |> stdout.WriteLine
0