criyle/codenet-compile-errors huggingface dataset:
Language: Java


import java.util.Scanner;

public class ChatRoom58A {

    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int a = s.nextInt();
        int b = s.nextInt();
        int c = 0, flag = 0;
        int res = 0;
        if (a % 2 == 1 && b % 2 == 1) {
            if (a >= b) {
                for (int i = b + 1; i <= a; i++) {
                    if (i % 2 == 1) {
                        c = i;
                        res = a * b * c;
                        //System.out.println(res);
                        flag = 1;
                        break;
                    }
                }

                if (res%2==1) {
                    System.out.println("Yes");
                } else {
                    System.out.println("No");
                }
            }
            else{
                 for (int i = a+ 1; i <= b; i++) {
                    if (i % 2 == 1) {
                        c = i;
                        res = a * b * c;
                        //System.out.println(res);
                        flag = 1;
                        break;
                    }
                }

                if (res%2==1) {
                    System.out.println("Yes");
                } else {
                    System.out.println("No");
                }

        }
        }
        else if (a % 2 == 1 && b % 2 == 1&&a==b){
            System.out.println("Yes");
        }
        else
            System.out.println("No");
    }
}


Compiler output:
Main.java:4: error: class ChatRoom58A is public, should be declared in a file named ChatRoom58A.java
public class ChatRoom58A {
       ^
1 error
Language: C++


import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int a = s.nextInt();
        int b = s.nextInt();
        int c = 0, flag = 0;
        int res = 0;
        if (a % 2 == 1 && b % 2 == 1) {
            if (a >= b) {
                for (int i = b + 1; i <= a; i++) {
                    if (i % 2 == 1) {
                        c = i;
                        res = a * b * c;
                        //System.out.println(res);
                        flag = 1;
                        break;
                    }
                }

                if (res%2==1) {
                    System.out.println("Yes");
                } else {
                    System.out.println("No");
                }
            }
            else{
                 for (int i = a+ 1; i <= b; i++) {
                    if (i % 2 == 1) {
                        c = i;
                        res = a * b * c;
                        //System.out.println(res);
                        flag = 1;
                        break;
                    }
                }

                if (res%2==1) {
                    System.out.println("Yes");
                } else {
                    System.out.println("No");
                }

        }
        }
        else if (a % 2 == 1 && b % 2 == 1&&a==b){
            System.out.println("Yes");
        }
        else
            System.out.println("No");
    }
}


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

