Language: C++

/**
*    created: 04.07.2020 20:45:53
**/
#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
// #include <boost/multiprecision/cpp_int.hpp>
// using bint = boost::multiprecision::cpp_int;
using namespace std;
#define int long long
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep2(i, s, n) for (int i = (s); i < (int)(n); i++)
#define all(x) (x).begin(),(x).end()
#define rall(x) (x).rbegin(),(x).rend()
#define pcnt(bit) __builtin_popcountll(bit)
template<class T> bool chmax(T &a, const T &b) {if (a < b) {a = b; return 1;} return 0;}
template<class T> bool chmin(T &a, const T &b) {if (b < a) {a = b; return 1;} return 0;}
const long double pi = acos(-1.0);
const int INF = 1LL << 60;
const int MOD = 1000000007;
// const int MOD = 998244353;

signed main() {

    cin.tie(0);
    ios_base::sync_with_stdio(false);

    string s;
    cin >> s;
    if (s[0] == '9' || s[1] == '9') cout << "Yes" << endl;
    else cout << "No" << endl;
    return 0;
}/**
*    created: 04.07.2020 20:45:53
**/
#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
// #include <boost/multiprecision/cpp_int.hpp>
// using bint = boost::multiprecision::cpp_int;
using namespace std;
#define int long long
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep2(i, s, n) for (int i = (s); i < (int)(n); i++)
#define all(x) (x).begin(),(x).end()
#define rall(x) (x).rbegin(),(x).rend()
#define pcnt(bit) __builtin_popcountll(bit)
template<class T> bool chmax(T &a, const T &b) {if (a < b) {a = b; return 1;} return 0;}
template<class T> bool chmin(T &a, const T &b) {if (b < a) {a = b; return 1;} return 0;}
const long double pi = acos(-1.0);
const int INF = 1LL << 60;
const int MOD = 1000000007;
// const int MOD = 998244353;

signed main() {

    cin.tie(0);
    ios_base::sync_with_stdio(false);

    string s;
    cin >> s;
    if (s[0] == '9' || s[1] == '9') cout << "Yes" << endl;
    else cout << "No" << endl;
    return 0;
}

Compiler output:
a.cc:46:24: error: redefinition of 'template<class T> bool chmax(T&, const T&)'
   46 | template<class T> bool chmax(T &a, const T &b) {if (a < b) {a = b; return 1;} return 0;}
      |                        ^~~~~
a.cc:15:24: note: 'template<class T> bool chmax(T&, const T&)' previously declared here
   15 | template<class T> bool chmax(T &a, const T &b) {if (a < b) {a = b; return 1;} return 0;}
      |                        ^~~~~
a.cc:47:24: error: redefinition of 'template<class T> bool chmin(T&, const T&)'
   47 | template<class T> bool chmin(T &a, const T &b) {if (b < a) {a = b; return 1;} return 0;}
      |                        ^~~~~
a.cc:16:24: note: 'template<class T> bool chmin(T&, const T&)' previously declared here
   16 | template<class T> bool chmin(T &a, const T &b) {if (b < a) {a = b; return 1;} return 0;}
      |                        ^~~~~
a.cc:48:19: error: redefinition of 'const long double pi'
   48 | const long double pi = acos(-1.0);
      |                   ^~
a.cc:17:19: note: 'const long double pi' previously defined here
   17 | const long double pi = acos(-1.0);
      |                   ^~
a.cc:49:11: error: redefinition of 'const long long int INF'
   49 | const int INF = 1LL << 60;
      |           ^~~
a.cc:18:11: note: 'const long long int INF' previously defined here
   18 | const int INF = 1LL << 60;
      |           ^~~
a.cc:50:11: error: redefinition of 'const long long int MOD'
   50 | const int MOD = 1000000007;
      |           ^~~
a.cc:19:11: note: 'const long long int MOD' previously defined here
   19 | const int MOD = 1000000007;
      |           ^~~
a.cc:53:8: error: redefinition of 'int main()'
   53 | signed main() {
      |        ^~~~
a.cc:22:8: note: 'int main()' previously defined here
   22 | signed main() {
      |        ^~~~