結果

問題 No.2706 One Nafmo
ユーザー elphe
提出日時 2024-08-11 20:05:50
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 239 bytes
コンパイル時間 567 ms
コンパイル使用メモリ 66,748 KB
最終ジャッジ日時 2025-02-23 22:29:43
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <cstdint>

using namespace std;

int main()
{
	cin.tie(nullptr);
	ios::sync_with_stdio(false);

	uint16_t A, B, X;
	cin >> A >> B >> X;

	cout << B * static_cast<uint32_t>((X + A - 1) / A) << '\n';
	return 0;
}
0