QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#873576 | #9249. Elimination Series Once More | ZhangYiDe | Compile Error | / | / | C++20 | 934b | 2025-01-26 17:37:43 | 2025-01-26 17:37:46 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:5:38: error: ‘CI’ has not been declared 5 | inline void update(vector <int>& vec,CI pos,CI now=1,CI l=1,CI r=all) | ^~ answer.code:5:45: error: ‘CI’ has not been declared 5 | inline void update(vector <int>& vec,CI pos,CI now=1,CI l=1,CI r=all) | ^~ answer.code:5:54: error: ‘CI’ has not been declared 5 | inline void update(vector <int>& vec,CI pos,CI now=1,CI l=1,CI r=all) | ^~ answer.code:5:61: error: ‘CI’ has not been declared 5 | inline void update(vector <int>& vec,CI pos,CI now=1,CI l=1,CI r=all) | ^~ answer.code: In function ‘int main()’: answer.code:13:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 13 | scanf("%d%d",&n,&k); all=1<<n; | ~~~~~^~~~~~~~~~~~~~ answer.code:14:35: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 14 | for (int i=1;i<=all;++i) scanf("%d",&a[i]),pos[a[i]]=i; | ~~~~~^~~~~~~~~~~~