結果

問題 No.56 消費税
ユーザー Mizuno
提出日時 2024-09-28 10:57:28
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 196 bytes
コンパイル時間 657 ms
コンパイル使用メモリ 66,688 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-09-28 10:57:29
合計ジャッジ時間 1,571 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 19 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
#include <iostream>
#include <string>
#include <map>
using namespace std;

int main(void) {
    int d;
    float p;
    cin >> d >> p;
    
    cout << int(d + d * (p / 100));
}
0