QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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.
詳細信息
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; | ~~~~~^~~~~~~~~~~~