結果
| 問題 | No.2706 One Nafmo | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2024-04-09 14:51:58 | 
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 462 bytes | 
| コンパイル時間 | 1,642 ms | 
| コンパイル使用メモリ | 194,092 KB | 
| 最終ジャッジ日時 | 2025-02-20 23:21:56 | 
| ジャッジサーバーID (参考情報) | judge3 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 4 | 
| other | AC * 9 | 
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for(int i=0; i<n; i++)
#define debug 0
#define YES cout << "Yes" << endl;
#define NO cout << "No" << endl;
using ll = long long;
using ld = long double;
const int mod = 998244353;
const int MOD = 1000000007;
const double pi = atan2(0, -1);
#include <time.h>
#include <chrono>
int main() {
	double a, b, x;
	cin >> a >> b >> x;
	cout << fixed << setprecision(0);
	cout << ceil(x / a) * b << endl;
}
            
            
            
        