Laitofai

Задача №2960. Тестирующая система

Jul 7th, 2022
443
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. int test, stud;
  8. cin >> test >> stud;
  9. if(test != 1 && stud != 1){
  10. cout << "YES" << endl;
  11. }else if(test == stud){
  12. cout << "YES" << endl;
  13. }else{
  14. cout << "NO";
  15. }
  16. return 0;
  17. }
  18.  
Advertisement
Add Comment
Please, Sign In to add comment