結果
| 問題 |
No.1517 Party Location
|
| コンテスト | |
| ユーザー |
A63295
|
| 提出日時 | 2021-05-28 22:06:44 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 326 bytes |
| コンパイル時間 | 1,103 ms |
| コンパイル使用メモリ | 68,480 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-06-11 10:54:49 |
| 合計ジャッジ時間 | 1,182 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 13 |
ソースコード
#include <iostream>
#include <vector>
using namespace std;
#define rep(i,a,n) for (int i = 0; i < n; i++)
int rp() {
int n;
cin >> n;
return n;
}
vector<int> input(int n) {
vector<int>vec(n);
rep(i, 0, n) {
vec.at(i) = rp();
}
return vec;
}
int main() {
int d = rp(), a = rp(), b = rp();
cout << d * min(a, b);
}
A63295