Files
NJUST-OJ/2012.cpp
2018-08-01 02:30:29 +08:00

14 lines
378 B
C++

#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迟迟不进行编译.....暂时就当正确吧..