0_0_38599822_20440.cpp: In function 'int main()': 0_0_38599822_20440.cpp:65:43: error: expected ';' before 'd' while (val[j - l] % x == 0) val[j - l] ^ ; d[j - l] = (cnt * k + 1) % mod * d[j - l] % mod; ~