0_0_19255367_18352.cpp:24:41: error: invalid operands of types 'double' and 'int' to binary 'operator%' const int N = 1e3 + 10, M = 0, Z = 1e9 %2 ^ 0_0_19255367_18352.cpp:24:41: error: expected ',' or ';' at end of input