| Problem | tourist_noi |
|---|---|
| User | Kelly25 |
| Submission Time | 2025-01-01 15:52:50 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
tourist_noi.cpp:2:7: error: invalid preprocessing directive #dp
2 | # dp[i] will store the minimum cost for the first i days
| ^~
tourist_noi.cpp:5:7: error: invalid preprocessing directive #Initialize
5 | # Initialize dp[0] to 0 because no trips means no cost
| ^~~~~~~~~~
tourist_noi.cpp:7:11: error: invalid preprocessing directive #Option
7 | # Option 1: Use single trip tickets for the i-th day
| ^~~~~~
tourist_noi.cpp:8:51: error: stray ‘#’ in program
8 | dp[i] = dp[i - 1] + min(a[i - 1] * x, y) # a[i-1] trips on day i
| ^
tourist_noi.cpp:12:3: error: invalid preprocessing directive #Input
12 | # Input Reading
| ^~~~~
tourist_noi.cpp:13:38: error: stray ‘#’ in program
13 | n, x, y = map(int, input().split()) # Number of days, single ticket price, day pass price
|