結果
問題 |
No.2621 Fee Schedule
|
ユーザー |
![]() |
提出日時 | 2024-02-16 21:57:29 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 336 bytes |
コンパイル時間 | 226 ms |
コンパイル使用メモリ | 40,388 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-09-28 20:13:38 |
合計ジャッジ時間 | 773 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 9 |
ソースコード
/* -*- coding: utf-8 -*- * * 2621.cc: No.2621 Fee Schedule - yukicoder */ #include<cstdio> #include<algorithm> using namespace std; /* constant */ /* typedef */ /* global variables */ /* subroutines */ /* main */ int main() { int a, b, c; scanf("%d%d%d", &a, &b, &c); printf("%d\n", min(a * c, b)); return 0; }