結果
| 問題 | No.56 消費税 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-09-02 15:23:12 |
| 言語 | C++23 (gcc 15.3.0 + boost 1.92.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 308 bytes |
| 記録 | |
| コンパイル時間 | 1,854 ms |
| コンパイル使用メモリ | 332,964 KB |
| 実行使用メモリ | 9,812 KB |
| 最終ジャッジ日時 | 2026-09-02 15:23:19 |
| 合計ジャッジ時間 | 3,290 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 WA * 1 |
| other | AC * 4 WA * 19 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
using ll=long long;
ll d,p;
void solve()
{
cin>>d>>p;
cout<<round(d*(1.0+(1.0*p)/100))<<'\n';
}
int main()
{
ios::sync_with_stdio(false);cin.tie(NULL);
int tc=1;
// cin>>tc;
while(tc--)solve();
return 0;
}