Problem trains
User Haocheng
Submission Time 2024-11-14 16:02:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

trains.cpp: In function ‘int32_t main()’:
trains.cpp:7:12: error: ‘sync_with_studio’ is not a member of ‘std::ios_base’
7 | ios_base::sync_with_studio(false);cin.tie(0);cout.tie(0);
| ^~~~~~~~~~~~~~~~
trains.cpp:11:15: error: invalid operands of types ‘long long int*’ and ‘double’ to binary ‘operator+’
11 | fill(dp, dp+n+1. 1e9+78);
| ~~~~^~~
| | |
| | double
| long long int*