Problem | construct |
---|---|
User | bakchormee |
Submission Time | 2024-05-26 20:57:59 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
construct.cpp: In function ‘int main()’:
construct.cpp:30:16: error: invalid operands of types ‘__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type’ {aka ‘long long int’} and ‘double’ to binary ‘operator%’
30 | dp[j][i] %= INF;
construct.cpp:4:17: error: in evaluation of ‘operator%=(__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type {aka long long int}, double)’
4 | #define INF 1e9+7
| ^
construct.cpp:30:19: note: in expansion of macro ‘INF’
30 | dp[j][i] %= INF;
| ^~~
construct.cpp:35:11: error: invalid operands of types ‘__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type’ {aka ‘long long int’} and ‘double’ to binary ‘operator%’
35 | sum[i] %= INF;
construct.cpp:4:17: error: in evaluation of ‘operator%=(__gnu_cxx::__alloc_traits<std::allocat