Advertisement
yeskendir_sultanov

L3 - C

Mar 27th, 2024
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.39 KB | Source Code | 0 0
  1. #include <bits/stdc++.h>
  2.  
  3. using namespace std;
  4.  
  5. int main() {
  6.     int n, m;
  7.     cin >> n >> m;
  8.     if (146 <= n && n <= 155 && 146 <= m && m <= 155) {
  9.         if (n < m) {
  10.             cout << "Conor";
  11.         } else if (n > m) {
  12.             cout << "Khabib";
  13.         } else {
  14.             cout << "Nobody";
  15.         }
  16.     } else {
  17.         cout << "Cancelled";
  18.     }
  19.     return 0;
  20. }
  21.  
  22.  
  23.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement