Problem secret
User PlayVoltz
Submission Time 2024-01-26 23:29:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

secret.cpp: In function ‘void dnc(int, int, int)’:
secret.cpp:13:42: error: ‘Secret’ was not declared in this scope
13 | for (int i=m-1; i>=l; --i)ans[i][layer]=Secret(vect[i], ans[i+1][layer]);
| ^~~~~~
secret.cpp:14:42: error: ‘Secret’ was not declared in this scope
14 | for (int i=m+2; i<=r; ++i)ans[i][layer]=Secret(vect[i], ans[i-1][layer]);
| ^~~~~~
secret.cpp: In function ‘int Query(int, int)’:
secret.cpp:32:27: error: ‘Secret’ was not declared in this scope
32 | if (l<=m&&r>=m+1)return Secret(ans[l][c], ans[r][c]);
| ^~~~~~