10-19 AC
This commit is contained in:
14
2012.cpp
Normal file
14
2012.cpp
Normal 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迟迟不进行编译.....暂时就当正确吧..
|
||||
Reference in New Issue
Block a user