結果
問題 |
No.2706 One Nafmo
|
ユーザー |
|
提出日時 | 2024-05-31 21:13:06 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 309 bytes |
コンパイル時間 | 1,923 ms |
コンパイル使用メモリ | 191,112 KB |
最終ジャッジ日時 | 2025-02-21 17:22:15 |
ジャッジサーバーID (参考情報) |
judge2 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 9 |
ソースコード
#include<bits/stdc++.h> #define pt printf(">>>") #define mid (((l)+(r))/2) using namespace std; typedef long long ll; typedef long double ld; const ll N=1e6+10,inf=1e18+10,mod=1e9+7; const ll dir[4][2]={{1,0},{-1,0},{0,1},{0,-1}}; int main(){ ll a,b,x; cin >> a >> b >> x; cout << (x+a-1)/a*b; return 0; }