Problem tourist_noi
User zq
Submission Time 2026-11-09 18:09:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

tourist_noi.cpp: In function ‘int main()’:
tourist_noi.cpp:13:22: error: no match for ‘operator*’ (operand types are ‘std::vector<int>’ and ‘int’)
13 | total += min(trips * cost1, cost2);
| ~~~~~ ^ ~~~~~
| | |
| | int
| std::vector<int>