#include<bits/stdc++.h>
using namespace std;
int main()
{
  int a,b;
  cin >> a >> b;
  if(a == 2 || c == 2){
    printf("No");
  }
  else{
    printf("Yes");
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:16: error: 'c' was not declared in this scope
    7 |   if(a == 2 || c == 2){
      |                ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
int zettai(int num,int a) {
	if (a-num< 0) {
		return num-a;
	}
	else {
		return a-num;
	}
}
int main()
{
	int N, X;
	cin >> N >> X;
	int i,j;
	int cc,mm;
       bool flag=false;
	static int x[1000];
	for (i = 0; i < N; i++) {
		cin >> x[i];
	}
	for (i = 0; i < N; i++) {
		x[i]=zettai(x[i],X);     
	}
       sort(x,x+N);
	if (N == 1) {
		cout << zettai(x[0],X)<<endl;
	}
	else {
		for(i=2;i<=x[N-1];i++){
                   for(j=0;j<N;j++;){
                        if(x[j]%i==0)flag=true;
                        else flag=false;
                   }
                if(flag) cc=i;
              }
         cout<<cc<<endl;
	}

}


Compiler output:
a.cc: In function 'int main()':
a.cc:31:35: error: expected ')' before ';' token
   31 |                    for(j=0;j<N;j++;){
      |                       ~           ^
      |                                   )
a.cc:31:36: error: expected primary-expression before ')' token
   31 |                    for(j=0;j<N;j++;){
      |                                    ^
Language: C++

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

typedef long long ll;

#define fi first
#define se second

int h,w;

int ss,st,ns,nt;

vector<pair<int,int> > v;
//vector<vector<int> > v;
//map<int,int> m;

/*bool ic1(int y,int x){
  return y>=0 && x>=0 && y<h && x<w;
}*/

/*bool ic2(int y,int x){
  return !(am[y][x]);
}*/

void apx(int y,int x,int ex){
  for(int i=x;i<ex-1;i++){
    cout<<y+1<<' '<<i+1<<' '<<y+1<<' '<<i+2<<endl;
  }
}

void apy(int x,int y,int ey){
  for(int i=y;i<ey-1;i++){
    cout<<x+1<<' '<<i+1<<' '<<x+1<<' '<<i+2<<endl;
  }
}

bool ic(int x,int y,int ey){
  for(int i=y;i<=ey;)
}

int main(){
  cin>>h>>w;
  bool am[h][w],ol[h][w];
  int a[h][w];

  for(int i=0;i<h;i++){
    for(int j=0;j<w;j++){
      cin>>a[i][j];
      if(a[i][j]%2==1){
        am[i][j]=1;
        v.push_back(make_pair(i,j));//最後に1たしてね
      }
    }
  }

  for(int i=0;i<v.size();){
    if(v[i].fi==v[i+1].fi){
      //cout<<v[i].fi+1<<' '<<v[i].se+1<<' '<<v[i+1].fi+1<<' '<<v[i+1].se+1<<endl;
      apx(v[i].fi,v[i].se,v[i+1].se+1);
      for(int j=v[i].fi;j<v[i+1].fi;j++){
        for(int k=v[i].fi;k<v[i+1].fi;k++){
          am[j][k]=1;
        }
      }
      i+=2;
    }else{
      i++;
    }
  }
  for(int i=0;i<v.size();){
    if(v[i].se==v[i+1].se){
      //cout<<v[i].fi+1<<' '<<v[i].se+1<<' '<<v[i+1].fi+1<<' '<<v[i+1].se+1<<endl;
      apy(v[i].se,v[i].fi,v[i+1].fi+1);
      for(int j=v[i].fi;j<v[i+1].fi;j++){
        for(int k=v[i].fi;k<v[i+1].fi;k++){
          am[j][k]=1;
        }
      }
      i+=2;
    }else{
      i++;
    }
  }
  /*for(int i=0;i<h;i++){
    for(int j=0;j<w;j++){
      cout
    }
  }*/
}

Compiler output:
a.cc: In function 'bool ic(int, int, int)':
a.cc:39:1: error: expected primary-expression before '}' token
   39 | }
      | ^
a.cc:39:1: warning: no return statement in function returning non-void [-Wreturn-type]
Language: C++

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

int main() {
    int A , B , C;
    cin >> A >> B;
    C = A * B % 2
    if (C == 0) {
        cout << "No" << endl;
    } 
    else {
        cout << "Yes" << endl;
    }   
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:18: error: expected ';' before 'if'
    7 |     C = A * B % 2
      |                  ^
      |                  ;
    8 |     if (C == 0) {
      |     ~~            
a.cc:11:5: error: 'else' without a previous 'if'
   11 |     else {
      |     ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int a,b,c,d,e,f[509][509],zd,qv,mj,mc,k,mi=0;
bool bo[509][509],z[509][509],zz[600*600],ll[600][600];
vector <pair <int, int> > v;
vector <pair <pair <int, int>, pair <int, int> > >pas;
int main(){
	ios_base::sync_with_stdio(false),cin.tie(0),cout.tie(0);
	cin>>a>>b;
	for(c=1; c<=a; c++){
		for(d=1; d<=b; d++){
			cin>>f[c][d];
			if(f[c][d]%2==1){
				z[c][d]=1;
				v.push_back(make_pair(c,d));
				ll[c][d]=v.size();
				k++;
			}
		}
	}
	for(c=1; c<=a; c++){
		bo[c][0]=1;bo[c][b+1]=1;
	}
	for(c=1; c<=b; c++){
		bo[0][c]=1;bo[a+1][c]=1;
	}
	if(v.size()!=0){
		for(c=0; c<v.size()-1; c++){
			if(zz[c]==1) continue;
			if(k==1) break;
			k-=2;
			d=v[c].first;
			e=v[c].second;
			bo[d][e]=1;
			mi=2;
			while(1){
				int h=d,j=e;
				if(mi==1){
					if(bo[d-1][e]==1){
						if(mi%4!=3) mi=(mi+1)%4; mi=4;
					}else{
						d--;
					}
				}else{
					if(mi==2){
						if(bo[d][e+1]==1){
						if(mi%4!=3) mi=(mi+1)%4; mi=4;
					}else{
						e++;
					}
					}else{
						if(mi==3){
							if(bo[d+1][e]==1){
						if(mi%4!=3) mi=(mi+1)%4; mi=4;
					}else{
						d++;
					}
						}else{
							if(bo[d][e-1]==1){
						if(mi%4!=3) mi=(mi+1)%4; mi=4;
					}else{
						e--;
					}
						}
					}
				}
			}
			pas.push_back(make_pari(make_pair(h,j),make_pair(d,e)));
			if(z[d][e]==1){
				zz[ll[d][e]]=1;
break;
			}
		}
	}
	cout<<pas.size()<<endl;
	for(c=0; c<pas.size(); c++) cout<<pas[c].first.first<<" "<<pas[c].first.second<<" "<<pas[c].second.first<<" "<<pas[c].second.second<<endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:68:59: error: 'h' was not declared in this scope
   68 |                         pas.push_back(make_pari(make_pair(h,j),make_pair(d,e)));
      |                                                           ^
a.cc:68:61: error: 'j' was not declared in this scope
   68 |                         pas.push_back(make_pari(make_pair(h,j),make_pair(d,e)));
      |                                                             ^
a.cc:68:39: error: 'make_pari' was not declared in this scope
   68 |                         pas.push_back(make_pari(make_pair(h,j),make_pair(d,e)));
      |                                       ^~~~~~~~~
Language: C++

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

int main(void){
int n;
string moji [100];
string result ="Yes";
cin >> n;

cin>>moji[0];

for (int i =1;i<n;i++){
cin >> moji [i];
if(moji[i-1][moji[i-1].length] == moji[i][0]){
result = "No";
}
for(int j=0;j<i;j++){
if(moji[j]==moji[i]){
result = "No";
}
}
}

cout <<  result<< endl;
return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:13: error: invalid use of non-static member function 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::length() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]'
   15 | if(moji[i-1][moji[i-1].length] == moji[i][0]){
      |             ^
In file included from /usr/include/c++/14/string:54,
                 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,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/bits/basic_string.h:1083:7: note: declared here
 1083 |       length() const _GLIBCXX_NOEXCEPT
      |       ^~~~~~
Language: C++

#include<iostream>
int main()
{
  int a,b;std::cin>>a>>b;
  std::cout<<a*b%2?"Yes":"No"<<std::endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:30: error: invalid operands of types 'const char [3]' and '<unresolved overloaded function type>' to binary 'operator<<'
    5 |   std::cout<<a*b%2?"Yes":"No"<<std::endl;
      |                          ~~~~^~~~~~~~~~~
Language: Java

import java.util.*;class Main{public static main(String[]g){Scanner s=new Scanner(System.in);System.out.println(s.nextInt()*s.nextInt()%2>0?"Yes":"No");}}

Compiler output:
Main.java:1: error: invalid method declaration; return type required
import java.util.*;class Main{public static main(String[]g){Scanner s=new Scanner(System.in);System.out.println(s.nextInt()*s.nextInt()%2>0?"Yes":"No");}}
                                            ^
1 error
Language: C++

A, B = map(int, input().split())
if A != 2:
    if B != 2:
        print("Yes")
    else:
        print("No")
else:
    print("No")


Compiler output:
a.cc:1:1: error: 'A' does not name a type
    1 | A, B = map(int, input().split())
      | ^
Language: C

#include<stdio.h>
#include<string.h>
int main(void)
{
    int a,c,i;
    char m1[11];
    char m2[11];
    scanf("%d",&a);

    for(int i=1;i<a && c==0;i++){

    scanf("\n%d\n%d",&m1,&m2);
    int len_A=strlen(m1);
    int len_B=strlen(m2);

    if(A[len_A-1]==B[0]){
    }else{
    c=1;
    printf("No\n");
    }

    }

    if(c!=1){
    printf("Yes\n");
    }
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:16:8: error: 'A' undeclared (first use in this function)
   16 |     if(A[len_A-1]==B[0]){
      |        ^
main.c:16:8: note: each undeclared identifier is reported only once for each function it appears in
main.c:16:20: error: 'B' undeclared (first use in this function)
   16 |     if(A[len_A-1]==B[0]){
      |                    ^
Language: C

#include <stdio.h>

int main(void){
  int a,b,c;
  
  scanf("%d",&a);
  scanf("%d",&a);
  
  if(a*b%2==0){
    printf("Yes\n");
  }else{
    printf("No\n");
  }
    retrun 0;
}

Compiler output:
main.c: In function 'main':
main.c:14:5: error: 'retrun' undeclared (first use in this function)
   14 |     retrun 0;
      |     ^~~~~~
main.c:14:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:14:11: error: expected ';' before numeric constant
   14 |     retrun 0;
      |           ^~
      |           ;
Language: C++

    #include<stdio.h> 
   #include<string.h>
        int main(void)
        {
    char a[100][10];
    int b;
    scanf("%d",&b);
    char last;
    int out==0;
    for (int i=0;i<b;i++)
    {
    scanf("%s",a[i]);
    if(a[i][0]!=last);
    for (int j=0;j<i;j++)
    {
    if(strcmp(a[i],a[j])==0) out=1;
    }
    for (int j=0;j<100;j++)
    {
    if(a[i][j]=='\0')
    {
    last=a[i][j-1];
    break;
    }
    }
    }
        if(out==1)printf("Yes");
        else printf("No");
        }

Compiler output:
a.cc: In function 'int main()':
a.cc:9:12: error: expected initializer before '==' token
    9 |     int out==0;
      |            ^~
a.cc:16:30: error: 'out' was not declared in this scope
   16 |     if(strcmp(a[i],a[j])==0) out=1;
      |                              ^~~
a.cc:27:12: error: 'out' was not declared in this scope
   27 |         if(out==1)printf("Yes");
      |            ^~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int a,b;
int main()
{
	cin>>a>>b;
	for(int i=1;i<=3;i++)
		if(a*b*c%2==1)
		{
			puts("Yes");
			return 0;
		}
	puts("No");
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:24: error: 'c' was not declared in this scope
    8 |                 if(a*b*c%2==1)
      |                        ^
Language: C++

#include <iostream>

int main(){
  int A, B;
  cin >> A >> B;
  
  int C = 3;
  
  if((A * B * C) % 2 == 1){
    printf("Yes\n");
  }else if((A * B * C) % 2 == 0){
    printf("No\n");
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   cin >> A >> B;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
Language: C

#include<stdio.h>
int main(void){
  int a, b;
  scanf("%d%d", &a, &b);
  if(a % 2 == 0 || b % 2 == 0){
    printtf("No\n");
    return 0;
  }
  printf("Yes\n");
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:5: error: implicit declaration of function 'printtf'; did you mean 'printf'? [-Wimplicit-function-declaration]
    6 |     printtf("No\n");
      |     ^~~~~~~
      |     printf
Language: C++

#include<stdio.h>
int main(void){
  int a, b;
  scanf("%d%d", &a, &b);
  if(a % 2 == 0 || b % 2 == 0){
    printtf("No\n");
    return 0;
  }
  printf("Yes\n");
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: error: 'printtf' was not declared in this scope; did you mean 'printf'?
    6 |     printtf("No\n");
      |     ^~~~~~~
      |     printf
Language: C++

#include <iostream>
using namespace std;
intmain;
{
	int A,B;
	cin<<A<<B;
	if(A!=2 && B!=2) cout>>"Yes">>endl;
	if(A==2 || B==2) cout>>"No">>endl;
}

Compiler output:
a.cc:3:1: error: 'intmain' does not name a type
    3 | intmain;
      | ^~~~~~~
a.cc:4:1: error: expected unqualified-id before '{' token
    4 | {
      | ^
Language: Java

import java.util.*;
 
public class Main {
  public static void main(String[] args) {
    InputReader sc = new InputReader(System.in);
 
    int n = sc.nextInt();
    int m = sc.nextInt();
    if((n*m)%2==1){
    System.out.println("Yes");
    }else{
 
    System.out.println("No");
    }
  }
}

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

#include <bits/stdc++.h>
using namespace std:
int main() {
  int a, b;
  cin >> a >> b;
  if (a != 2 && b != 2) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}

Compiler output:
a.cc:2:20: error: expected ';' before ':' token
    2 | using namespace std:
      |                    ^
      |                    ;
a.cc:2:20: error: expected unqualified-id before ':' token
Language: C++

#include <iostream>
using namespace std;
{
	int A,B;
	cin<<A<<B;
	if(A!=2 && B!=2) cout>>"Yes">>endl;
	if(A==2 || B==2) cout>>"No">>endl;
}

Compiler output:
a.cc:3:1: error: expected unqualified-id before '{' token
    3 | {
      | ^
Language: C++

#include <iostream>
using namespace std;
int main(ABの積)
{
	int A,B;
	cin<<A<<B;
	if(A!=2 && B!=2) cout>>"Yes">>endl;
	if(A==2 || B==2) cout>>"No">>endl;
}

Compiler output:
a.cc:3:5: error: cannot declare '::main' to be a global variable
    3 | int main(ABの積)
      |     ^~~~
a.cc:3:10: error: 'AB\U0000306e\U00007a4d' was not declared in this scope
    3 | int main(ABの積)
      |          ^~~~~~
Language: C

//-*- coding:utf-8 -*- 
int main(void){
 int A＝0,B＝0;
 
 scanf(%d %d, &A ,&B);
 
 if(A%2 != 0 && B%2 != 0){
  printf("Yes\n");
 }else{
  print("No\n");
 }

 return 0;
}


Compiler output:
main.c: In function 'main':
main.c:5:2: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    5 |  scanf(%d %d, &A ,&B);
      |  ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | //-*- coding:utf-8 -*-
main.c:5:2: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    5 |  scanf(%d %d, &A ,&B);
      |  ^~~~~
main.c:5:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:5:8: error: expected expression before '%' token
    5 |  scanf(%d %d, &A ,&B);
      |        ^
main.c:7:5: error: 'A' undeclared (first use in this function)
    7 |  if(A%2 != 0 && B%2 != 0){
      |     ^
main.c:7:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:17: error: 'B' undeclared (first use in this function)
    7 |  if(A%2 != 0 && B%2 != 0){
      |                 ^
main.c:8:3: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    8 |   printf("Yes\n");
      |   ^~~~~~
main.c:8:3: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:8:3: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:8:3: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:10:3: error: implicit declaration of function 'print' [-Wimplicit-function-declaration]
   10 |   print("No\n");
      |   ^~~~~
Language: Java

import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int a = scan.nextint();
int b = scan.nextint();
if(a*b%2==0){
System.out.println("Yes");
        }else{
             System.out.println("No");}
scan.close();
}
}

Compiler output:
Main.java:5: error: cannot find symbol
int a = scan.nextint();
            ^
  symbol:   method nextint()
  location: variable scan of type Scanner
Main.java:6: error: cannot find symbol
int b = scan.nextint();
            ^
  symbol:   method nextint()
  location: variable scan of type Scanner
2 errors
Language: C++

#include<iostream>
using namespase std;

main(){
  int a,b;
  cin >> a >> b;
  if (a%2==0 && b%2==0) cout >> "Yes" >> endl;
  else cout >> "No" >> endl;
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespase'
    2 | using namespase std;
      |       ^~~~~~~~~
a.cc:4:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    4 | main(){
      | ^~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin >> a >> b;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:7:25: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |   if (a%2==0 && b%2==0) 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:7:42: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |   if (a%2==0 && b%2==0) cout >> "Yes" >> endl;
      |                                          ^~~~
      |                                          std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:8:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |   else 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:8:24: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |   else 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

♯-*- coding:utf-8 -*- 
int main(void){
 int A＝0,B＝0;
 
 scanf(%d %d, &A ,&B);
 
 if(A%2 != 0 && B%2 != 0){
  printf("Yes\n");
 }else{
  print("No\n");
 }

 return 0;
}

Compiler output:
main.c:1:1: error: stray '\342' in program
    1 | <U+266F>-*- coding:utf-8 -*-
      | ^~~~~~~~
main.c:1:2: error: expected identifier or '(' before '-' token
    1 | ♯-*- coding:utf-8 -*-
      |  ^
Language: C++

#include <iostream>
using namespace std;
int main(abc)
{
	int A,B;
	cin<<A<<B;
	if(A!=2 && B!=2) cout>>"Yes">>endl;
	if(A==2 || B==2) cout>>"No">>endl;
}

Compiler output:
a.cc:3:5: error: cannot declare '::main' to be a global variable
    3 | int main(abc)
      |     ^~~~
a.cc:3:10: error: 'abc' was not declared in this scope; did you mean 'abs'?
    3 | int main(abc)
      |          ^~~
      |          abs
Language: Java

import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int a = sc.nextint();
int b = sc.nextint();
if(a*b%2==0){
System.out.println("Yes");
        }else{
             System.out.println("No");}
scan.close();
}
}

Compiler output:
Main.java:5: error: cannot find symbol
int a = sc.nextint();
          ^
  symbol:   method nextint()
  location: variable sc of type Scanner
Main.java:6: error: cannot find symbol
int b = sc.nextint();
          ^
  symbol:   method nextint()
  location: variable sc of type Scanner
Main.java:11: error: cannot find symbol
scan.close();
^
  symbol:   variable scan
  location: class Main
3 errors
Language: Java

import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int a = sc.next();
int b = sc.next();
if(a*b%2==0){
System.out.println("Yes");
        }else{
             System.out.println("No");}
scan.close();
}
}

Compiler output:
Main.java:5: error: incompatible types: String cannot be converted to int
int a = sc.next();
               ^
Main.java:6: error: incompatible types: String cannot be converted to int
int b = sc.next();
               ^
Main.java:11: error: cannot find symbol
scan.close();
^
  symbol:   variable scan
  location: class Main
3 errors
Language: Java

import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String a = sc.next();
String b = sc.next();
if(a*b%2==0){
System.out.println("Yes");
        }else{
             System.out.println("No");}
scan.close();
}
}

Compiler output:
Main.java:7: error: bad operand types for binary operator '*'
if(a*b%2==0){
    ^
  first type:  String
  second type: String
Main.java:11: error: cannot find symbol
scan.close();
^
  symbol:   variable scan
  location: class Main
2 errors
Language: C++

int main(void)
{
int a,b;
scanf("%d",&a);
scanf("%d",&b);
if(a*b==(int)(a*b/2)*2)printf("yes");
else printf("no");
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:1: error: 'scanf' was not declared in this scope
    4 | scanf("%d",&a);
      | ^~~~~
a.cc:6:24: error: 'printf' was not declared in this scope
    6 | if(a*b==(int)(a*b/2)*2)printf("yes");
      |                        ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(void)
a.cc:7:6: error: 'printf' was not declared in this scope
    7 | else printf("no");
      |      ^~~~~~
a.cc:7:6: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: Java

import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int a = scan.nextLine();
int b = scan .nextLine();
if(a*b%2==0){
System.out.println("Yes");
        }else{
             System.out.println("No");}
scan.close();
}
}

Compiler output:
Main.java:5: error: incompatible types: String cannot be converted to int
int a = scan.nextLine();
                     ^
Main.java:6: error: incompatible types: String cannot be converted to int
int b = scan .nextLine();
                      ^
2 errors
Language: Java

import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int a = sc.nextLine();
int b = sc.nextLine();
if(a*b%2==0){
System.out.println("Yes");
        }else{
             System.out.println("No");}
scan.close();
}
}

Compiler output:
Main.java:5: error: cannot find symbol
int a = sc.nextLine();
        ^
  symbol:   variable sc
  location: class Main
Main.java:6: error: cannot find symbol
int b = sc.nextLine();
        ^
  symbol:   variable sc
  location: class Main
2 errors
Language: Java

import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in); int
int a = sc.nextLine();
int b = sc.nextLine();
if(a*b%2==0){
System.out.println("Yes");
        }else{
             System.out.println("No");}
scan.close();
}
}

Compiler output:
Main.java:4: error: not a statement
Scanner scan = new Scanner(System.in); int
                                       ^
Main.java:4: error: ';' expected
Scanner scan = new Scanner(System.in); int
                                          ^
2 errors
Language: Java

import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in); int
Scanner sc = new Scanner(System.in);
int a = sc.nextLine();
int b = sc.nextLine();
if(a*b%2==0){
System.out.println("Yes");
        }else{
             System.out.println("No");}
scan.close();
}
}

Compiler output:
Main.java:5: error: ';' expected
Scanner sc = new Scanner(System.in);
       ^
1 error
Language: C++

#include <bits/stdc++.h>
using namespace std;
bool isprime(int n)
{
	int a,b;
	cin>>a>>b;
	if(a%2==0||b%2==0)
	{
		cout<<"No";
	}
	else
	{
		cout<<"Yes";
	}
	return 0;
}


Compiler output:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C++

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

int main(void){
int a,b;
string result =“Yes”;
cin >> a >> b;

if ((a*b) %2==0){
result = “No”;
}

cout <<  result<< endl;
return 0;
}

Compiler output:
a.cc:7:16: error: extended character “ is not valid in an identifier
    7 | string result =“Yes”;
      |                ^
a.cc:7:16: error: extended character ” is not valid in an identifier
a.cc:11:10: error: extended character “ is not valid in an identifier
   11 | result = “No”;
      |          ^
a.cc:11:10: error: extended character ” is not valid in an identifier
a.cc: In function 'int main()':
a.cc:7:16: error: '\U0000201cYes\U0000201d' was not declared in this scope
    7 | string result =“Yes”;
      |                ^~~~~
a.cc:11:10: error: '\U0000201cNo\U0000201d' was not declared in this scope
   11 | result = “No”;
      |          ^~~~
Language: C++

#include <bits/stdc++.h>
 
using namespace std;
#define rep(i,n) for(int i=0;i<n;i++)
#define Rep(i,n0,n) for(int i=n0;i<n;i++)
#define Com(i,j,n) for(int i=0;i<n-1;i++)for(int j=i+1;j<n;j++)
const int INF =100100100;
const int MOD = (int)1e9+7;
const double EPS = 1e-9;
typedef long long ll;
typedef long li;
#define pb push_back 
#define mp make_pair

signed main (){	
	int aa,bb;
	cin >> aa >> bb;
	if (aa==2 || bb==2){
		cout << "No";
	}
	else{
		cout << "Yes";
	}
	cout << endl:
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:24:21: error: expected ';' before ':' token
   24 |         cout << endl:
      |                     ^
      |                     ;
Language: Java

import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in); int
String[] strArray = sc.nextint().split(" ");
int a =sc.nextInt(strArray[0]);
int b =sc.nextInt(strArray[1]);
if(a*b%2==0){
System.out.println("Yes");
        }else{
             System.out.println("No");}
scan.close();
}
}

Compiler output:
Main.java:5: error: ';' expected
String[] strArray = sc.nextint().split(" ");
        ^
1 error
Language: Java

import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in); int
String[] strArray = sc.nextLine().split(" ");
int a =sc.nextInt(strArray[0]);
int b =sc.nextInt(strArray[1]);
if(a*b%2==0){
System.out.println("Yes");
        }else{
             System.out.println("No");}
scan.close();
}
}

Compiler output:
Main.java:5: error: ';' expected
String[] strArray = sc.nextLine().split(" ");
        ^
1 error
Language: Java

import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in); int
int[] intArray = Arrays.stream(sc.nextLine().split(" "))
int a =sc.nextInt();
int b =sc.nextInt();
if(a*b%2==0){
System.out.println("Yes");
        }else{
             System.out.println("No");}
scan.close();
}
}

