結果

問題 No.56 消費税
ユーザー Maboy
提出日時 2021-06-02 18:35:42
言語 Swift
(6.0.3)
結果
WA  
実行時間 -
コード長 139 bytes
コンパイル時間 10,576 ms
コンパイル使用メモリ 128,220 KB
実行使用メモリ 9,344 KB
最終ジャッジ日時 2024-11-15 13:26:25
合計ジャッジ時間 12,059 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3 WA * 1
other AC * 13 WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

let input = readLine()!.split(separator: " ").map{Int($0)}
let D = input[0]
let P = Double(input[1]!) * 0.01 + 1
print(Int(Double(D!) * P))
0