結果

問題 No.2621 Fee Schedule
ユーザー Vertigo
提出日時 2024-03-19 19:00:34
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 191 bytes
コンパイル時間 840 ms
コンパイル使用メモリ 65,664 KB
最終ジャッジ日時 2025-02-20 07:47:34
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#define ll long long
using namespace std;

int main(){
    ll a,b,c;
    cin >> a >> b >> c;
    if(a*c > b){
        cout << b << endl;
    }else cout << a*c << endl;
}

0