criyle/codenet-compile-errors huggingface dataset:
Language: C++

#include <iostream>
#include<vector>
#include<algorithm>
#include<string>
#include<map>
#include<set>
#include<stack>
#include<queue>
#include<math.h>
using namespace std;
typedef long long ll;
#define int long long
typedef vector<int> VI;
#define fore(i,a) for(auto &i:a)
#define REP(i,n) for(int i=0;i<n;i++)
#define eREP(i,n) for(int i=0;i<=n;i++)
#define FOR(i,a,b) for(int i=(a);i<(b);++i)
#define eFOR(i,a,b) for(int i=(a);i<=(b);++i)
#define SORT(c) sort((c).begin(),(c).end())
#define rSORT(c) sort((c).rbegin(),(c).rend())
#define LB(x,a) lower_bound((x).begin(),(x).end(),(a))
#define UB(x,a) upper_bound((x).begin(),(x).end(),(a))
#define INF 1000000000
#define LLINF 9223372036854775807
#define mod 1000000007
//vector<vector<int> > dp;
//vector<vector<vector<int> > > vvvi;
//dp=vector<vector<int> >(N, vector<int>(M,0));
//vector<pair<int,int> > v;
//v.push_back(make_pair(x,y));



signed main(){
cin.tie(0);
ios::sync_with_stdio(false);



	string s;
	cin >> s;
	REP(i, 2{
		if (s[i] == '9') {
			cout << "Yes" << endl;
			return 0;
		}
	}
	cout << "No" << endl;

	return 0;
}



Compiler output:
a.cc:52:1: error: unterminated argument list invoking macro "REP"
   52 | 
      | ^
a.cc: In function 'int main()':
a.cc:42:9: error: 'REP' was not declared in this scope
   42 |         REP(i, 2{
      |         ^~~
a.cc:42:12: error: expected '}' at end of input
   42 |         REP(i, 2{
      |            ^
a.cc:34:14: note: to match this '{'
   34 | signed main(){
      |              ^
Language: C++

#include <iostream>
#include<vector>
#include<algorithm>
#include<string>
#include<map>
#include<set>
#include<stack>
#include<queue>
#include<math.h>
using namespace std;
typedef long long ll;
#define int long long
typedef vector<int> VI;
#define fore(i,a) for(auto &i:a)
#define REP(i,n) for(int i=0;i<n;i++)
#define eREP(i,n) for(int i=0;i<=n;i++)
#define FOR(i,a,b) for(int i=(a);i<(b);++i)
#define eFOR(i,a,b) for(int i=(a);i<=(b);++i)
#define SORT(c) sort((c).begin(),(c).end())
#define rSORT(c) sort((c).rbegin(),(c).rend())
#define LB(x,a) lower_bound((x).begin(),(x).end(),(a))
#define UB(x,a) upper_bound((x).begin(),(x).end(),(a))
#define INF 1000000000
#define LLINF 9223372036854775807
#define mod 1000000007
//vector<vector<int> > dp;
//vector<vector<vector<int> > > vvvi;
//dp=vector<vector<int> >(N, vector<int>(M,0));
//vector<pair<int,int> > v;
//v.push_back(make_pair(x,y));



signed main(){
cin.tie(0);
ios::sync_with_stdio(false);



	string s;
	REP(i, 2{
		if (s[i] == '9') {
			cout << "Yes" << endl;
			return 0;
		}
	}
	cout << "No" << endl;

	return 0;
}



Compiler output:
a.cc:51:1: error: unterminated argument list invoking macro "REP"
   51 | 
      | ^
a.cc: In function 'int main()':
a.cc:41:9: error: 'REP' was not declared in this scope
   41 |         REP(i, 2{
      |         ^~~
a.cc:41:12: error: expected '}' at end of input
   41 |         REP(i, 2{
      |            ^
a.cc:34:14: note: to match this '{'
   34 | signed main(){
      |              ^
Language: C++

#include<bits/stdc++.h>
using namespace std;

int main(){
  string s;
  cint>>s;
  cout<<(max(s[0],s[1])=='9' ?"Yes":"No")<<endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'cint' was not declared in this scope; did you mean 'uint'?
    6 |   cint>>s;
      |   ^~~~
      |   uint
Language: C++

#include <iostream>
#include <algorithm>
#include <vector>
#include <string>
#include <map>
#include <set>
using namespace std;
int main() {
  string s;
  cin >> s;
  if(s[0] == "9" || s[1] == "9") cout << "Yes" << endl;
  else cout << "No" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:11: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   11 |   if(s[0] == "9" || s[1] == "9") cout << "Yes" << endl;
a.cc:11:26: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   11 |   if(s[0] == "9" || s[1] == "9") cout << "Yes" << endl;
Language: Java

public class Main {

    public static void main(String[] args) {
         int N ;

        Scanner sc = new Scanner(System.in);
        N = sc.nextInt();

        boolean contained = isContainedNine(N);
        System.out.println(contained);
    }

    private static boolean isContainedNine(int n) {
        if ((n >= 10) && (n <= 99)){
            String strNumber = String.valueOf(n);
            String first = String.valueOf(strNumber.charAt(0));
            String second = String.valueOf(strNumber.charAt(1));
            if (first.equals("9") || second.equals("9"))
                return true;
        }
        else {
            System.out.println("Number not in range");
        }
        return false;
    }
}

Compiler output:
Main.java:6: error: cannot find symbol
        Scanner sc = new Scanner(System.in);
        ^
  symbol:   class Scanner
  location: class Main
Main.java:6: error: cannot find symbol
        Scanner sc = new Scanner(System.in);
                         ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: C++

#include <iostream>
#include <string>
int main() {

  std::string N;
  std::cin >> N;

  if (N[0] == "9" || N[1] == "9") {
    std::cout << "Yes" << std::endl;
  } else {
    std::cout << "No" << std::endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:12: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |   if (N[0] == "9" || N[1] == "9") {
a.cc:8:27: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |   if (N[0] == "9" || N[1] == "9") {
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
  int s;
  cin>> s;
  int a=s/10;
  int b=s%10
  if (a==9||b==9){
    cout<<"Yes"<<endl;
  }
  else{
    cout<<"No"<<endl;
  }
}






Compiler output:
a.cc: In function 'int main()':
a.cc:9:3: error: expected ',' or ';' before 'if'
    9 |   if (a==9||b==9){
      |   ^~
a.cc:12:3: error: 'else' without a previous 'if'
   12 |   else{
      |   ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
string s;
  int s;
  if (s[0]==9||s[1]==9){
    cout<<"Yes"<<endl;
  }
  else{
    cout<<"No"<<endl;
  }
}



Compiler output:
a.cc: In function 'int main()':
a.cc:6:7: error: conflicting declaration 'int s'
    6 |   int s;
      |       ^
a.cc:5:8: note: previous declaration as 'std::string s'
    5 | string s;
      |        ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
 
int main () {
  int N;
  cin >> N;
  
  for(int i=0;i<N.size();i++){
    
    if(N.at(i) == 9){
      cout << "Yes";
      break;
    }
   else{
     cout << "No";
   }
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:19: error: request for member 'size' in 'N', which is of non-class type 'int'
    8 |   for(int i=0;i<N.size();i++){
      |                   ^~~~
a.cc:10:10: error: request for member 'at' in 'N', which is of non-class type 'int'
   10 |     if(N.at(i) == 9){
      |          ^~
Language: C++

#include<bits/stdc++.h>
using namespace std;
 
int main () {
  int N;
  cin >> N;
  
  for(int i=0;i<N.size();i++){
    
    if(N[i] == 9){
      cout << "Yes";
      break;
    }
   else{
     cout << "No";
   }
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:19: error: request for member 'size' in 'N', which is of non-class type 'int'
    8 |   for(int i=0;i<N.size();i++){
      |                   ^~~~
a.cc:10:9: error: invalid types 'int[int]' for array subscript
   10 |     if(N[i] == 9){
      |         ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N, a, b, c;
  c = 0;
  cin >> N;
  for (i = 0; i < N; i++) {
    cin >> a >> b;
    c = b - a + 1;
  }
  cout << c << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:8: error: 'i' was not declared in this scope
    8 |   for (i = 0; i < N; i++) {
      |        ^
Language: C++

#include<bits.stdc++.h>
using namespace std;

int main(void){
    int N;
    cin>>N;

    while(N>0){
        int n=N%10;
        if(n==9){
            cout<<"Yes"<<endl;
            return 0;
        }
        N/=10;
    }

    cout<<"No"<<endl;
    return 0;
}


Compiler output:
a.cc:1:9: fatal error: bits.stdc++.h: No such file or directory
    1 | #include<bits.stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<bits.stdc++.h>
using namespace std;

int main(void){
    int N;
    cin>>N;

    while(N>0){
        int n=N%10;
        if(n==9){
            cout<,"Yes"<<endl;
            return 0;
        }
        N/=10;
    }

    cout<<"No"<<endl;
    return 0;
}


Compiler output:
a.cc:1:9: fatal error: bits.stdc++.h: No such file or directory
    1 | #include<bits.stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C

#include <stdio.h>

int main(void){
  int N;
  int flag = 0;
  scanf("%d",&N);

  if(N/10 == 9) flag = 1;
  if(N%10 == 9) flag = 1++;
  
  if(flag) printf("Yes\n");
  else printf("No\n");

  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:25: error: lvalue required as increment operand
    9 |   if(N%10 == 9) flag = 1++;
      |                         ^~
Language: C++

#include <iostream>

using namespace std;

int main(void) {

  int N = 0;
  cin >> N;

  if(N % 10 == 9 || (N - 90) >= 0) {
    cout << "Yes;"
  } else {
    cout << "No";
  }

  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:19: error: expected ';' before '}' token
   11 |     cout << "Yes;"
      |                   ^
      |                   ;
   12 |   } else {
      |   ~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  string x;
  cin>>x;
  if(x[0]=="9"||x[1]=="9"){
    cout<<"Yes"<<endl;
  }
  else
    cout<<"No"<<endl;
  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    6 |   if(x[0]=="9"||x[1]=="9"){
a.cc:6:21: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    6 |   if(x[0]=="9"||x[1]=="9"){
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  int x;
  cin>>x;
  if(x[0]=="9"||x[1]=="9"){
    cout<<"Yes"<<endl;
  }
  else
    cout<<"No"<<endl;
  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:7: error: invalid types 'int[int]' for array subscript
    6 |   if(x[0]=="9"||x[1]=="9"){
      |       ^
a.cc:6:18: error: invalid types 'int[int]' for array subscript
    6 |   if(x[0]=="9"||x[1]=="9"){
      |                  ^
Language: C++

#include <iostream>
#include <algorithm>
#include <math.h>
#include <string>
using namespace std;
int main(){
      string S;
      cin >> S;
      int ans = false;
      if(S[0] = '9' || S[1] = '9')ans = true;
      if(ans)cout << "Yes";
      else cout << "No";
        return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:21: error: lvalue required as left operand of assignment
   10 |       if(S[0] = '9' || S[1] = '9')ans = true;
Language: C++

#include<iostream>
#include<string>
#include<vector>
#include<iomanip>
#include<algorithm>
#include<queue>
#include<stack>
#include<map>
using namespace std;
#define ll long long
int main(){
    int a;
    cin >> a;
    if((a/10-9)*(a%10-9)){
      cout << "No"
    }else{
      cout << "Yes"
    }
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:19: error: expected ';' before '}' token
   15 |       cout << "No"
      |                   ^
      |                   ;
   16 |     }else{
      |     ~              
a.cc:17:20: error: expected ';' before '}' token
   17 |       cout << "Yes"
      |                    ^
      |                    ;
   18 |     }
      |     ~
Language: C++

#include<iostream>
#include<string>
#include<vector>
#include<iomanip>
#include<algorithm>
#include<queue>
#include<stack>
#include<map>
using namespace std;
#define ll long long
int main(){
    string a;
    cin >> a;
    if((a/10-9)*(a%10-9)){
      cout << "No"
    }else{
      cout << "Yes"
    }
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:10: error: no match for 'operator/' (operand types are 'std::string' {aka 'std::__cxx11::basic_string<char>'} and 'int')
   14 |     if((a/10-9)*(a%10-9)){
      |         ~^~~
      |         | |
      |         | int
      |         std::string {aka std::__cxx11::basic_string<char>}
a.cc:14:19: error: no match for 'operator%' (operand types are 'std::string' {aka 'std::__cxx11::basic_string<char>'} and 'int')
   14 |     if((a/10-9)*(a%10-9)){
      |                  ~^~~
      |                  | |
      |                  | int
      |                  std::string {aka std::__cxx11::basic_string<char>}
a.cc:15:19: error: expected ';' before '}' token
   15 |       cout << "No"
      |                   ^
      |                   ;
   16 |     }else{
      |     ~              
a.cc:17:20: error: expected ';' before '}' token
   17 |       cout << "Yes"
      |                    ^
      |                    ;
   18 |     }
      |     ~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
    int N;
    cin >> N;
    if (N.at(0) == 9 || N.at(1) == 9) cout << "Yes" << endl;
    else cout << "No" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:11: error: request for member 'at' in 'N', which is of non-class type 'int'
    6 |     if (N.at(0) == 9 || N.at(1) == 9) cout << "Yes" << endl;
      |           ^~
a.cc:6:27: error: request for member 'at' in 'N', which is of non-class type 'int'
    6 |     if (N.at(0) == 9 || N.at(1) == 9) cout << "Yes" << endl;
      |                           ^~
Language: C++


#include <bits/stdc++.h>
  using namespace std;
#define ll long long
#define fw(p) for(int w=0;w<(p);w++)
#define fx(p) for(int x=0;x<(p);x++)
#define fy(p) for(int y=0;y<(p);y++)
#define fz(p) for(int z=0;z<(p);z++)
#define fyg(p,g) for(int y=(g);y<(p);y++)
#define fzg(p,g) for(int z=(g);z<(p);z++)
#define ce(d) cout<<d<<endl;
#define vecp(p) int aa;cin>>aa;(p).push_back(aa);
#define vecpl(p) long long aa;cin>>aa;(p).push_back(aa);
#define vecps(p) string aa;cin>>aa;(p).push_back(aa);
#define vecp2(p) int ab;cin>>ab;(p).push_back(ab);
#define vecpl2(p) long long ab;cin>>ab;(p).push_back(ab);
#define vecps2(p) string ab;cin>>ab;(p).push_back(ab);
#define set0(k,n) for(int nn=0;nn<(n);nn++){ (k).push_back(0); }
#define sorts(c) sort((c).begin(),(c).end());
#define reverses(c) reverse((c).begin(),(c).end());
#define vec(b) vector<int> (b);
#define vecl(b) vector<long long> (b);
#define vecs(b) vector<string> (b);
#define vecsize(b,size) vector<int> (b)((size));
#define pb(b,a) (b).push_back((a));
#define doublece(a,b) cout<<(a)<<' '<<(b)<<endl;
#define pairs(s) vector<pair<int,int>> (s);
#define pairsl(s) vector<pair<ll,ll>> (s);
#define pairss(s) vector<pair<string,string>> (s);
#define pairsp(s) int aa,bb;cin>>aa>>bb;(s).push_back(make_pair(aa,bb));
#define pairspl(s) int aa,bb;cin>>aa>>bb;(s).push_back(make_pair(aa,bb));
#define pairsps(s) int aa,bb;cin>>aa>>bb;(s).push_back(make_pair(aa,bb));
#define pairsREV(s) (s).push_back(make_pair(bb,aa));
#define pairslREV(s) (s).push_back(make_pair(bb,aa));
#define pairssREV(s) (s).push_back(make_pair(bb,aa));
#define MOD 1000000007

int main() {
	
	int N;
	cin>>N;

	while(N>0){
		if(N%10==9){
			ce("Yes")
			return;
		}
		N/=10;
	}
	ce("No")
}


Compiler output:
a.cc: In function 'int main()':
a.cc:46:25: error: return-statement with no value, in function returning 'int' [-fpermissive]
   46 |                         return;
      |                         ^~~~~~
Language: C++

#include <bits/stdc++.h>

using namespace std;

int main() {
	int N;
	cin >> N;

	if (N[1] == 9 || N[2] == 9) {
		cout << "Yes" << endl;
	}
	else {
		cout << "Yes" << endl;
	}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:14: error: invalid types 'int[int]' for array subscript
    9 |         if (N[1] == 9 || N[2] == 9) {
      |              ^
a.cc:9:27: error: invalid types 'int[int]' for array subscript
    9 |         if (N[1] == 9 || N[2] == 9) {
      |                           ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;

#define EPS (1e-7)
#define INF (1e9)
#define PI (acos(-1))
//const ll mod = 1000000007;

int main()
{
    string s;
    cin >> s;
    if(s[0]=='9' || s[1] == '9'){
      cout << YES << endl;
      return 0;
    }
    cout << "NO" << endl;
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:15: error: 'YES' was not declared in this scope
   15 |       cout << YES << endl;
      |               ^~~
Language: C++

#include<iostream>
#include<string.h>
using namespace std;

int main(){
  string a;
  cin>>a;
  (a[0]=='9'||a[1]=='9')?cout<<"Yes":cout<<"No";
  return 0;
}

number as string should be ''


Compiler output:
a.cc:12:28: error: empty character constant
   12 | number as string should be ''
      |                            ^~
a.cc:12:1: error: 'number' does not name a type
   12 | number as string should be ''
      | ^~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
  string n;
  cin >> n;

  if (n.at(0) == '9' || n.at(1) == '9') {
    cout << "Yes" << endl;
  } else {
    count << "No" << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:11: error: invalid operands of types '<unresolved overloaded function type>' and 'const char [3]' to binary 'operator<<'
   11 |     count << "No" << endl;
      |     ~~~~~~^~~~~~~
Language: C++

#include<bits/stdc++.h>
#define FOR(i, a, b) for (int i = (a); i < (b); ++i)
#define REP(i, n) for (int i = 0; i < (n); ++i)
#define int long long
using namespace std;
signed main(){
	string a;
	cin >> a;
	REP(i,2){
		if(a[i] == "9"){
			cout << "Yes" << endl;
			goto owari;
		}
	}
	cout << "No" << endl;
	owari:
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:25: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   10 |                 if(a[i] == "9"){
Language: C++

#include<bits/stdc++.h>
#define FOR(i, a, b) for (int i = (a); i < (b); ++i)
#define REP(i, n) for (int i = 0; i < (n); ++i)
#define int long long
using namespace std;
signed main(){
	string a;
	cin >> a;
	REP(i,2){
		if(a[i] == "9"){
			cout << "Yes" << endl;
			goto owari;
		}
	}
	out << "No" << endl;
	owari:
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:25: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   10 |                 if(a[i] == "9"){
a.cc:15:9: error: 'out' was not declared in this scope
   15 |         out << "No" << endl;
      |         ^~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int,int> pii;
#define pb push_back
#define mp make_pair
#define rep(i,n) for(int i=0;i<(n);++i)

int main(){
	cin.tie(0);
	ios::sync_with_stdio(false);
	int n;cin >> n;
	if(n%10==9 || n/10==9) cout << "Yes" << endl;
	else << "No" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:14: error: expected primary-expression before '<<' token
   14 |         else << "No" << endl;
      |              ^~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
  string n;
  cin >> n;
  if(n.find(n.begin(), v.end(), '9')!=string::npos){
    cout << "Yes" << endl;
  }else{
    cout << "No" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:24: error: 'v' was not declared in this scope
    6 |   if(n.find(n.begin(), v.end(), '9')!=string::npos){
      |                        ^
Language: C++

#include <iostream>
 
using namespace std;
 
int main(){
  int n;
  cin >> n;
  cout << (n%10==9 || 90 <= n) ? "Yes" : "No" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:47: error: invalid operands of types 'const char [3]' and '<unresolved overloaded function type>' to binary 'operator<<'
    8 |   cout << (n%10==9 || 90 <= n) ? "Yes" : "No" << endl;
      |                                          ~~~~~^~~~~~~
Language: C++

#include <iostream>

using namespace std;

int main(){
  int n;
  cin >> a >> b >> c;
  cout << (n%10==9 || 90 <= n) ? "Yes" : "No" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:10: error: 'a' was not declared in this scope
    7 |   cin >> a >> b >> c;
      |          ^
a.cc:7:15: error: 'b' was not declared in this scope
    7 |   cin >> a >> b >> c;
      |               ^
a.cc:7:20: error: 'c' was not declared in this scope
    7 |   cin >> a >> b >> c;
      |                    ^
a.cc:8:47: error: invalid operands of types 'const char [3]' and '<unresolved overloaded function type>' to binary 'operator<<'
    8 |   cout << (n%10==9 || 90 <= n) ? "Yes" : "No" << endl;
      |                                          ~~~~~^~~~~~~
Language: C++

#include <bit/stdc++.h>
using namespace std;
int n;

int main() {
	cin >> n;
	if(n / 10 == 9 || n % 10 == 9) puts("Yes");
	else puts("No");
}

Compiler output:
a.cc:1:10: fatal error: bit/stdc++.h: No such file or directory
    1 | #include <bit/stdc++.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <bits/stdc++.h>
using namespace std;

using ll    = long long;
using ull   = unsigned long long;
using veci  = vector<int>;
using vecll = vector<ll>;
#define EPS (1e-7)
#define INF (1e9)
#define PI  (acos(-1))
#define FOR(i,a,b) for(int i = (a);i < (b); ++i)
#define REP(i,n) for(int i= 0;i<(int)(n);++i)
#define pb push_back

veci enum_div(int n){
	veci ret;
	ret.pb(1);
	for(int i=1;i*i<n;i++){
		if(n%i==0){
			ret.pb(i);
			if(i != n/i){ret.pb(n/i);}
		}
	}
	ret.pb(n);
	return ret;
}
int gcb(int a,int b){return ((b == 0)? a : gcb(b,a%b));}
int gcd(int a,int b){return (a*b) / gcb(a,b);}

int main(){
    string n;
    cin >> n;
    if(n[0]=="9" || n[1]=="9"){
        cout << "Yes" << endl;
    }else{
        cout << "No" << endl;
    }
	return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:33:12: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   33 |     if(n[0]=="9" || n[1]=="9"){
a.cc:33:25: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   33 |     if(n[0]=="9" || n[1]=="9"){
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main () {
  int N;
  cin >> N;
  if ( N.at(0) == 9 || N.at(1) == 9 ) cout << "Yes" << endl;
   else cout << "No" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:10: error: request for member 'at' in 'N', which is of non-class type 'int'
    7 |   if ( N.at(0) == 9 || N.at(1) == 9 ) cout << "Yes" << endl;
      |          ^~
a.cc:7:26: error: request for member 'at' in 'N', which is of non-class type 'int'
    7 |   if ( N.at(0) == 9 || N.at(1) == 9 ) cout << "Yes" << endl;
      |                          ^~
Language: C++

#include <bits/stdc++.h>
#define REP(i,n) for(int i=0;i<(n);i++)
const int MOD=(int)1e9+7;
using namespace std;
int main(){
    int n;
    cin>>n;
    if(n[0]==9||n[1]==9) cout<<"Yes"<<endl;
    else cout<<"No"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: invalid types 'int[int]' for array subscript
    8 |     if(n[0]==9||n[1]==9) cout<<"Yes"<<endl;
      |         ^
a.cc:8:18: error: invalid types 'int[int]' for array subscript
    8 |     if(n[0]==9||n[1]==9) cout<<"Yes"<<endl;
      |                  ^
Language: C++

#include<iostream>
#include<cstdio>
using namespace std;
int main()
{    
    int n;
    cin>>n;
    if(n==19||n==29||n==39||n==49||n==59||n==69||n==79||n==89||n==99){
         cout"Yes";

    }
    else cout<<"No";
    return 0;
    
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:14: error: expected ';' before string constant
    9 |          cout"Yes";
      |              ^~~~~
      |              ;
Language: C++

#include<iostream>
#include<cstdio>
using namespace std;
int main()
{    
    int n;
    cin>>n;
    if(n==19||n==29||n==39||n==49||n==59||n==69||n==79||n==89||n==99){
         cout"Yes";

    }
    else cout<<"No"
    return 0;
    
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:14: error: expected ';' before string constant
    9 |          cout"Yes";
      |              ^~~~~
      |              ;
a.cc:12:20: error: expected ';' before 'return'
   12 |     else cout<<"No"
      |                    ^
      |                    ;
   13 |     return 0;
      |     ~~~~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
	string n;
	int a;
	cin>>n;
	a=n.length():
	for(int i=0;i<a;i++)
	{
		if(n[i]=='9')
		{
			cout<<"Yes"<<endl;
			return 0;
		}
	}
	cout<<"No"<<endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:21: error: expected ';' before ':' token
    8 |         a=n.length():
      |                     ^
      |                     ;
a.cc:9:21: error: 'i' was not declared in this scope
    9 |         for(int i=0;i<a;i++)
      |                     ^
Language: C++

#include<cstdio>
using namespace std;
int main()
{
	int n;
	bool ans=false;
	scanf("%d",&n);
	if(n%10==9)ans=true;
	if(n/10%10==9)ans=true;
	if(ans)printf("Yes");
	esle printf("No");
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:9: error: 'esle' was not declared in this scope
   11 |         esle printf("No");
      |         ^~~~
Language: C++

#include <stdio.h>
int s[2];
int main()
{
    scanf("%s", &s);
    if (s[0] == "9") printf("Yes\n");
    else if (s[1] == "9") printf("Yes\n");
    else printf("No\n");
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:14: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    6 |     if (s[0] == "9") printf("Yes\n");
      |         ~~~~~^~~~~~
a.cc:7:19: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |     else if (s[1] == "9") printf("Yes\n");
      |              ~~~~~^~~~~~
Language: C++

#include <iostream>
#include <string>
#include <vector>
#include <map>
#include <algorithm>
#include <cmath>

#define F first
#define S second
#define vsort(v) sort((v).begin(), (v).end())
#define vrev(v) reverse((v).begin(), (v).end())

using namespace std;
using ll = long long;

int main(int argc, const char * argv[]) {
    strin s;
    cin >> s;
    if (s[0] == '9' || s[1] == '9') {
        cout << "Yes" << endl;
    }else{
        cout << "No" << endl;
    }
    return 0;
}


Compiler output:
a.cc: In function 'int main(int, const char**)':
a.cc:17:5: error: 'strin' was not declared in this scope; did you mean 'stdin'?
   17 |     strin s;
      |     ^~~~~
      |     stdin
a.cc:18:12: error: 's' was not declared in this scope
   18 |     cin >> s;
      |            ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[])
{
	int n;
	cin>>n;
	int ans=0;
	while (n--)
	{
		int a,b;
		cin>>a>>b;
		ans+=1+r-l;

	}
	printf("%d\n",ans );
	return 0;
}

Compiler output:
a.cc: In function 'int main(int, const char**)':
a.cc:12:24: error: 'r' was not declared in this scope
   12 |                 ans+=1+r-l;
      |                        ^
a.cc:12:26: error: 'l' was not declared in this scope
   12 |                 ans+=1+r-l;
      |                          ^
Language: C++

#include <iostream>
using namespace std;
int main(int argc, char const *argv[])
{
	int n;
	cin>>n;
	int ans=0;
	while (n--)
	{
		int a,b;
		cin>>a>>b;
		ans+=1+r-l;

	}
	printf("%d\n",ans );
	return 0;
}

Compiler output:
a.cc: In function 'int main(int, const char**)':
a.cc:12:24: error: 'r' was not declared in this scope
   12 |                 ans+=1+r-l;
      |                        ^
a.cc:12:26: error: 'l' was not declared in this scope
   12 |                 ans+=1+r-l;
      |                          ^
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main(){
  string s
  cin>>s;
  cout<<(s[0]=='9'||s[1]=='9'?"Yes":"No")<<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: expected initializer before 'cin'
    6 |   cin>>s;
      |   ^~~
a.cc:7:10: error: 's' was not declared in this scope
    7 |   cout<<(s[0]=='9'||s[1]=='9'?"Yes":"No")<<endl;
      |          ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
	string s;
	cin>>s;
	for(int i=0;i<s.size;i++)
	{
		if(s[i]==9)
		{
			cout<<"Yes";
		    return 0;
		}
		else
		{
			cout<<"No";
			return 0;
		}
	}
 } 

Compiler output:
a.cc: In function 'int main()':
a.cc:7:25: error: invalid use of member function 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]' (did you forget the '()' ?)
    7 |         for(int i=0;i<s.size;i++)
      |                       ~~^~~~
      |                             ()
Language: C++

#include<iostream>
using namespace std;
int a;
int main(){
	cin>>a;
	if(a==19||a==29||a==39||a==49||a==59||a==69||a==79||a==89||a==90||a==91||a==92||a==93||a==94||a==95||a==96||a==97||a==98||a==99)cout<<"Yes"<<endl;
	else cout<<"No"<<endl;

Compiler output:
a.cc: In function 'int main()':
a.cc:7:31: error: expected '}' at end of input
    7 |         else cout<<"No"<<endl;
      |                               ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

#include<iostream>
using namespace std;
int a;
int main(){
	cin>>a;
	if(a==19||a==29||a==39||a==49||a==59||a==69||a==79||a==89||a==90||a==91||a==92||a==93||a==94||a==95||a==96||a==97||a==98||a==99)cout<<"Yes"<<endl
	else cout<<"No"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:154: error: expected ';' before 'else'
    6 |         if(a==19||a==29||a==39||a==49||a==59||a==69||a==79||a==89||a==90||a==91||a==92||a==93||a==94||a==95||a==96||a==97||a==98||a==99)cout<<"Yes"<<endl
      |                                                                                                                                                          ^
      |                                                                                                                                                          ;
    7 |         else cout<<"No"<<endl;
      |         ~~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
    string s; int i;
    cin>>s;
    for (i=0;i<s.length();i++)
     if (s[i]=='9') { cout<<"Yes"; return 0;}
    cout<<"No";
    return 0； 
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:12: error: unable to find numeric literal operator 'operator""\U0000ff1b'
   10 |     return 0；
      |            ^~~
a.cc:10:15: error: expected ';' before '}' token
   10 |     return 0；
      |               ^
      |               ;
   11 | }
      | ~
Language: C++

#include<bits/stdc++.h>
using namespace std;
string s;
int x;
int main()
{
    cin>>s;
    if (s[0]=='9' || a[1]=='9') cout<<"Yes"<<endl; 
    else
    cout<<"No"<<endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:22: error: 'a' was not declared in this scope
    8 |     if (s[0]=='9' || a[1]=='9') cout<<"Yes"<<endl;
      |                      ^
Language: C++

#include<iostream>
#include<string>
#include<cstdio>
#include<vector>
#include<algorithm>
#include<cmath>

using namespace std;

int main(void)
{
	char n[3];
	cin >> n;
	int i;
	for (i = 0; i < strlen(n); i++)
	{
		if (n[i] == '9')
		{
			cout << "Yes" << endl;
			break;
		}
	}
	if (i == strlen(n))
	{
		cout << "No" << endl;
	}

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:25: error: 'strlen' was not declared in this scope
   15 |         for (i = 0; i < strlen(n); i++)
      |                         ^~~~~~
a.cc:7:1: note: 'strlen' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
    6 | #include<cmath>
  +++ |+#include <cstring>
    7 | 
a.cc:23:18: error: 'strlen' was not declared in this scope
   23 |         if (i == strlen(n))
      |                  ^~~~~~
a.cc:23:18: note: 'strlen' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
Language: C++

#include<iostream>

bool inNine(int n){
  if((n％10) == 9)  return true;
  else if((n/10) > 0)  return inNine(n/10);
  else  return false;
}

int main(void){
  int n;  std::cin >> n;
  if(inNine(n))  std::cout << "Yes" << std::endl;
  else  std::cout << "No" << std::endl;
  return 0;
}


Compiler output:
a.cc: In function 'bool inNine(int)':
a.cc:4:7: error: 'n\U0000ff0510' was not declared in this scope
    4 |   if((n％10) == 9)  return true;
      |       ^~~~~
a.cc:7:1: warning: control reaches end of non-void function [-Wreturn-type]
    7 | }
      | ^
Language: C++

#include<iostream>

bool inNine(int n){
  if((n％10) == 9)  return true;
  else if((n/10) > 0)  return inNine(n/10);
  else  return false;
}

int main(){
  int n;  std::cin >> n;
  if(inNine(n))  std::cout << "Yes" << std::endl;
  else  std::cout << "No" << std::endl;
  return 0;
}


Compiler output:
a.cc: In function 'bool inNine(int)':
a.cc:4:7: error: 'n\U0000ff0510' was not declared in this scope
    4 |   if((n％10) == 9)  return true;
      |       ^~~~~
a.cc:7:1: warning: control reaches end of non-void function [-Wreturn-type]
    7 | }
      | ^
Language: C++

#include<iostream>

bool inNine(int n){
  if(n％10 == 9)  return true;
  else if(n/10 > 0)  return inNine(n/10);
  else  return false;
}

int main(){
  int n;  std::cin >> n;
  if(inNine(n))  std::cout << "Yes" << std::endl;
  else  std::cout << "No" << std::endl;
  return 0;
}

Compiler output:
a.cc: In function 'bool inNine(int)':
a.cc:4:6: error: 'n\U0000ff0510' was not declared in this scope
    4 |   if(n％10 == 9)  return true;
      |      ^~~~~
a.cc:7:1: warning: control reaches end of non-void function [-Wreturn-type]
    7 | }
      | ^
Language: C++

include<bits/stdc++.h>
using namespace std;
int main()
{ 
    string a;
    getline(cin,a);
    int n;
    n=a.size(); 
    for(int i=0;i<n;i++)
    {
        if(a[1]=='-')
        {
            cout<<"No";
            return 0;
        }
        if(a[i]=='.')
        {
            cout<<"No"; 
            return 0;
        }
        if(a[i]=='9') 
        {
            cout<<"Yes"; 
            return 0;
        }
        else
        {
            cout<<"No";
            return 0;
        } 
    } 
    return 0;
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<bits/stdc++.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:5:5: error: 'string' was not declared in this scope
    5 |     string a;
      |     ^~~~~~
a.cc:6:13: error: 'cin' was not declared in this scope
    6 |     getline(cin,a);
      |             ^~~
a.cc:6:17: error: 'a' was not declared in this scope
    6 |     getline(cin,a);
      |                 ^
a.cc:6:5: error: 'getline' was not declared in this scope
    6 |     getline(cin,a);
      |     ^~~~~~~
a.cc:13:13: error: 'cout' was not declared in this scope
   13 |             cout<<"No";
      |             ^~~~
a.cc:18:13: error: 'cout' was not declared in this scope
   18 |             cout<<"No";
      |             ^~~~
a.cc:23:13: error: 'cout' was not declared in this scope
   23 |             cout<<"Yes";
      |             ^~~~
a.cc:28:13: error: 'cout' was not declared in this scope
   28 |             cout<<"No";
      |             ^~~~
Language: C++

#include <stdio.h>
int main(){
int N;
scanf("%d"&N);
if((N-N%10)/10==9||N%10==9){
printf("Yes\n");
return 0;}
printf("No");
return 0;}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:11: error: invalid operands of types 'const char [3]' and 'int' to binary 'operator&'
    4 | scanf("%d"&N);
      |       ~~~~^~
      |       |    |
      |       |    int
      |       const char [3]
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  str N; 
  cin >> N;
  if( N.at(0) == '9' || N.at(1) == '9') 
    cout << "Yes" << endl;
  else cout << "No" << endl; 
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'str' was not declared in this scope; did you mean 'std'?
    5 |   str N;
      |   ^~~
      |   std
a.cc:6:10: error: 'N' was not declared in this scope
    6 |   cin >> N;
      |          ^
Language: C++

#include<iostream>
#include<string>

int main(void){
  std::string n;  std::cin >> n;
  if('9' in n){
    std::cout << "Yes" << std::endl;
  }else{
    std::cout << "No"  << std::endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: expected ')' before 'in'
    6 |   if('9' in n){
      |     ~   ^~~
      |         )
Language: C++

#include <iostream>
#include <string>
using namespace std;
int main(void){
    int n,m;
    string a,b,c;
    cin>>n;
    if(a%10==9||a/90==1){
        cout<<"Yes"<<endl;
    }else{
        cout<<"No"<<endl;
    }
    
    
    return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: no match for 'operator%' (operand types are 'std::string' {aka 'std::__cxx11::basic_string<char>'} and 'int')
    8 |     if(a%10==9||a/90==1){
      |        ~^~~
      |        | |
      |        | int
      |        std::string {aka std::__cxx11::basic_string<char>}
a.cc:8:18: error: no match for 'operator/' (operand types are 'std::string' {aka 'std::__cxx11::basic_string<char>'} and 'int')
    8 |     if(a%10==9||a/90==1){
      |                 ~^~~
      |                 | |
      |                 | int
      |                 std::string {aka std::__cxx11::basic_string<char>}
Language: C++

#include <iostream>
#include <string>
using namespace std;
int main(void){
    int n,m;
    string a,b,c;
    cin>>n;
    if(a%10==9||a/90=1){
        cout<<"Yes"<<endl;
    }else{
        cout<<"No"<<endl;
    }
    
    
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: no match for 'operator%' (operand types are 'std::string' {aka 'std::__cxx11::basic_string<char>'} and 'int')
    8 |     if(a%10==9||a/90=1){
      |        ~^~~
      |        | |
      |        | int
      |        std::string {aka std::__cxx11::basic_string<char>}
a.cc:8:18: error: no match for 'operator/' (operand types are 'std::string' {aka 'std::__cxx11::basic_string<char>'} and 'int')
    8 |     if(a%10==9||a/90=1){
      |                 ~^~~
      |                 | |
      |                 | int
      |                 std::string {aka std::__cxx11::basic_string<char>}
Language: C++

import scala.io.StdIn

object Main extends App {
  
   println(if (StdIn.readLine().contains('9')) "Yes" else "No")
   
}

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import scala.io.StdIn
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
	//本题直接转string形式判断是否有9 
	string a; //string
	getline(cin,a);//输入 
	int n;//计数 
	n=a.size()；//size函数 
	for(int i=0;i<n;i++)//for从0开始，这很重要
	{
		if(a[i]=='9')//if判断 
		{
			cout<<"Yes";//输出 
			return 0;//return 0;
		}
		else
		{
			cout<<"No";//输出
			return 0;//return 0;
		} 
	} 
	//结束 
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:19: error: expected ';' before '\U0000ff1b'
    9 |         n=a.size()；//size函数
      |                   ^~
      |                   ;
a.cc:10:21: error: 'i' was not declared in this scope
   10 |         for(int i=0;i<n;i++)//for从0开始，这很重要
      |                     ^
Language: C

#include<stdio.h>
#include<stdlib.h>
#include<string.h>
int main() {
	int  tmp = 0, index = 0, arrcount = 0;
	for (int i = 0; i < count; i++) {
		scanf("%d", &arrcount);
		int *arr = (int*)malloc(sizeof(int) * arrcount);
		memset(arr, 0, arrcount * sizeof(int));
		for (int j = 0; j < arrcount; j++) {
			scanf("%d", &tmp);

			for (int k = 0; k <= j; k++) {
				if (arr[k] == tmp) {
					index--;
					break;
				}
				else if (k == j) {
					arr[index] = tmp; index++;
				}
			}
		}
		printf("#%d %d\n", i + 1, index);
}

Compiler output:
main.c: In function 'main':
main.c:6:29: error: 'count' undeclared (first use in this function); did you mean 'arrcount'?
    6 |         for (int i = 0; i < count; i++) {
      |                             ^~~~~
      |                             arrcount
main.c:6:29: note: each undeclared identifier is reported only once for each function it appears in
main.c:24:1: error: expected declaration or statement at end of input
   24 | }
      | ^
Language: C++

#import<ios>
char a[9];main(){gets(a);puts(*a=='9'||a[1]=='9'?"Yes":"No");}

Compiler output:
a.cc:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
    1 | #import<ios>
      |  ^~~~~~
a.cc:2:11: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    2 | char a[9];main(){gets(a);puts(*a=='9'||a[1]=='9'?"Yes":"No");}
      |           ^~~~
a.cc: In function 'int main()':
a.cc:2:18: error: 'gets' was not declared in this scope; did you mean 'getw'?
    2 | char a[9];main(){gets(a);puts(*a=='9'||a[1]=='9'?"Yes":"No");}
      |                  ^~~~
      |                  getw
Language: C++

#include<iostream>
#include<cmath>
#include<algorithm>
#include<vector>
using namespace std;
int main()
{
	int n,x=0;
	while(n>=1)
	{
		if(n%10==9)
		{
			cout<<"Yes"<<endl;
			x++;
		}
	}
	if(x==0)
	cout<<"No"<<Endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:18:21: error: 'Endl' was not declared in this scope
   18 |         cout<<"No"<<Endl;
      |                     ^~~~
Language: C++

#include<iostream>
#include<cmath>
#include<algorithm>
#include<vector>
using namespace std;
int main()
{
	int n,=0;
	while(n>=1)
	{
		if(n%10==9)
		{
			cout<<"Yes"<<endl;
			x++;
		}
	}
	if(x==0)
	cout<<"No"<<Endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:15: error: expected unqualified-id before '=' token
    8 |         int n,=0;
      |               ^
a.cc:14:25: error: 'x' was not declared in this scope
   14 |                         x++;
      |                         ^
a.cc:17:12: error: 'x' was not declared in this scope
   17 |         if(x==0)
      |            ^
a.cc:18:21: error: 'Endl' was not declared in this scope
   18 |         cout<<"No"<<Endl;
      |                     ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
char c;
int main()
{
    for(int i=0;i<2;++i)
    {
    
        scanf("%d",&c)
        if(c=='9')
        {
            cout<<"Yes"<<endl;
            return 0;
        }
    }
    cout<<"No"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:23: error: expected ';' before 'if'
    9 |         scanf("%d",&c)
      |                       ^
      |                       ;
   10 |         if(c=='9')
      |         ~~
Language: C++

#indlude<bits/stdc++.h>
using namespace std;
int y;
string x;
int main()
{
	cin>>x;
	for(int i=0; i<x.size(); i++)
		if(x[i]=='9')
		{
			y=1;
			cout<<"Yes"<<endl;
			break;
		}
	if(y==0)
		cout<<"No"<<endl;
	return 0;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #indlude; did you mean #include?
    1 | #indlude<bits/stdc++.h>
      |  ^~~~~~~
      |  include
a.cc:4:1: error: 'string' does not name a type
    4 | string x;
      | ^~~~~~
a.cc: In function 'int main()':
a.cc:7:9: error: 'cin' was not declared in this scope
    7 |         cin>>x;
      |         ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #indlude<bits/stdc++.h>
a.cc:7:14: error: 'x' was not declared in this scope
    7 |         cin>>x;
      |              ^
a.cc:12:25: error: 'cout' was not declared in this scope
   12 |                         cout<<"Yes"<<endl;
      |                         ^~~~
a.cc:12:25: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:12:38: error: 'endl' was not declared in this scope
   12 |                         cout<<"Yes"<<endl;
      |                                      ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #indlude<bits/stdc++.h>
a.cc:16:17: error: 'cout' was not declared in this scope
   16 |                 cout<<"No"<<endl;
      |                 ^~~~
a.cc:16:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:16:29: error: 'endl' was not declared in this scope
   16 |                 cout<<"No"<<endl;
      |                             ^~~~
a.cc:16:29: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

#include <iostream>
#include <string>
using namespace std;
int main()
{
    string s;
    cin>>s;
    int k,flag=0;
    k=s.size()
    for(int i=0;i<=k;i++)
    {
        if(s[i]=='9')
        {
        cout<<"Yes"<<endl;
        flag=1;
        break;
        }
    }
    if(flag==0)
    {cout<<"No"<<endl;
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:15: error: expected ';' before 'for'
    9 |     k=s.size()
      |               ^
      |               ;
   10 |     for(int i=0;i<=k;i++)
      |     ~~~        
a.cc:10:17: error: 'i' was not declared in this scope
   10 |     for(int i=0;i<=k;i++)
      |                 ^
Language: C++

#include <bits/stdc++.h>
 using namespace std;
         
  int main() {
     int N;
     cin >> N;
          
      if (N.at(0) != 9 && N.at(0) != 9) {
         cout << "No" << endl;
      }
        else {      
          cout << "Yes" <<endl;
   }
            
          
 }

Compiler output:
a.cc: In function 'int main()':
a.cc:8:13: error: request for member 'at' in 'N', which is of non-class type 'int'
    8 |       if (N.at(0) != 9 && N.at(0) != 9) {
      |             ^~
a.cc:8:29: error: request for member 'at' in 'N', which is of non-class type 'int'
    8 |       if (N.at(0) != 9 && N.at(0) != 9) {
      |                             ^~
Language: C++

        #include <bits/stdc++.h>
            using namespace std;
         
        int main() {
          int N;
          cin >> N;
          
          if (N.at(1) == 9 || N.at(0) == 9) {
            cout << "Yes" << endl;
          }
            else {
              cout << "No" <<endl;
          }
            
          
        }

Compiler output:
a.cc: In function 'int main()':
a.cc:8:17: error: request for member 'at' in 'N', which is of non-class type 'int'
    8 |           if (N.at(1) == 9 || N.at(0) == 9) {
      |                 ^~
a.cc:8:33: error: request for member 'at' in 'N', which is of non-class type 'int'
    8 |           if (N.at(1) == 9 || N.at(0) == 9) {
      |                                 ^~
Language: C++

        #include <bits/stdc++.h>
            using namespace std;
         
        int main() {
          int N;
          cin >> N;
          
          if (N.at(1) == 9 || N.at(0) == 9) {
            cout << "Yes" << endl;
            else {
              cout << "No" <<endl;
            }
          }
            
          
        }

Compiler output:
a.cc: In function 'int main()':
a.cc:8:17: error: request for member 'at' in 'N', which is of non-class type 'int'
    8 |           if (N.at(1) == 9 || N.at(0) == 9) {
      |                 ^~
a.cc:8:33: error: request for member 'at' in 'N', which is of non-class type 'int'
    8 |           if (N.at(1) == 9 || N.at(0) == 9) {
      |                                 ^~
a.cc:10:13: error: expected '}' before 'else'
   10 |             else {
      |             ^~~~
a.cc:8:45: note: to match this '{'
    8 |           if (N.at(1) == 9 || N.at(0) == 9) {
      |                                             ^
a.cc: At global scope:
a.cc:16:9: error: expected declaration before '}' token
   16 |         }
      |         ^