結果
問題 | No.2706 One Nafmo |
ユーザー |
![]() |
提出日時 | 2024-03-31 13:34:34 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 238 bytes |
コンパイル時間 | 2,062 ms |
コンパイル使用メモリ | 192,432 KB |
最終ジャッジ日時 | 2025-02-20 16:19:42 |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 9 |
ソースコード
#include "bits/stdc++.h" using namespace std; #define int long long #define rep(i, n) for (int i = 0; i < n; i++) signed main() { int a, b, x; cin >> a >> b >> x; int p = x / a; if (x % a != 0) p++; cout << p * b << endl; }