Compiler output:
Main.java:4: error: not a statement
Scanner scan = new Scanner(System.in); int
                                       ^
Main.java:4: error: ';' expected
Scanner scan = new Scanner(System.in); int
                                          ^
Main.java:5: error: ';' expected
int[] intArray = Arrays.stream(sc.nextLine().split(" "))
                                                        ^
3 errors
Language: Java

import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in); int
String[] strArray = sc.nextint().split(" ");
int a =sc.nextInt();
int b =sc.nextInt();
if(a*b%2==0){
System.out.println("Yes");
        }else{
             System.out.println("No");}
scan.close();
}
}

Compiler output:
Main.java:5: error: ';' expected
String[] strArray = sc.nextint().split(" ");
        ^
1 error
Language: C++

attrs = Array.new
while line = $stdin.gets
    attrs << line.chomp
end
attrs.shift
words = attrs
used = Array.new
count = 1

for i in 0..(words.length - 2) do
  if used.include?(words[i]) then
    break
  end
  if (words[i][-1]) === (words[i + 1][0]) then
    count += 1
    used << words[i]
  end
end

if count == words.length then
  puts "Yes"
else
  puts "No"
end


Compiler output:
a.cc:10:10: error: too many decimal points in number
   10 | for i in 0..(words.length - 2) do
      |          ^~~
