結果
| 問題 | No.2706 One Nafmo | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2024-04-02 21:27:33 | 
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 1,740 bytes | 
| コンパイル時間 | 4,472 ms | 
| コンパイル使用メモリ | 306,308 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-09-30 23:20:03 | 
| 合計ジャッジ時間 | 5,001 ms | 
| ジャッジサーバーID (参考情報) | judge4 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 4 | 
| other | AC * 9 | 
ソースコード
#if __has_include(<atcoder/all>)
#include <atcoder/all>
#endif
#include <bits/stdc++.h>
using namespace std;
using namespace atcoder;
#ifdef LOCAL
#include <debug_print.hpp>
#define debug(...) debug_print::multi_print(#__VA_ARGS__, __VA_ARGS__)
#else
#define debug(...) (static_cast<void>(0))
#endif
#define rep(i, a, n) for (int i = a; i < n; i++)
#define all(x) (x).begin(), (x).end()
typedef long long ll;
typedef unsigned long long ull;
using P = pair<int, int>;
using Point = complex<double>;
#if __has_include(<atcoder/all>)
using mint = modint998244353;
using mint10 = modint1000000007;
#endif
const ll mod = 998244353;
const ll mod10 = 1000000007;
const ll INF = 1LL << 60;
const double EPS = 1e-10;
const int dy[4] = {0, 1, 0, -1};
const int dx[4] = {1, 0, -1, 0};
ll gcd(ll a, ll b) { return b ? gcd(b, a % b) : a; }
ll extgcd(ll a, ll b, ll &x, ll &y) {
  if (b == 0) {
    x = 1;
    y = 0;
    return a;
  }
  ll p = a / b;
  ll g = extgcd(b, a - b * p, y, x);
  y -= p * x;
  return g;
}
ll pow(ll x, ll n) {
  ll ret = 1;
  while (n > 0) {
    if (n & 1)
      ret *= x;
    x *= x;
    n >>= 1;
  }
  return ret;
}
template <class T> inline bool chmin(T &a, T b) {
  if (a > b) {
    a = b;
    return true;
  }
  return false;
}
template <class T> inline bool chmax(T &a, T b) {
  if (a < b) {
    a = b;
    return true;
  }
  return false;
}
struct Edge {
  ll to, cost, rev;
  Edge() {}
  Edge(ll to) : to(to) {}
  Edge(ll to, ll cost) : to(to), cost(cost) {}
  Edge(ll to, ll cost, ll rev) : to(to), cost(cost), rev(rev) {}
};
using Graph = vector<vector<Edge>>;
int main() {
  ios::sync_with_stdio(false);
  std::cin.tie(nullptr);
  int A, B, X;
  cin >> A >> B >> X;
  cout << (X + A - 1) / A * B << endl;
}
            
            
            
        