0_0_38551031_7275.cpp: In function 'void solve()':
0_0_38551031_7275.cpp:56:22: error: invalid operands of types '__gnu_cxx::__promote_2<int, int, double, double>::__type {aka double}' and 'long long int' to binary 'operator%'
if(pow(10, i) % p == 1)
^
0_0_38551031_7275.cpp:57:21: error: 'mi' was not declared in this scope
ans = min(ans, mi);
^
0_0_38551031_7275.cpp:58:28: error: invalid operands of types '__gnu_cxx::__promote_2<int, long long int, double, double>::__type {aka double}' and 'long long int' to binary 'operator%'
if(pow(10, res / i) % p == 1)
^
|