結果
問題 | No.56 消費税 |
ユーザー | t_murano |
提出日時 | 2014-11-25 17:51:14 |
言語 | C++11 (gcc 13.3.0) |
結果 |
WA
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 241 bytes |
コンパイル時間 | 383 ms |
コンパイル使用メモリ | 60,104 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-18 01:47:23 |
合計ジャッジ時間 | 1,111 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 22 WA * 1 |
ソースコード
#include <iostream> #include <vector> #include <algorithm> #define REP(i,n) for(int i=0;i<n;i++) using namespace std; int main() { int d, p; cin >> d >> p; cout << (int)(d * (p/100.0)) + d << endl; return 0; }