結果

問題 No.2706 One Nafmo
ユーザー a1048576
提出日時 2024-04-06 19:00:48
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 200 bytes
コンパイル時間 1,336 ms
コンパイル使用メモリ 164,696 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-10-01 03:59:39
合計ジャッジ時間 1,878 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main() {
  int a,b,x;
  cin >> a >> b >> x;
  int ans = 0;
  while(x > 0) {
    x-=a;
    ans+=b;
  }
  cout << ans << endl;
}
0