criyle/codenet-compile-errors huggingface dataset:
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:13: 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:29: 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:9: error: expected '}' before 'else'
   10 |         else
      |         ^~~~
a.cc:8:41: note: to match this '{'
    8 |       if (N.at(1) == 9 || N.at(0) == 9) {
      |                                         ^
a.cc: At global scope:
a.cc:15:5: error: expected declaration before '}' token
   15 |     }
      |     ^
Language: C++

#include<iostream>
using namespace std;
int main(){

 int N,a;
  cin>>N;
  if(N-9 == 10 *a){cout<<"Yes"<<endl;}else{cout<<"No"<<endl;}
  if(N/9 => 10){cout<<"Yes"<<endl;}else{cout<<"No"<<endl;}
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:11: error: expected primary-expression before '>' token
    8 |   if(N/9 => 10){cout<<"Yes"<<endl;}else{cout<<"No"<<endl;}
      |           ^
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:17: error: lvalue required as left operand of assignment
    7 |   if(a / 10 = 9 || a % 10 = 9){
      |               ~~^~~~~~~~~
Language: C++

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

int main() {
  string s;
  cin>>s;
  cout<<s.find(9)?"Yes":"No"<<endl;
}


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

#include <bits/stdc++.h>

#define o(output) cout << output << endl
#define priolity_queue pq
#define push p
#define top t

using namespace std;

string s,t;
int a,b,c,d;

int main(){
  cin >> s;
  if (s[0]=="9"||s[1]=="9"){
    o("Yes");
  }else{
    o("No");
  }
}

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

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

typedef long long ll;
typedef pair<ll,ll> P;

const double PI = 3.14159265358979323846;
const double EPS = 1e-12;
const ll INF = 1LL<<29;
const ll mod = 1e9+7;

#define rep(i, a, b) for(ll (i) = (a); (i) < (b);++i)

ll gcd(ll x, ll y)
{
  if (x % y == 0)
  {
    return y;
  }
  return gcd(y, x % y);
}

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

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

import Glibc
extension String: CollectionType {}

//var xt = readLine()!.split(" ").map { Int($0)! }
var n = Int(readLine()!)!
if n % 10 == 9 || n / 10 == 9 {
  print("Yes")
} else {
  print("No")
}

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import Glibc
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:5:1: error: 'var' does not name a type
    5 | var n = Int(readLine()!)!
      | ^~~
a.cc:8:3: error: expected unqualified-id before 'else'
    8 | } else {
      |   ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
string N;
int main()
{
    cin>>N;
    for(int i=0;i<N.size();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:11:11: error: 'No' was not declared in this scope; did you mean 'N'?
   11 |     cout<<No<<endl;
      |           ^~
      |           N
Language: C++

#include<cstdio>
using namespace std;
int a;
int main(){
    ios::sync_with_stdio(false);
    scanf("%d",&a);
    while(a!=0){
        if(a%10==9){
            printf("Yes\n");
            return 0;
        }
        a/=10;
    }
    printf("No\n");
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: 'ios' has not been declared
    5 |     ios::sync_with_stdio(false);
      |     ^~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
	string a;
	cin>>a;
	if(a[0]==‘9’||a[1]==‘9’)
	{
		cout<<"YES";return 0;
	}
	cout<<"NO";
}

Compiler output:
a.cc:7:18: error: extended character ‘ is not valid in an identifier
    7 |         if(a[0]==‘9’||a[1]==‘9’)
      |                  ^
a.cc:7:18: error: extended character ’ is not valid in an identifier
a.cc:7:29: error: extended character ‘ is not valid in an identifier
    7 |         if(a[0]==‘9’||a[1]==‘9’)
      |                             ^
a.cc:7:29: error: extended character ’ is not valid in an identifier
a.cc: In function 'int main()':
a.cc:7:18: error: '\U000020189\U00002019' was not declared in this scope
    7 |         if(a[0]==‘9’||a[1]==‘9’)
      |                  ^~~
Language: C++

#include<cstdio>
#include<cstring>
using namespace std;
int main()
{
    string a;
    cin>>a;
    int c=a.size();
    for(int i=0;i<c;i++){
        if(c[i]=='9'){
            cout<<"Yes"<<endl;
            return 0;
        }
    }
    cout<<"No"<<endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: error: 'string' was not declared in this scope
    6 |     string a;
      |     ^~~~~~
a.cc:3:1: note: 'std::string' is defined in header '<string>'; this is probably fixable by adding '#include <string>'
    2 | #include<cstring>
  +++ |+#include <string>
    3 | using namespace std;
a.cc:7:5: error: 'cin' was not declared in this scope
    7 |     cin>>a;
      |     ^~~
a.cc:3:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    2 | #include<cstring>
  +++ |+#include <iostream>
    3 | using namespace std;
a.cc:7:10: error: 'a' was not declared in this scope
    7 |     cin>>a;
      |          ^
a.cc:10:13: error: invalid types 'int[int]' for array subscript
   10 |         if(c[i]=='9'){
      |             ^
a.cc:11:13: error: 'cout' was not declared in this scope
   11 |             cout<<"Yes"<<endl;
      |             ^~~~
a.cc:11:13: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:11:26: error: 'endl' was not declared in this scope
   11 |             cout<<"Yes"<<endl;
      |                          ^~~~
a.cc:3:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
    2 | #include<cstring>
  +++ |+#include <ostream>
    3 | using namespace std;
a.cc:15:5: error: 'cout' was not declared in this scope
   15 |     cout<<"No"<<endl;
      |     ^~~~
a.cc:15:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:15:17: error: 'endl' was not declared in this scope
   15 |     cout<<"No"<<endl;
      |                 ^~~~
a.cc:15:17: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

import java.util.Scanner;

public class September {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		if(a/10 == 9 ||a % 10 == 9)System.out.print("Yes");
		else System.out.print("No");
	}

}


Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.util.Scanner;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:3:1: error: expected unqualified-id before 'public'
    3 | public class September {
      | ^~~~~~
Language: Java

import java.util.Scanner;
public class Main {
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    String s = sc.nextInt();
    if(s.contains("9")){
      System.out.println("Yes");
    }else{
      System.out.println("No");
    }
  }
}

Compiler output:
Main.java:5: error: incompatible types: int cannot be converted to String
    String s = sc.nextInt();
                         ^
1 error
Language: C++

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

int main()
{
	string n;
	for(auto i : a){
		if(i == '9'){
			cout << "Yes" << endl;
			return 0;
		}
	}
	cout << "No" << endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:22: error: 'a' was not declared in this scope
    7 |         for(auto i : a){
      |                      ^
Language: Java

import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
  String N = sc.next();
  if(N.charAt(0) == '9' || N.charAt(1) == '9')
    System.out.println(Yes);
  else System.out.println(No);
}
}

Compiler output:
Main.java:7: error: cannot find symbol
    System.out.println(Yes);
                       ^
  symbol:   variable Yes
  location: class Main
Main.java:8: error: cannot find symbol
  else System.out.println(No);
                          ^
  symbol:   variable No
  location: class Main
2 errors
Language: C++

#includde <stdio.h>
int main(){
  int n;
  scanf("%d",&n);
  
  if(n>=90){
    printf("Yes");
  }
  else if(n%10==9){
    printf("Yes");
  }
  else{
    printf("No");
  }
  return 0;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #includde; did you mean #include?
    1 | #includde <stdio.h>
      |  ^~~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:4:3: error: 'scanf' was not declared in this scope
    4 |   scanf("%d",&n);
      |   ^~~~~
a.cc:7:5: error: 'printf' was not declared in this scope
    7 |     printf("Yes");
      |     ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | #includde <stdio.h>
a.cc:10:5: error: 'printf' was not declared in this scope
   10 |     printf("Yes");
      |     ^~~~~~
a.cc:10:5: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:13:5: error: 'printf' was not declared in this scope
   13 |     printf("No");
      |     ^~~~~~
a.cc:13:5: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C++

#include<iostream>
#include<algorithm>
#include<string>
using namespace std;

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

Compiler output:
a.cc:9:50: error: stray '\' in program
    9 |         if (n/10 ==9 || n%10 == 9)cout << "Yes"<<\n;
      |                                                  ^
a.cc:10:30: error: stray '\' in program
   10 |         else cout << "No" << \n;
      |                              ^
Language: C++

#include<iostream>
#include<algorithm>
#include<string>
using namespace std;

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

Compiler output:
a.cc:9:49: error: stray '\' in program
    9 |         if (a[0] ==9 && a[1] ==9)cout << "Yes"<<\n;
      |                                                 ^
a.cc:10:30: error: stray '\' in program
   10 |         else cout << "No" << \n;
      |                              ^
a.cc: In function 'int main()':
a.cc:9:50: error: 'n' was not declared in this scope
    9 |         if (a[0] ==9 && a[1] ==9)cout << "Yes"<<\n;
      |                                                  ^
a.cc:10:31: error: 'n' was not declared in this scope
   10 |         else cout << "No" << \n;
      |                               ^
Language: C++

#include<iostream>
#include<algorithm>
using namespace std;

int main() {
	char a[2];
	cin >> a;
	if (a[0] ==9 && a[1] ==9)cout << "Yes"<<\n;
	else cout << "No" << \n;
}

Compiler output:
a.cc:8:49: error: stray '\' in program
    8 |         if (a[0] ==9 && a[1] ==9)cout << "Yes"<<\n;
      |                                                 ^
a.cc:9:30: error: stray '\' in program
    9 |         else cout << "No" << \n;
      |                              ^
a.cc: In function 'int main()':
a.cc:8:50: error: 'n' was not declared in this scope
    8 |         if (a[0] ==9 && a[1] ==9)cout << "Yes"<<\n;
      |                                                  ^
a.cc:9:31: error: 'n' was not declared in this scope
    9 |         else cout << "No" << \n;
      |                               ^
Language: C++

#include <iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:24: error: expected primary-expression before '||' token
    7 |         if((N-9)%10==0)||(90<=N&&N<=99)) cout << "Yes";
      |                        ^~
a.cc:8:14: error: expected primary-expression before '<<' token
    8 |         else << "No";
      |              ^~
Language: C++

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

int main(){
  string 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:11: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |   if(n[0] == "9" || n[1] == "9") {
a.cc:8:26: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |   if(n[0] == "9" || n[1] == "9") {
Language: C++

#include <bits/stdc++.h>
#include <vector>
#define REP(i,n) for(int i=0;i<n;i++)
using namespace std;
typedef long long ll;

int main(){

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

Compiler output:
a.cc: In function 'int main()':
a.cc:19:11: error: expected ';' before '}' token
   19 |   return 0
      |           ^
      |           ;
   20 | }
      | ~
Language: C++

#include<bits/stdc++.h>
using namespace std;
 
int main(){
    int x;
	cin >> x;
	if(a-90>=0||(a-9)%10==0){
		cout << "Yes" << endl;
	}
	else{
		cout << "No" << endl;
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:12: error: 'a' was not declared in this scope
    7 |         if(a-90>=0||(a-9)%10==0){
      |            ^
Language: C

#include <stdio.h>

int main(void)
{

  int N;

  scanf ("%d", &N);

  int x=N%10;
  int y=N/10;

  if (x==9)
    printf ("YES");

  else if (y==9)
    printf ("YES");

  else
    printf ("NO")

  return (0);
}

Compiler output:
main.c: In function 'main':
main.c:20:18: error: expected ';' before 'return'
   20 |     printf ("NO")
      |                  ^
      |                  ;
   21 | 
   22 |   return (0);
      |   ~~~~~~
Language: C

#include <stdio.h>

int main(void)
{

  int N;

  scanf("%d", &N);

  int x=N%10;
  int y=N/10;

  if (x==9)
    printf("YES");

  else if (y==9)
    printf("YES");

  else
    printf("NO")

  return (0);
}

Compiler output:
main.c: In function 'main':
main.c:20:17: error: expected ';' before 'return'
   20 |     printf("NO")
      |                 ^
      |                 ;
   21 | 
   22 |   return (0);
      |   ~~~~~~
Language: C++

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

#define step(i, s, n, d) for(int i=s; i<n; i+=d)
#define FOR(i,s,n) step(i,s,n,1)
#define rep(i,n) FOR(i,0,n)
#define gets(x) x; cin >> x;
#define puts(x) x; cout << x << endl;
#define list_input(x, n) x[n]; rep(i,n){ gets(x[i]);}
#define ll long long

int main(){
    String n;
    gets(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:13:5: error: 'String' was not declared in this scope
   13 |     String n;
      |     ^~~~~~
a.cc:14:10: error: 'n' was not declared in this scope; did you mean 'yn'?
   14 |     gets(n)
      |          ^
a.cc:7:17: note: in definition of macro 'gets'
    7 | #define gets(x) x; cin >> x;
      |                 ^
Language: C++

#include <iostream>
#include <string>
#include <cctype>
#include <cmath>
#include <stdio.h>
#include <algorithm>
#define MAXSIZE 200000
#define PI 3.141592653589
using namespace std;



int main(){
  int n;
  std::cin >> n;
  int a,b;
  a=n%10;
  b=(n-a)/10s;
  if(a==9||b==9){
    std::cout << "Yes" << '\n';
  }else{
    std::cout << "No" << '\n';
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:18:11: error: unable to find numeric literal operator 'operator""s'
   18 |   b=(n-a)/10s;
      |           ^~~
Language: C++

#include <iostream>
#include <string>

int main()
{
	string str;

	cin >> str;

	if (str[0] == '9' || str[1] == '9')
		cout << "Yes" << endl;
	else
		cout << "No" << endl;

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: 'string' was not declared in this scope
    6 |         string str;
      |         ^~~~~~
a.cc:6:9: note: suggested alternatives:
In file included from /usr/include/c++/14/iosfwd:41,
                 from /usr/include/c++/14/ios:40,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/bits/stringfwd.h:77:33: note:   'std::string'
   77 |   typedef basic_string<char>    string;
      |                                 ^~~~~~
In file included from /usr/include/c++/14/bits/locale_classes.h:40,
                 from /usr/include/c++/14/bits/ios_base.h:41,
                 from /usr/include/c++/14/ios:44:
/usr/include/c++/14/string:76:11: note:   'std::pmr::string'
   76 |     using string    = basic_string<char>;
      |           ^~~~~~
a.cc:8:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    8 |         cin >> str;
      |         ^~~
      |         std::cin
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:16: error: 'str' was not declared in this scope; did you mean 'std'?
    8 |         cin >> str;
      |                ^~~
      |                std
a.cc:11:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |                 cout << "Yes" << endl;
      |                 ^~~~
      |                 std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:11:34: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |                 cout << "Yes" << endl;
      |                                  ^~~~
      |                                  std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:13:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 |                 cout << "No" << endl;
      |                 ^~~~
      |                 std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:13:33: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   13 |                 cout << "No" << endl;
      |                                 ^~~~
      |                                 std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include<iostream>
#include<string>
#include<algorithm>
using namespace std;

int main()
{
	string N;

	cin >> N;
	if (N[0] == '9' || N[1] == '9')
		cout << "Yes" << endl;
	else
		cout << "No" << emdl;

	return 0;
}


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

#include<iostream>
#include<string>
#include<algorithm>
using namespace std;

int main()
{
	string N;

	if (N[0] == '9' || N[1] == '9')
		cout << "Yes" << endl;
	else
		cout << "No" << emdl;

	return 0;
}


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

import java.util.*;

public class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String str = sc.next();
		String ans = "No";
		for (int i=0; i < str.length(); i++) {
			String st = str.substring(i, i+1);
			if(st.equals("9")) {
				ans = "Yes";
			}
		}
		System.out.print(ans);
	}
}

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.util.*;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:3:1: error: expected unqualified-id before 'public'
    3 | public class Main{
      | ^~~~~~
Language: C++

#include <iostream>
using namespace std;
int N,M,R;
long long d[201][201];
static const long long MAX = 1LL<<21;
#define INF 100000000
void wf() {
    int i,j,k;

    for (k =1; k <= N; k++) {
        for (i = 1; i <= N; i++) {
            for (j = 1; j <= N; j++) {
                d[i][j] = min(d[i][j], d[i][k] + d[k][j]);
            }
        }
    }

}

int main() {
    int i,j,A,B;
    long long C;
    int r[8];
    cin >> N >> M >> R;

    for (i = 0; i < R; i++) {
        cin >> r[i];
    }

    for (i = 1; i <= N; i++) {
        for (j = 1; j <= N; j++) {
            d[i][j] = MAX;
        }
        d[i][i]=0;
    }

    for (i = 0; i < M; i++) {
        cin >> A >> B >> C;
        d[A][B] = C;
        d[B][A] = C;
    }

    wf();
    
    long long mind = MAX;
    do {
        long long tmp = 0;
        for (j = 0; j < R-1; j++) {
            
           tmp += d[r[j] ][r[j+1] ];
        }
        mind = min(mind, tmp);
    } while ( next_permutation(r,r+R) );

    cout << mind << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:53:15: error: 'next_permutation' was not declared in this scope
   53 |     } while ( next_permutation(r,r+R) );
      |               ^~~~~~~~~~~~~~~~
Language: C++

>#include<iostream>
>#include<string>
>#include<algorithm>
>using namespace std;
>int main(){
>	
>	int a;
>	
>	cin>>a;
>	
>	if(a%10==9 || a/10==9){
>		cout<<"Yes"<<endl;
>		
>	}
>	
>	else cout<<"No"<<endl;
>	
>}

Compiler output:
a.cc:1:2: error: stray '#' in program
    1 | >#include<iostream>
      |  ^
a.cc:2:2: error: stray '#' in program
    2 | >#include<string>
      |  ^
a.cc:3:2: error: stray '#' in program
    3 | >#include<algorithm>
      |  ^
a.cc:1:1: error: expected unqualified-id before '>' token
    1 | >#include<iostream>
      | ^
a.cc:5:1: error: expected unqualified-id before '>' token
    5 | >int main(){
      | ^
Language: C++

#include <iostream>
using namespace std;

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

	cout << ((a[a.size() - 1] == b[0] && b[b.size() - 1] == c[0]) ? "YES" : "NO") << endl;
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:17: error: 'PrintLn' was not declared in this scope
    9 |                 PrintLn("Yes");
      |                 ^~~~~~~
a.cc:11:17: error: 'PrintLn' was not declared in this scope
   11 |                 PrintLn("No");
      |                 ^~~~~~~
a.cc:14:23: error: request for member 'size' in 'a', which is of non-class type 'int'
   14 |         cout << ((a[a.size() - 1] == b[0] && b[b.size() - 1] == c[0]) ? "YES" : "NO") << endl;
      |                       ^~~~
a.cc:14:38: error: 'b' was not declared in this scope
   14 |         cout << ((a[a.size() - 1] == b[0] && b[b.size() - 1] == c[0]) ? "YES" : "NO") << endl;
      |                                      ^
a.cc:14:65: error: 'c' was not declared in this scope
   14 |         cout << ((a[a.size() - 1] == b[0] && b[b.size() - 1] == c[0]) ? "YES" : "NO") << endl;
      |                                                                 ^
Language: C++

#include<stdio.h>
#include<string.h>
#include<algorithm>
using namespace std;
int main()
{

    int flag=0;
    scanf("%s",s);

    for(int i=0;i<strlen(s);i++)
    {
        if(s[i]>='10'&&s[i]<='99')
        {
            if(s[i]=='9'||s[++i]=='9')
        {
            flag=1;
            printf("Yes\n");
            break;
        }
        }
    }
      if(flag==0)
       {
           printf("No\n");
       }
    return 0;

}


Compiler output:
a.cc:13:18: warning: multi-character character constant [-Wmultichar]
   13 |         if(s[i]>='10'&&s[i]<='99')
      |                  ^~~~
a.cc:13:30: warning: multi-character character constant [-Wmultichar]
   13 |         if(s[i]>='10'&&s[i]<='99')
      |                              ^~~~
a.cc: In function 'int main()':
a.cc:9:16: error: 's' was not declared in this scope
    9 |     scanf("%s",s);
      |                ^
Language: C++

#include<stdio.h>
#include<string.h>
#include<algorithm>
using namespace std;
int main()
{

    int flag=0;
    scanf("%s",s);

    for(int i=0;i<strlen(s);i++)
    {
        if(s[i]=='9'||s[++i]=='9')
        {
            flag=1;
            printf("Yes\n");
            break;
        }
    }
      if(flag==0)
       {
           printf("No\n");
       }
    return 0;

}



Compiler output:
a.cc: In function 'int main()':
a.cc:9:16: error: 's' was not declared in this scope
    9 |     scanf("%s",s);
      |                ^
Language: C++

#include<stdio.h>
int main()
{
int a;
scanf("%d",&a);
if(a==9 || 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)
printf("Yes\n");
else
printf("No\n");
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:132: error: expected ')' before 'a'
    6 | if(a==9 || 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)
      |   ~                                                                                                                                ^~
      |                                                                                                                                    )
Language: C

#include<stdio.h>
int main(void)
{
	int a;
	scanf("%d",&a);
	if(a/10==9 || a%10==9)
	{
                printf("Yes");
	}
	else
        {
		printf("No");
	}
	return 0；
}


Compiler output:
main.c: In function 'main':
main.c:14:16: error: invalid suffix "；" on integer constant
   14 |         return 0；
      |                ^~~
main.c:14:19: error: expected ';' before '}' token
   14 |         return 0；
      |                   ^
      |                   ;
   15 | }
      | ~
Language: C

#include<stdio.h>
int main() {
	int N;
	scanf_s("%d", &N);
	if (N >= 10 && N <= 100) {
		if (N >= 90 && N <= 99) {
			printf("Yes");
		}
		else {
			switch (N) {
			case 19:printf("Yes\nThe one's digit of 19 is 9."); break;
			case 29:printf("Yes\nThe one's digit of 29 is 9."); break;
			case 39:printf("Yes\nThe one's digit of 39 is 9."); break;
			case 49:printf("Yes\nThe one's digit of 49 is 9."); break;
			case 59:printf("Yes\nThe one's digit of 59 is 9."); break;
			case 69:printf("Yes\nThe one's digit of 69 is 9."); break;
			case 79:printf("Yes\nThe one's digit of 79 is 9."); break;
			case 89:printf("Yes\nThe one's digit of 89 is 9."); break;
			default:printf("No\n%d does not contain 9.", N);
			}
		}
	}
	
	
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:9: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    4 |         scanf_s("%d", &N);
      |         ^~~~~~~
      |         scanf
Language: C

#include<stdio.h>
int main() {
	int N;
	scanf_s("%d", &N);
	if (N >= 90 && N <= 99) {
		printf("Yes");
	}
	else {
		switch (N) {
		case 19:printf("Yes"); break;
		case 29:printf("Yes"); break;
		case 39:printf("Yes"); break;
		case 49:printf("Yes"); break;
		case 59:printf("Yes"); break;
		case 69:printf("Yes"); break;
		case 79:printf("Yes"); break;
		case 89:printf("Yes"); break;
		default:printf("%d", N);
		}
	}
	
	
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:9: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    4 |         scanf_s("%d", &N);
      |         ^~~~~~~
      |         scanf
Language: C

#include <stdio.h>

int main()

	{
	int N ;
	scanf ("%d\n",&N);
	if (N%10==9||N/10==9){
		printf(" Yes\n");
}
	else {
	
	printf (" No\n");}
	
}
	
	 
	return 0;
	

	
	
}

Compiler output:
main.c:18:9: error: expected identifier or '(' before 'return'
   18 |         return 0;
      |         ^~~~~~
main.c:23:1: error: expected identifier or '(' before '}' token
   23 | }
      | ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:1: error: expected primary-expression before ')' token
    9 | )
      | ^
a.cc:9:2: error: expected '}' at end of input
    9 | )
      |  ^
a.cc:3:1: note: to match this '{'
    3 | {
      | ^
Language: C++

#include<bits/stdc++.h>  
using namespace std;  
int main()
{  
    char a,b;  
    c>>a>>b;  
    if(a=='9') cout<<"Yes"<<endl;  
    else if(b=='9') cout<<"Yes"<<endl;  
    else cout<<"No"<<endl;  
}  

Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: error: 'c' was not declared in this scope
    6 |     c>>a>>b;
      |     ^
Language: C++

#include<bits/stdc++.h>  
using namespace std;  
int main(){  
    char a,b;  
    c>>a>>b;  
    if(a=='9') cout<<"Yes"<<endl;  
    else if(b=='9') cout<<"Yes"<<endl;  
    else cout<<"No"<<endl;  
}  

Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: 'c' was not declared in this scope
    5 |     c>>a>>b;
      |     ^
Language: C++

#include <iostream>
#include <stdio.h>
#include <string.h>
#include <bits/stdc++.h>
using namespace std;
int main()
{
    int a;
    int c,d;
    scanf("%d",&a)
    c=a%10;
    d=a/10;
    if(c==9||d==9)
    {
        printf("Yes\n");
    }
    else
    {
        printf("No\n");
    }

}

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

#include<bits/stdc++.h>
using namespace std;
int main()
{
    int n;
  scanf("%d",&n)
   
       if(n%10==9||n/10==9)
    {
        printf("Yes\n");
    }
    else
        printf("No\n");
    return 0;
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:17: error: expected ';' before 'if'
    6 |   scanf("%d",&n)
      |                 ^
      |                 ;
    7 | 
    8 |        if(n%10==9||n/10==9)
      |        ~~        
a.cc:12:5: error: 'else' without a previous 'if'
   12 |     else
      |     ^~~~
Language: C++

#include <stdio.h>
int main()
{
int a;
scanf(“%d”,&a);
if (a==9||(a/10)==9)  printf("Yes\n");
else {printf("%d",a);printf("does not contain 9\n");
return 0;
}

Compiler output:
a.cc:5:7: error: extended character “ is not valid in an identifier
    5 | scanf(“%d”,&a);
      |       ^
a.cc:5:9: error: extended character ” is not valid in an identifier
    5 | scanf(“%d”,&a);
      |         ^
a.cc: In function 'int main()':
a.cc:5:7: error: '\U0000201c' was not declared in this scope
    5 | scanf(“%d”,&a);
      |       ^
a.cc:5:9: error: 'd\U0000201d' was not declared in this scope
    5 | scanf(“%d”,&a);
      |         ^~
a.cc:9:2: error: expected '}' at end of input
    9 | }
      |  ^
a.cc:3:1: note: to match this '{'
    3 | {
      | ^
Language: C

#include<stdio.h>
main()
{
	int a,b,c;
	scanf("%d",&a);
	b=a%10;
	c=a/10;
	if (b==9 or c==9)
		printf("Yes");
			else 
				printf("No");
			return 0;   
}

Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main()
      | ^~~~
main.c: In function 'main':
main.c:8:17: error: expected ')' before 'or'
    8 |         if (b==9 or c==9)
      |            ~    ^~~
      |                 )
Language: C

include <stdio.h>
int main(){
    int a;
    int b;
    int c;
    scanf("%d",&a);
    if(a>10){
        b=a%10;
        if(b==9){
            printf("YES");
            
        }
        else if((a-b)%9==0){
             printf("YES");
            
        }
        else{
             printf("NO");
            
        }
    }
    else if(a==9){
        printf("YES");
    }else{
        printf("NO");
    }
    
    return 0;
}

Compiler output:
main.c:1:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include <stdio.h>
      |         ^
Language: C

#include<stdio.h>
int main()
{   int a,b;
    a=getch();
    b=getch();
    if(a=='9'||b=='9')
        printf("Yes");
    else {
        printf("No");
    }return 0;
}


Compiler output:
main.c: In function 'main':
main.c:4:7: error: implicit declaration of function 'getch'; did you mean 'getc'? [-Wimplicit-function-declaration]
    4 |     a=getch();
      |       ^~~~~
      |       getc
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:19: error: expected ';' before 'int'
    6 |     scanf("%d",&a)
      |                   ^
      |                   ;
    7 |     int b=a%10;
      |     ~~~            
a.cc:9:8: error: 'b' was not declared in this scope
    9 |     if(b==9||c==9)
      |        ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:19: error: expected ';' before 'int'
    6 |     scanf("%d",&a)
      |                   ^
      |                   ;
    7 |         int b=a%10;
      |         ~~~        
a.cc:9:12: error: 'b' was not declared in this scope
    9 |         if(b==9||c==9)
      |            ^
Language: C++

#include <cstdio>
#include <iostream>
#include <algorithm>
#include <unordered_map>
using namespace std ;
int main ()
{
    int N;
    vector<int> A(1000000000,0);
    int a;
	scanf ( "%d" ,& N );
	for ( int i =0; i < N ; i ++){
        scanf ( "%d" ,&a);
        if(A[a] == 1) {
            A[a] = 0;
        } else {
            A[a] = 1;
        }
    }
    int total = 0;
    for(auto& e : A) {
        if( e == 1) total++;
    }
    cout << total << endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:5: error: 'vector' was not declared in this scope
    9 |     vector<int> A(1000000000,0);
      |     ^~~~~~
a.cc:5:1: note: 'std::vector' is defined in header '<vector>'; this is probably fixable by adding '#include <vector>'
    4 | #include <unordered_map>
  +++ |+#include <vector>
    5 | using namespace std ;
a.cc:9:12: error: expected primary-expression before 'int'
    9 |     vector<int> A(1000000000,0);
      |            ^~~
a.cc:14:12: error: 'A' was not declared in this scope
   14 |         if(A[a] == 1) {
      |            ^
a.cc:21:19: error: 'A' was not declared in this scope
   21 |     for(auto& e : A) {
      |                   ^
Language: C++

main = do
    n <- readLn :: IO Int
    putStr (check n)

check n
 | n < 9         = "No"
 | mod n 10 == 9 = "Yes"
 | otherwise     = check (div n 10)

Compiler output:
a.cc:1:1: error: 'main' does not name a type
    1 | main = do
      | ^~~~
Language: C++

#include<iostream>
using namespace std;
int main(){
    int i,j,k;
    cin>>i;
    j = i%10;
    k = i/10;
    if(i>=10&&i<=99){
    if((j==9)||(k==9)){
        cout<<"Yes";d
    }
    }
    return 0;

}

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: 'i' was not declared in this scope
    7 | rep(i,N){
      |     ^
a.cc:7:1: error: 'rep' was not declared in this scope
    7 | rep(i,N){
      | ^~~
Language: C++

#include <bits/stdc++.h>
#define re return
#define ull unsigned long long
#define ll long long
#define ld long double
#define f first
//#define s second
#define oo 1e9
#define pi acos(-1)
#define OO 4e18
#define EPS 1e-12
#define FX(n) fixed<<setprecision(n)
#define mm(o,k) memset(o,k,sizeof o)
#define Hossam_Yehia ios_base::sync_with_stdio(0),cin.tie(0),cout.tie(0);
using namespace std;
string s;
int main(){
    Hossam_Yehia;
    cin >> s;
    if(s.fins('9')!=-1)cout<<"Yes";
    else cout<<"No";
    re 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:20:10: error: 'std::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'fins'; did you mean 'find'?
   20 |     if(s.fins('9')!=-1)cout<<"Yes";
      |          ^~~~
      |          find
Language: C++

#include <iostream>
using namespace std;

int main(){
int n;
cin >> n;
if (n /10 == 9 || n % 10 == 9)
cout <<"Yes" << endl;
else 
cout << "No" << endl;
return 0;

Compiler output:
a.cc: In function 'int main()':
a.cc:11:10: error: expected '}' at end of input
   11 | return 0;
      |          ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

#include<iostream>

using namespace std;

int main(){
    int N;
    cin>>N;
    if(N/10==9||N%10==9){
        cout<<"Yes"<<endl;
    }
    else cout<<"No"<<endl:
    return 0;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:26: error: expected ';' before ':' token
   11 |     else cout<<"No"<<endl:
      |                          ^
      |                          ;
Language: Java

class Solution {
    public static void main(String[] strings) {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        String s = n + "";
        if (s.indexOf("9") != -1) {
            System.out.print("Yes");
        } else {
            System.out.print("No");
        }

    }
}

Compiler output:
Main.java:3: error: cannot find symbol
        Scanner scanner = new Scanner(System.in);
        ^
  symbol:   class Scanner
  location: class Solution
Main.java:3: error: cannot find symbol
        Scanner scanner = new Scanner(System.in);
                              ^
  symbol:   class Scanner
  location: class Solution
2 errors
Language: Java

  public static void main(String[] strings) {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        String s = n + "";
        if (s.indexOf("9") != -1) {
            System.out.print("Yes");
        } else {
            System.out.print("No");
        }

    }

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
  public static void main(String[] strings) {
                ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: Java

public class Solution {
    public static void main(String[] strings) {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        String s = n + "";
        if (s.indexOf("9") != -1) {
            System.out.print("Yes");
        } else {
            System.out.print("No");
        }

    }
}

Compiler output:
Main.java:1: error: class Solution is public, should be declared in a file named Solution.java
public class Solution {
       ^
Main.java:3: error: cannot find symbol
        Scanner scanner = new Scanner(System.in);
        ^
  symbol:   class Scanner
  location: class Solution
Main.java:3: error: cannot find symbol
        Scanner scanner = new Scanner(System.in);
                              ^
  symbol:   class Scanner
  location: class Solution
3 errors
Language: C++

public class Solution {
    public static void main(String[] strings) {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        String s = n + "";
        if (s.indexOf("9") != -1) {
            System.out.print("Yes");
        } else {
            System.out.print("No");
        }

    }
}

Compiler output:
a.cc:1:1: error: expected unqualified-id before 'public'
    1 | public class Solution {
      | ^~~~~~
Language: C

#include <stdio.h> 
int main ()
{
	int num;
	printf("please input a number.\n");
	scanf("%d",&num);
	if((num-90)<10)
	 printf("Yes");
	if else((num%10==9)) 
	 printf("Yes");
	else
	printf("No");
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:12: error: expected '(' before 'else'
    9 |         if else((num%10==9))
      |            ^~~~
      |            (
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:5:7: error: expected ')' before 'printf'
    5 |   if(n//10==9 || n%10==9)
      |     ~ ^
      |       )
    6 |     printf("Yes");
      |     ~~~~~~
main.c:9:1: error: expected expression before '}' token
    9 | }
      | ^
Language: C

#include<stdio.h>
int main(){
  int n;
  scanf("%d",&n);
  if((n//10==9) ||( n%10==9))
    printf("yes");
  else printf("no");
  return =0;
}

Compiler output:
main.c: In function 'main':
main.c:5:8: error: expected ')' before 'printf'
    5 |   if((n//10==9) ||( n%10==9))
      |      ~ ^
      |        )
    6 |     printf("yes");
      |     ~~~~~~
main.c:8:13: error: expected ')' before '}' token
    8 |   return =0;
      |             ^
      |             )
    9 | }
      | ~            
main.c:5:5: note: to match this '('
    5 |   if((n//10==9) ||( n%10==9))
      |     ^
main.c:9:1: error: expected expression before '}' token
    9 | }
      | ^
Language: C

#include<stdio.h>
int main(){
  int n;
  scanf("%d",&n);
  if(n//10==9 || n%10==9)
    printf("yes");
  else printf("no");
  return =0;
}

Compiler output:
main.c: In function 'main':
main.c:5:7: error: expected ')' before 'printf'
    5 |   if(n//10==9 || n%10==9)
      |     ~ ^
      |       )
    6 |     printf("yes");
      |     ~~~~~~
main.c:9:1: error: expected expression before '}' token
    9 | }
      | ^
Language: C

#include<stdio.h>
int main(){
  int n;
  scanf("%d",&n);
  if(n/10==9 || n%10==9){
    printf("yes");
     }
  else printf("no");
  return =0;
}

Compiler output:
main.c: In function 'main':
main.c:9:10: error: expected expression before '=' token
    9 |   return =0;
      |          ^
Language: C

#include<stdio.h>
int main(){
  int n;
  scanf("%d",&n);
  if(n//10==9 || n%10==9){
    printf("yes");
     }
  else printf("no");
  return =0;
}

Compiler output:
main.c: In function 'main':
main.c:5:7: error: expected ')' before 'printf'
    5 |   if(n//10==9 || n%10==9){
      |     ~ ^
      |       )
    6 |     printf("yes");
      |     ~~~~~~
main.c:7:6: error: expected expression before '}' token
    7 |      }
      |      ^
main.c: At top level:
main.c:8:3: error: expected identifier or '(' before 'else'
    8 |   else printf("no");
      |   ^~~~
main.c:9:3: error: expected identifier or '(' before 'return'
    9 |   return =0;
      |   ^~~~~~
main.c:10:1: error: expected identifier or '(' before '}' token
   10 | }
      | ^
Language: C

#include<stdio.h>
int main(){
  int n;
  scanf("%d",&n);
  if(n//10=9 || n%10=9){
    printf("yes");
     }
  else printf("no");
  return =0;
}

Compiler output:
main.c: In function 'main':
main.c:5:7: error: expected ')' before 'printf'
    5 |   if(n//10=9 || n%10=9){
      |     ~ ^
      |       )
    6 |     printf("yes");
      |     ~~~~~~
main.c:7:6: error: expected expression before '}' token
    7 |      }
      |      ^
main.c: At top level:
main.c:8:3: error: expected identifier or '(' before 'else'
    8 |   else printf("no");
      |   ^~~~
main.c:9:3: error: expected identifier or '(' before 'return'
    9 |   return =0;
      |   ^~~~~~
main.c:10:1: error: expected identifier or '(' before '}' token
   10 | }
      | ^
Language: C

#include<stdio.h>
int main(){
  int n;
  scanf("%d",&n);
  if(n//10=9 || n%10=9)
    printf("yes");
  else printf("no");
  return =0;
}

Compiler output:
main.c: In function 'main':
main.c:5:7: error: expected ')' before 'printf'
    5 |   if(n//10=9 || n%10=9)
      |     ~ ^
      |       )
    6 |     printf("yes");
      |     ~~~~~~
main.c:9:1: error: expected expression before '}' token
    9 | }
      | ^
Language: C

#include<stdio.h>
int main(){
  int n;
  scanf("%d",&n);
  if(n ==9||19||29||39||49||59||69||79||89||90||91||92||93||94||95||96||97||98||99)
    printf("yes");
  else printf("no");
  return =0;
}

Compiler output:
main.c: In function 'main':
main.c:8:10: error: expected expression before '=' token
    8 |   return =0;
      |          ^
Language: C

#include<stdio.h>
int main(){
  int n;
  scanf("%d",&n);
  if((n-9)//9 == 0 || n>=90){
     printf("yes");
     else printf("no");
     }
     }

Compiler output:
main.c: In function 'main':
main.c:5:11: error: expected ')' before 'printf'
    5 |   if((n-9)//9 == 0 || n>=90){
      |     ~     ^
      |           )
    6 |      printf("yes");
      |      ~~~~~~
main.c:8:6: error: expected expression before '}' token
    8 |      }
      |      ^
main.c: At top level:
main.c:9:6: error: expected identifier or '(' before '}' token
    9 |      }
      |      ^
Language: C

#include<stdio.h>
int main(){
  int n;
  scanf("%d",&n);
  if((n-9)//9 == 0 || n>=90){
     printf("yes");
     else printf("no");
     }

Compiler output:
main.c: In function 'main':
main.c:5:11: error: expected ')' before 'printf'
    5 |   if((n-9)//9 == 0 || n>=90){
      |     ~     ^
      |           )
    6 |      printf("yes");
      |      ~~~~~~
main.c:8:6: error: expected expression before '}' token
    8 |      }
      |      ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main() {
std::string s; cin >> s;
for (auto e: s) {
  if (e == '9') {
    std::cout << "YES\n"; return ;
  }
}
std::cout << "NO\n";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:27: error: return-statement with no value, in function returning 'int' [-fpermissive]
    7 |     std::cout << "YES\n"; return ;
      |                           ^~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main() {
std::string s; cin >> s;
for (auto e: s) {
if (e == '9') {
std::cout << "YES\n"; return ; }
}}
std::cout << "NO\n";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:23: error: return-statement with no value, in function returning 'int' [-fpermissive]
    7 | std::cout << "YES\n"; return ; }
      |                       ^~~~~~
a.cc: At global scope:
a.cc:9:6: error: 'cout' in namespace 'std' does not name a type
    9 | std::cout << "NO\n";
      |      ^~~~
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:10:1: error: expected declaration before '}' token
   10 | }
      | ^