0_0_19434635_2331.cpp:1:585: fatal error: GCC4.9.2/lib/gcc/x86_64-w64-mingw32/4.9.2/include/iostream>usin: Invalid argument
#include<iostream>using namespace std;int main(){ int x,y,i,c,b,n,s; while(cin>>x>>y) { if(x==0&&y==0) break; b=0; for(n=x;n<=y;n++) { s=n*n+n+41; c=0; for(i=2;i<s;i++) { if(s%i==0) c++; } if(c==0) b++; } if(b==y-x+1) cout<<"OK"<<endl; else cout<<"Sorry"<<endl; } }
^
compilation terminated.
|