Problem flybot
User polyda
Submission Time 2024-11-03 10:55:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flybot.cpp: In function ‘int main()’:
flybot.cpp:17:16: error: invalid operands of types ‘__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type’ {aka ‘int’} and ‘double’ to binary ‘operator%’
17 | b[i][j]%=1e9+7;
flybot.cpp:17:22: error: in evaluation of ‘operator%=(__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}, double)’
17 | b[i][j]%=1e9+7;
| ^