結果

問題 No.2706 One Nafmo
ユーザー くけ
提出日時 2024-03-31 13:32:18
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 328 bytes
コンパイル時間 4,192 ms
コンパイル使用メモリ 251,184 KB
最終ジャッジ日時 2025-02-20 16:14:47
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
#include <atcoder/all>
using namespace std;
using namespace atcoder;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < n; i++)
#define chmin(x, y) x = min(x, y)
#define chmax(x, y) x = max(x, y)

int main(){
   ll a , b ,x ;
   cin >> a >> b >> x ;
   cout << ( a + x - 1 ) / a * b << endl ;
}
0