結果
| 問題 | No.2706 One Nafmo |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-04-09 14:51:58 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 462 bytes |
| 記録 | |
| コンパイル時間 | 1,133 ms |
| コンパイル使用メモリ | 211,268 KB |
| 実行使用メモリ | 11,944 KB |
| 最終ジャッジ日時 | 2026-07-04 11:08:59 |
| 合計ジャッジ時間 | 1,827 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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;
}