a.cc:1:1: error: 'attrs' does not name a type
    1 | attrs = Array.new
      | ^~~~~
Language: C++

#include <idstream>
using namespace std;
int main()
{
	int A,B,C;
	cin <<A<<B;
	if(A!=2 && B!=2) cout>>"Yes">>endl;
	if(A==2 || B==2) cout>>"No">>endl;
}

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

#include <iostream>
#include <set>

using namespace std;

int main()
{
	int n;
	string *str, old;
	set<string> s; 

	cin >> n;
	str = new string[n];
	cin >> str[0];
	s.insert(str[0]);
	old = str[0];
	for (int i = 1; i < n; i++) {
		cin >> str[i];
		if (old[old.size() - 1] != str[i][0]) {
			cout << "No" << endl;
			return 0;
		} else {
			if (s.count(str[i]) != 0) {
				cout << "No" << endl;
				return 0;
			} else {
				s.insert(str[i]);
				old = str[i];
			}
		}
	}

	cout << "Yes" << endl;

	delete[] str;
	return 0;
}


Compiler output:
main.c:1:10: fatal error: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: Java

import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in); int
int a  = sc.nextInt();
int b = scan.nextInt();
if(a*b%2==0){
System.out.println("Yes");
        }else{
             System.out.println("No");}
