結果
問題 | No.2621 Fee Schedule |
ユーザー |
|
提出日時 | 2024-05-31 21:40:56 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 308 bytes |
コンパイル時間 | 1,921 ms |
コンパイル使用メモリ | 191,556 KB |
最終ジャッジ日時 | 2025-02-21 17:38:43 |
ジャッジサーバーID (参考情報) |
judge1 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
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,c; cin >> a >> b >> c; cout << min(a*c,b); return 0; }