QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#92989 | #6177. 外星飞碟问题 | Naitoah | Compile Error | / | / | C++14 | 5.3kb | 2023-03-31 09:36:30 | 2023-03-31 09:36:33 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void NTT_init(const int&)’: answer.code:60:22: error: ‘i’ was not declared in this scope 60 | IMP(1 << m, w[m][i] = complex(std::cos(i * Pi / (1 << m)), std::sin(i * Pi / (1 << m)))); | ^ answer.code:60:5: error: ‘IMP’ was not declared in this scope 60 | IMP(1 << m, w[m][i] = complex(std::cos(i * Pi / (1 << m)), std::sin(i * Pi / (1 << m)))); | ^~~ answer.code: In function ‘void DFT(complex*, const int&)’: answer.code:71:13: error: ‘IMP’ was not declared in this scope 71 | IMP(len, (x = *L, y = *R)), *L++ = (x + y), *R++ = *W++*(x - y); | ^~~ answer.code: In function ‘void IDFT(complex*, const int&)’: answer.code:80:13: error: ‘IMP’ was not declared in this scope 80 | IMP(len, (x = *L, y = *W++ **R)), *L++ = (x + y), *R++ = (x - y); | ^~~ answer.code:83:15: error: ‘i’ was not declared in this scope 83 | IMP(n, (f[i].x /= n, f[i].y /= n)); | ^ answer.code:83:5: error: ‘IMP’ was not declared in this scope 83 | IMP(n, (f[i].x /= n, f[i].y /= n)); | ^~~ answer.code: In function ‘void MTT(int*, int*, int*, const int&, const int&, const int&, const int&)’: answer.code:91:15: error: ‘i’ was not declared in this scope 91 | IMP(n, (Q[i].x = f[i] & 32767, P[i].x = f[i] >> 15)); | ^ answer.code:91:5: error: ‘IMP’ was not declared in this scope 91 | IMP(n, (Q[i].x = f[i] & 32767, P[i].x = f[i] >> 15)); | ^~~ answer.code: In function ‘void PT(int*, int*, const int&, const int&)’: answer.code:119:37: error: ‘i’ was not declared in this scope 119 | IMP(n, H[0] = 1ll * H[0] * (m - i) % mod); | ^ answer.code:119:5: error: ‘IMP’ was not declared in this scope 119 | IMP(n, H[0] = 1ll * H[0] * (m - i) % mod); | ^~~ answer.code: In function ‘int Getfac(const int&, const int&)’: answer.code:155:9: error: ‘IMP’ was not declared in this scope 155 | IMP(q, F[i + q + 1] = G[i]), G[i] = 0; | ^~~ answer.code:168:32: error: ‘i’ was not declared in this scope 168 | IMP(B, ans = 1ll * ans * F[i] % mod), F[i] = 0; | ^ answer.code:168:5: error: ‘IMP’ was not declared in this scope 168 | IMP(B, ans = 1ll * ans * F[i] % mod), F[i] = 0; | ^~~