scan.close();
}
}

Compiler output:
Main.java:4: error: not a statement
Scanner scan = new Scanner(System.in); int
                                       ^
Main.java:4: error: ';' expected
Scanner scan = new Scanner(System.in); int
                                          ^
2 errors
Language: Java

import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in); int
int a= scan.nextInt();
Scanner scan = new Scanner(System.in); int
int b= scan.nextInt();
if(a*b%2==0){
System.out.println("Yes");
        }else{
             System.out.println("No");}
scan.close();
}
}

Compiler output:
Main.java:4: error: not a statement
Scanner scan = new Scanner(System.in); int
                                       ^
Main.java:4: error: ';' expected
Scanner scan = new Scanner(System.in); int
                                          ^
Main.java:6: error: not a statement
Scanner scan = new Scanner(System.in); int
                                       ^
Main.java:6: error: ';' expected
Scanner scan = new Scanner(System.in); int
                                          ^
4 errors
Language: Java

import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in); int
int a= scan.nextInt();
int b= scan.nextInt();
if(a*b%2==0){
System.out.println("Yes");
        }else{
             System.out.println("No");}
scan.close();
}
}

Compiler output:
Main.java:4: error: not a statement
Scanner scan = new Scanner(System.in); int
                                       ^
Main.java:4: error: ';' expected
Scanner scan = new Scanner(System.in); int
                                          ^
