This commit is contained in:
xice09
2018-08-01 02:30:29 +08:00
parent 36f2ab51ab
commit cc6cf4cdea
10 changed files with 261 additions and 0 deletions

14
2012.cpp Normal file
View File

@@ -0,0 +1,14 @@
#include <iostream>
using namespace std;
int main(){
int x,y;
// 不是素数的X仅有 40 41 44 49
while (cin >> x >> y && (x!=0||y!=0)){
if((x<=40&&y>=40)||(x<=41&&y>=41)||(x<=44&&y>=44)||(x<=49&&y>=49))
cout << "Sorry"<<endl;
else
cout << "OK"<<endl;
}
return 0;
}
// OJ迟迟不进行编译.....暂时就当正确吧..