結果
問題 |
No.2621 Fee Schedule
|
ユーザー |
|
提出日時 | 2024-07-11 15:48:36 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 233 bytes |
コンパイル時間 | 234 ms |
コンパイル使用メモリ | 27,264 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-11 15:48:38 |
合計ジャッジ時間 | 1,597 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 9 |
ソースコード
//No.2621 Fee Schedule #include <stdio.h> int main(void){ int a, b, c; scanf("%d %d %d", &a, &b, &c); if(a*c >= b){ printf("%d\n", b); } else{ printf("%d\n", a*c); } return 0; }