2 errors
Language: C++

#incloude <iostream>
using namespace std;

int main(){
  int A,B;
  cin >> A >> B;
  if(A%2==0 || B%2==0) cout << "No" << endl;
  else cout << "Yes" << endl;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #incloude; did you mean #include?
    1 | #incloude <iostream>
      |  ^~~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin >> A >> B;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #incloude <iostream>
a.cc:7:24: error: 'cout' was not declared in this scope
    7 |   if(A%2==0 || B%2==0) cout << "No" << endl;
      |                        ^~~~
a.cc:7:24: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:40: error: 'endl' was not declared in this scope
    7 |   if(A%2==0 || B%2==0) cout << "No" << endl;
      |                                        ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #incloude <iostream>
a.cc:8:8: error: 'cout' was not declared in this scope
    8 |   else cout << "Yes" << endl;
      |        ^~~~
a.cc:8:8: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:8:25: error: 'endl' was not declared in this scope
    8 |   else cout << "Yes" << endl;
      |                         ^~~~
a.cc:8:25: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

#include <bits/stdc++.h>
#define ADD(a, b) a = (a + ll(b)) % mod
#define MUL(a, b) a = (a * ll(b)) % mod
#define MAX(a, b) a = max(a, b)
#define MIN(a, b) a = min(a, b)
#define rep(i, a, b) for(int i = int(a); i < int(b); i++)
#define rer(i, a, b) for(int i = int(a) - 1; i >= int(b); i--)
#define all(a) (a).begin(), (a).end()
#define sz(v) (int)(v).size()
#define pb push_back
#define sec second
#define fst first
#define debug(fmt, ...) Debug(__LINE__, ":", fmt, ##__VA_ARGS__)
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef pair<int, int> pi;
typedef pair<ll, ll> pl;
typedef pair<int, pi> ppi;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef vector<vl> mat;
typedef complex<double> comp;
void Debug() {cout << '\n'; }
template<class FIRST, class... REST>void Debug(FIRST arg, REST... rest){
	cout<<arg<<" ";Debug(rest...);}
template<class T>ostream& operator<<(ostream& out,const vector<T>& v) {
	out<<"[";if(!v.empty()){rep(i,0,sz(v)-1)out<<v[i]<<", ";out<<v.back();}out<<"]";return out;}
template<class S, class T>ostream& operator<<(ostream& out,const pair<S, T>& v){
	out<<"("<<v.first<<", "<<v.second<<")";return out;}
const int MAX_N = 200010;
const int MAX_V = 100010;
const double eps = 1e-6;
const ll mod = 1000000007;
const int inf = 1 << 29;
const ll linf = 1LL << 60;
const double PI = 3.14159265358979323846;
///////////////////////////////////////////////////////////////////////////////////////////////////


void solve() {
	if(A == 2 || B == 2) cout << "No\n";
	else cout << "Yes\n";
}

int main() {
#ifndef LOCAL
	ios::sync_with_stdio(false);
    cin.tie(0);
#endif
    cout << fixed;
	cout.precision(20);
	srand((unsigned int)time(NULL));
#ifdef LOCAL
	//freopen("in.txt", "wt", stdout); //for tester
    freopen("in.txt", "rt", stdin);
#endif	
	solve();
#ifdef LOCAL
    cerr << "Time elapsed: " << 1.0 * clock() / CLOCKS_PER_SEC << " s.\n";
#endif
	return 0;
}



Compiler output:
a.cc: In function 'void solve()':
a.cc:42:12: error: 'A' was not declared in this scope
   42 |         if(A == 2 || B == 2) cout << "No\n";
      |            ^
a.cc:42:22: error: 'B' was not declared in this scope
   42 |         if(A == 2 || B == 2) cout << "No\n";
      |                      ^
Language: C

#include <iostream>

using namespace std;

int main(void)
{
	int a, b;
	cin >> a >> b;
	cout << (((a * b) % 2) ? "Yes\n" : "No\n");
	return 0;
}

Compiler output:
main.c:1:10: fatal error: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: C

#include <iostream>
#include <algorithm>
#include <math.h>
#include <string.h>
#include <cstdio>
using namespace std;
int main(){
	char a[110][11];
	int time;
	bool flag=false;
	//int index=0;
	scanf("%d",&time);
	gets(a[0]);
	for(int i=1;i<=time;i++){
		gets(a[i]);
		if(a[i][0]==a[i-1][strlen(a[i-1])]){
			flag=true;
	//		index=1;
		}
		for(int j=0;j<i;j++){
			if(strcmp(a[i],a[j])==0){
				flag=true;
	//			index=2;
			}
		}
	}
	//if(index==1){
	//	printf("first");
	//}else{
	//	printf("same");
	//}
	if(flag==true){
		printf("No");
	}else{
		printf("Yes");
	}
	return 0;
}

Compiler output:
main.c:1:10: fatal error: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: C

#include<stdio.h>

int main(void){
  scanf("%d %d",&A,&B);
  	if(A*B%2){
    	printf("No");
    }else{
    	printf("Yes");
    }
  }
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:18: error: 'A' undeclared (first use in this function)
    4 |   scanf("%d %d",&A,&B);
      |                  ^
main.c:4:18: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:21: error: 'B' undeclared (first use in this function)
    4 |   scanf("%d %d",&A,&B);
      |                     ^
main.c: At top level:
main.c:11:1: error: expected identifier or '(' before 'return'
   11 | return 0;
      | ^~~~~~
main.c:12:1: error: expected identifier or '(' before '}' token
   12 | }
      | ^
