运行 ID: 26124

Main.cc: In function ‘int main()’:
Main.cc:6:9: error: ‘i’ was not declared in this scope
  cin>>q[i];
         ^
Main.cc:7:8: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
  if(q==10)cout<<"4"<<"1"<<"8";
        ^~