結果
| 問題 | No.2706 One Nafmo |
| コンテスト | |
| ユーザー |
rotti_coder
|
| 提出日時 | 2024-03-31 13:31:47 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 176 bytes |
| 記録 | |
| コンパイル時間 | 401 ms |
| コンパイル使用メモリ | 88,364 KB |
| 実行使用メモリ | 11,924 KB |
| 最終ジャッジ日時 | 2026-07-04 07:52:39 |
| 合計ジャッジ時間 | 1,250 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 9 |
ソースコード
#include<iostream>
#include<vector>
using namespace std;
int main()
{
int a,b,x;
cin >> a >> b >> x;
if(x%a==0)cout << x/a*b << endl;
else cout << (x/a+1)*b << endl;
}
rotti_coder