Language: C++

#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <stack>
#include <queue>
#include <set>
#include <map>
using namespace std;
using ll = long long;


int main() {
	
	int a, b;
	cin >> a >> b;
	
	if ( a % 2 == o or b % 2 == 0)
      cout << "No" << endl;
	else
      cout << "Yes" << endl;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:21:23: error: 'o' was not declared in this scope
   21 |         if ( a % 2 == o or b % 2 == 0)
      |                       ^
Language: C++

#include<iostream>

int main()
{
	long A, B;
	cin >> A >> B;
	if ((A % 2 == 1) && (B % 2 == 1)) {
		cout << "Yes";
	}
	else {
		cout << "No";
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |         cin >> A >> B;
      |         ^~~
      |         std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |                 cout << "Yes";
      |                 ^~~~
      |                 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:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |                 cout << "No";
      |                 ^~~~
      |                 std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include "bits/stdc++.h"

using namespace std;

typedef long long ll;
typedef pair<int,int> P;
constexpr double EPS = 1e-12;
constexpr int INF = numeric_limits<int>::max()/2;
constexpr int MOD = 1e9+7;

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

    int a,c;cin>>a>>b;
    if(a%2 && b%2) cout<<"Yes"<<endl;
    else cout<<"No"<<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:21: error: 'b' was not declared in this scope
   15 |     int a,c;cin>>a>>b;
      |                     ^
Language: Java

import java.util.Scanner;
public class practice1 {

	public static void main(String[] args){
		Scanner stdIn=new Scanner(System.in);
		int A=stdIn.nextInt();
		int B=stdIn.nextInt();
		if((A*B)%2==0)
			System.out.println("No");
		else
			System.out.println("Yes");
	}
}


Compiler output:
Main.java:2: error: class practice1 is public, should be declared in a file named practice1.java
public class practice1 {
       ^
1 error
Language: C

#include<stdio.h>
int main(void)
{
    int a,b;
    
    scanf("%d %d",&a,&b);

    if(a%2==1 && b%2==1){
    printf("Yes\n");
    }else{
    printf("No\n");
    
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:14:1: error: expected declaration or statement at end of input
   14 | }
      | ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main()
{
int a, b;
cin >> a >> b;
if(a%2 == 0 || b%2 == 0)cout << "No";
else cout "Yes";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:10: error: expected ';' before string constant
    8 | else cout "Yes";
      |          ^~~~~~
      |          ;
Language: Java

public static void main(String[] args){
		Scanner stdIn=new Scanner(System.in);
		int A=stdIn.nextInt();
		int B=stdIn.nextInt();
		if((A*B)%2==0)
			System.out.println("No");
		else
			System.out.println("Yes");
	}

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

#include<stdio.h>
int main(void)
{
    int a,b=0;
    
    scanf("%d %d", &a,&b);
    if(a%2==1 && b%2==1){
    printf("Yes\n");
    }else{
    printf("No\n");
    
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:13:1: error: expected declaration or statement at end of input
   13 | }
      | ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(void)
{
	int a,b;
	cin>>a>>b;
	if((a*b)%==0){
		cout<<"Yes"<<endl;
	}
	else{
		cout<<"No"<<endl;
	}
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:19: error: expected primary-expression before '=' token
    7 |         if((a*b)%==0){
      |                   ^
Language: C++

#include<stdio.h>
#include<iostream>
using namespace std;
int main(){
  int A;
  cin >> A;
  int B;
  cin >> B;  
  int C;
  int f = 0;
  for(C = 1;C < 4;C++){
    if(A*B*C % 2 == 0){
      f = 1;
    }
  }
  if(f==1){
    cout << No << endl;
  }
  else{
    cout << Yes << endl;
  }
}

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

#include <cstdio>

int main(){
	int a,b;
	scanf("%d%d",&a,&b);
	if(a != 2 && b != 2)cout << "Yes";
	else cout << "No";
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:29: error: 'cout' was not declared in this scope
    6 |         if(a != 2 && b != 2)cout << "Yes";
      |                             ^~~~
a.cc:7:14: error: 'cout' was not declared in this scope
    7 |         else cout << "No";
      |              ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b;
  cin>>a>>b;
  if(a*b%2==0){
  cout<<No<<endl;
  }
  else{
  cout<<Yes<endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: 'No' was not declared in this scope
    7 |   cout<<No<<endl;
      |         ^~
a.cc:10:9: error: 'Yes' was not declared in this scope
   10 |   cout<<Yes<endl;
      |         ^~~