結果

問題 No.48 ロボットの操縦
ユーザー Vertigo
提出日時 2024-04-01 16:14:43
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 282 bytes
コンパイル時間 826 ms
コンパイル使用メモリ 76,760 KB
最終ジャッジ日時 2025-02-20 18:56:14
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 1 WA * 24
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <cmath>
#define ll long long

using namespace std;

int main() {
    ll n, m;
    float res = 0;
    ll cnt = 0, k = 0;
    cin >> n >> m;
    res = static_cast<float>(m) / 100;
    cnt = res * n;
    k = cnt + n;
    cout << k << endl;
    return 0;
}
0