Problem | truck |
---|---|
User | kanaye |
Submission Time | 2023-01-22 14:50:45 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
truck.cpp: In function ‘void solve(num, num, std::vector<std::vector<long long int> >, City_t, num)’:
truck.cpp:85:18: error: invalid operands of types ‘num’ {aka ‘long long int’} and ‘__gnu_cxx::__promote_2<int, int, double, double>::__type’ {aka ‘double’} to binary ‘operator%’
85 | cout << fuel % (pow(10,9) + 7) << endl;
| ~~~~ ^ ~~~~~~~~~~~~~~~
| | |
| | __gnu_cxx::__promote_2<int, int, double, double>::__type {aka double}
| num {aka long long int}