fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main() {
  5. int A,B;
  6. cin >> A >> B;
  7. bool answer = false;
  8.  
  9. for(int i=A; i<=B; i++){
  10. if(100%i==0){
  11. answer = true;
  12. }
  13. }
  14.  
  15. if(answer){
  16. cout << "Yes";
  17. }else{
  18. cout << "No";
  19. }
  20. // your code goes here
  21. return 0;
  22. }
Success #stdin #stdout 0s 5280KB
stdin
5 20
stdout
Yes