Problem tourist_noi
User WANCH5789W
Submission Time 2026-02-19 18:38:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

tourist_noi.cpp: In function ‘int main()’:
tourist_noi.cpp:19:23: error: no match for ‘operator*’ (operand types are ‘long long int’ and ‘std::vector<long long int>’)
19 | cost += min (price_x * trips, price_y);
| ~~~~~~~ ^ ~~~~~
| | |
| | std::vector<long long int>
| long long int