0_0_19837163_13954.cpp: In function 'int main()':
0_0_19837163_13954.cpp:12:18: error: 'scanf' was not declared in this scope
scanf("%lld", &T);
^
0_0_19837163_13954.cpp:14:31: error: 'memset' was not declared in this scope
memset(head, 0, sizeof(head)), cnt = 0, memset(dp, 0, sizeof(dp));
^
0_0_19837163_13954.cpp:21:24: error: 'abs' was not declared in this scope
if(abs(w[i] - w[j]) <= cha && abs(w[i] - w[k]) <= cha && abs(w[j] - w[k]) <= cha)
^
0_0_19837163_13954.cpp:22:43: error: 'mo' was not declared in this scope
dp[i][j][k][0]++, dp[i][j][k][0] %= mo;
^
0_0_19837163_13954.cpp:25:71: error: 'mo' was not declared in this scope
dp[e[l].to][j][k][0] += dp[i][j][k][1], dp[e[l].to][j][k][0] %= mo;
^
0_0_19837163_13954.cpp:27:71: error: 'mo' was not declared in this scope
dp[i][e[l].to][k][1] += dp[i][j][k][2], dp[i][e[l].to][k][1] %= mo;
^
0_0_19837163_13954.cpp:29:71: error: 'mo' was not declared in this scope
dp[i][k][e[l].to][2] += dp[i][j][k][0], dp[i][k][e[l].to][2] %= mo;
^
0_0_19837163_13954.cpp:32:70: error: 'printf' was not declared in this scope
scanf("%lld%lld%lld", &a, &b, &c), printf("%lld\n", dp[a][b][c][0]);
^
|