結果

問題 No.2621 Fee Schedule
ユーザー 👑 AngrySadEightAngrySadEight
提出日時 2024-01-31 00:25:34
言語 C++17(gcc12)
(gcc 12.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 197 bytes
コンパイル時間 634 ms
コンパイル使用メモリ 68,084 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-09-28 13:14:32
合計ジャッジ時間 1,176 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other AC * 2 WA * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;

int main() {
    int A, B, C;
    cin >> A >> B >> C;
    if (A * C >= B) {
        cout << A * C << endl;
    } else {
        cout << B << endl;
    }
}
0