QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#778734#5266. Absolutely FlatZhaoZiLongCompile Error//C++981.0kb2024-11-24 16:02:242024-11-24 16:02:26

详细

answer.code: In function ‘int main()’:
answer.code:42:26: error: ‘it’ does not name a type; did you mean ‘int’?
   42 |                 for(auto it=st.begin();it!=st.end();it++)
      |                          ^~
      |                          int
answer.code:42:40: error: expected ‘;’ before ‘it’
   42 |                 for(auto it=st.begin();it!=st.end();it++)
      |                                        ^~
      |                                        ;
answer.code:42:40: error: ‘it’ was not declared in this scope; did you mean ‘st’?
   42 |                 for(auto it=st.begin();it!=st.end();it++)
      |                                        ^~
      |                                        st