我的程序在DEV里没有问题
为什么会编译错误啊???
错误:
/tmp/compiler_gx6od7n3/src:1:9: 致命错误:bits/stdc++.h :No such file or directory
1 | #include<bits/stdc++.h >
| ^~~~~~~~~~~~~~~~
编译中断。
代码:
#include<bits/stdc++.h >
using namespace std;
int a,b,c,d,g[100000];
int main(){
cin>>a;
for(int i=2;i<=a;i++){
if(a%i==0){
a/=i;
break;
}
}
cout<<a;
}