結果

問題 No.445 得点
ユーザー taktak
提出日時 2018-09-09 14:34:14
言語 F#
(F# 4.0)
結果
WA  
実行時間 -
コード長 211 bytes
コンパイル時間 4,959 ms
コンパイル使用メモリ 154,148 KB
実行使用メモリ 23,936 KB
最終ジャッジ日時 2023-08-24 22:16:34
合計ジャッジ時間 6,923 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 58 ms
23,708 KB
testcase_01 AC 57 ms
21,592 KB
testcase_02 AC 58 ms
21,784 KB
testcase_03 AC 58 ms
21,616 KB
testcase_04 AC 57 ms
23,712 KB
testcase_05 AC 58 ms
21,856 KB
testcase_06 AC 59 ms
23,936 KB
testcase_07 AC 58 ms
21,792 KB
testcase_08 AC 57 ms
19,652 KB
testcase_09 AC 57 ms
21,644 KB
testcase_10 AC 59 ms
23,836 KB
testcase_11 AC 58 ms
21,788 KB
testcase_12 AC 58 ms
21,764 KB
testcase_13 AC 58 ms
21,784 KB
testcase_14 AC 58 ms
23,784 KB
testcase_15 AC 57 ms
21,708 KB
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 57 ms
21,648 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 = int((50. * n)/(0.8 + 0.2 * k))
    a + b

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

f a b |> stdout.WriteLine
0