这个是啥???
编译信息
编译失败
g++: 编译器内部错误:File size limit exceeded signal terminated program as
请提交一份完整的错误报告,
如有可能请附上经预处理后的源文件。
参阅 <https://gcc.gnu.org/bugs/> 以获取指示。
#include<iostream>
using namespace std;
int temp;
int vis[1000000010]={-1};
int main(){
int n;
cin >> n;
for(int i = 1 ; i <= n ; i++){
cin >>temp;
vis[temp]=i;
}
int op;
cin >> op;
while(op--){
cin>>temp;
cout<< (vis[temp]==-1?0:vis[temp])<<endl;
}
}