結果

問題 No.2706 One Nafmo
ユーザー vjudge1
提出日時 2024-04-21 00:14:28
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 168 bytes
コンパイル時間 750 ms
コンパイル使用メモリ 66,084 KB
最終ジャッジ日時 2025-02-21 07:33:58
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 7 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;

int main()
{
    int a,b,x,ans;
    cin>>a>>b>>x;
    ans=b*(x/a);
    if(x/a<x) ans+=b;
    cout<<ans<<endl;
    return 0;
}
0