結果

問題 No.56 消費税
ユーザー test
提出日時 2017-06-05 22:55:39
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 235 bytes
コンパイル時間 422 ms
コンパイル使用メモリ 55,204 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-09-22 07:06:07
合計ジャッジ時間 1,259 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 4
other WA * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <string>

using namespace std;

int main() {
  int d, p;

  cin >> d >> p;

  // 整数と文字列を空白で区切って、標準出力に書き出す。
  cout << (int)(d*p/100) << endl;

  return 0;
}
0