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

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

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

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

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

int main(){
  int A;
  int B;
  cin >> A >>B;
  if(A < 1 || A > 3 || B < 1 || B > 3){
return 0;
  }
  else if(A == 2 || B == 2){
    cout << "Yas " << endl;
  }
  else{
    cout << "No " << endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'cin' was not declared in this scope
    4 |   cin >> A >>B;
      |   ^~~
a.cc:9:5: error: 'cout' was not declared in this scope
    9 |     cout << "Yas " << endl;
      |     ^~~~
a.cc:9:23: error: 'endl' was not declared in this scope
    9 |     cout << "Yas " << endl;
      |                       ^~~~
a.cc:12:5: error: 'cout' was not declared in this scope
   12 |     cout << "No " << endl;
      |     ^~~~
a.cc:12:22: error: 'endl' was not declared in this scope
   12 |     cout << "No " << endl;
      |                      ^~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 |   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 < iostream > 
using namespace std ;
int main () 
{
  int a , b ; 
  cin >> a >> b ;
  if ( a * b % 2 == 1 ) 
    cout << "Yes" ; 
  else cout << "No" ;
  return 0 ;
}


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

import java.util.Scanner;

public class ABC333 {

    public static void main(String[] args) {

        Scanner in = new Scanner(System.in);

        int A = in.nextInt();
        int B = in.nextInt();

        printOutcome(A, B);
    }

    private static void printOutcome(int A, int B) {


        String outcome = ((A * B) % 2 == 0) ? "NO" : "YES";

        System.out.println(outcome);

    }
}


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

#include<bits\stdc++.h>
using namespace std;
#define pb  					push_back
#define mp 						make_pair
#define all(v) 					((v).begin()) ,((v).end())
#define let(o,v)				memset(o,v,sizeof (o))
typedef long long 				ll;
typedef vector<int>				vi;
typedef vector<vi>				vvi;
typedef vector<string>			vs;

const int MOD = (int)1e9 + 7;
const int oo = (int)1e9;
const ll OO = (ll)1e18;
const double PI = acos(-1.0);
const int N = (int)1e6 + 9;

bool isprime(int n) {
	if (n <= 1)
		return 0;
	for (int i = 2; i*i <= n; i++)
		if (n%i == 0)
			return false;
}
ll intlog(ll base, ll x) {
	return (log(x) / log(base));
}
bool prime[N];
void primee()
{

	for (int p = 2; p*p <= N; p++)
	{

		if (prime[p] == true)
		{
			for (int i = p * 2; i < N; i += p)
				prime[i] = false;
		}
	}

}
string decToBinary(ll n)
{
	string z = "";
	int i = 0;
	while (n > 0) {

		z += (n % 2) + 48;
		n = n / 2;
		i++;
	}
	reverse(all(z));
	return z;
}
int main()
{
	int a, b;
	scanf("%d%d",&a,&b);
	if ((a*b * 1) % 2 == 1 || (a*b * 2) % 2 == 1 || (a*b * 3) % 2 == 1) printf("Yes\n");
	else printf("No\n");
	return 0;
}

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

#include <bits/stdc++.h>
//#pragma GCC optimize("Ofast")
//#pragma GCC optimize ("unroll-loops")
//#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
//#include <ext/pb_ds/assoc_container.hpp> 
//#include <ext/pb_ds/tree_policy.hpp> 
#ifdef _WIN32
    #define getchar_unlocked getchar
#endif
inline void fin(int &x){ register char c=0;x=0;while(c<33)c=getchar_unlocked();do{x=(x<<1)+(x<<3)+c-'0';c=getchar_unlocked();}while(c>33);}
#define boost ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0)
#define wypisz(x) cerr << #x << " " << x << "\n";
#define ll long long
#define ld long double
#define pii pair<int,int>
#define whole(c) (c).begin(), (c).end()
using namespace std;
//using namespace __gnu_pbds;
//typedef tree<int,null_type, less<int>, rb_tree_tag, tree_order_statistics_node_update> ordered_set;
int n,m,t[505][505];
vector<vector<int> > res;
int main()
{   boost;
    cin >> n >> m;
    for(int i=1;i<=n;i++)
        for(int j=1;j<=m;j++)
            cin >> t[i][j];
    int i = 1;
    while(1)
    {   if(i&1)
        {   for(int j=1;j<m;j++)
                if(t[i][j]&1)
                    t[i][j+1]++,
                    res.push_back({i,j,i,j+1});
            if(i==n)break;
            if(t[i][m]&1)
                t[i+1][m]++,
                res.push_back({i,m,i+1,m});
        }
        else
        {   for(int j=m;j>1;j--)
                if(t[i][j]&1)
                    t[i][j-1]++,
                    res.push_back({i,j,i,j-1});
            if(i==n)break;
            if(t[i][1]&1)
                t[i+1][1]++,
                res.push_back({i,1,i+1,1});
        }
        i++;
    }
    cout << res.size() << "\n";
    for(auto i : res)
    
}
// 1 1
// 1 1
//overflow??

Compiler output:
a.cc: In function 'void fin(int&)':
a.cc:10:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
   10 | inline void fin(int &x){ register char c=0;x=0;while(c<33)c=getchar_unlocked();do{x=(x<<1)+(x<<3)+c-'0';c=getchar_unlocked();}while(c>33);}
      |                                        ^
a.cc: In function 'int main()':
a.cc:55:1: error: expected primary-expression before '}' token
   55 | }
      | ^
Language: C++

#include<iostream>
using namepspace std;
int main(){
int a,b;
cin>>a>>b;
if(a%2==0||b%2==0){
cout<<"No"<<endl;
return 0;
}
cout<<"Yes"<<endl;
return 0;
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namepspace'
    2 | using namepspace std;
      |       ^~~~~~~~~~
a.cc: In function 'int main()':
a.cc:5:1: 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
      |                  ^~~
a.cc:7:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 | 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:7:13: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 | cout<<"No"<<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:10:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 | 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:10:14: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 | cout<<"Yes"<<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>
using namespace std;
int main(){
int a,b;
cin>>a>>b;
if(a%2==0||b%2==0)
cout<<"No"<<endl,return 0;
cout<<"Yes"<<endl;
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:18: error: expected primary-expression before 'return'
    7 | cout<<"No"<<endl,return 0;
      |                  ^~~~~~
Language: C++

#include<iostream>
using namepspace std;
int main(){
int a,b;
cin>>a>>b;
if(a%2==0||b%2==0)
cout<<"No"<<endl,return 0;
cout<<"Yes"<<endl;
return 0;
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namepspace'
    2 | using namepspace std;
      |       ^~~~~~~~~~
a.cc: In function 'int main()':
a.cc:5:1: 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
      |                  ^~~
a.cc:7:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 | cout<<"No"<<endl,return 0;
      | ^~~~
      | 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:13: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 | cout<<"No"<<endl,return 0;
      |             ^~~~
      |             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:7:18: error: expected primary-expression before 'return'
    7 | cout<<"No"<<endl,return 0;
      |                  ^~~~~~
a.cc:8:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 | 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:8:14: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 | cout<<"Yes"<<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>
using namepspace std;
int main(){
int a,b;
cin>>a>>b;
if(a%2==0||b%2==0)
cout<<"No"<<endl,return 0;
cout<<"Yes"<<endl;
return 0;
}


Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namepspace'
    2 | using namepspace std;
      |       ^~~~~~~~~~
a.cc: In function 'int main()':
a.cc:5:1: 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
      |                  ^~~
a.cc:7:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 | cout<<"No"<<endl,return 0;
      | ^~~~
      | 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:13: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 | cout<<"No"<<endl,return 0;
      |             ^~~~
      |             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:7:18: error: expected primary-expression before 'return'
    7 | cout<<"No"<<endl,return 0;
      |                  ^~~~~~
a.cc:8:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 | 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:8:14: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 | cout<<"Yes"<<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>
using newspace std;

int main(){
  int A;
  int B;
  cin>>A;
  cin>>B;
  for (int C=1; C<=3; ++C){
    if (A*B*C % 2 == 1) {
      cout << C <<endl;
    }
  }
  return 0;
  

Compiler output:
a.cc:3:7: error: expected nested-name-specifier before 'newspace'
    3 | using newspace std;
      |       ^~~~~~~~
a.cc: In function 'int main()':
a.cc:8:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    8 |   cin>>A;
      |   ^~~
      |   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:12:7: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   12 |       cout << C <<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:12:19: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   12 |       cout << C <<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:15:12: error: expected '}' at end of input
   15 |   return 0;
      |            ^
a.cc:5:11: note: to match this '{'
    5 | int main(){
      |           ^
Language: C++

import sys

# 引数の取得
argv = sys.argv
argc = len(argv)

# 引数の数は３
if (argc != 3):
    print("引数２個が必要")
    sys.exit()

A = int(argv[1])
B = int(argv[2])

if (A < 1 or 3 < A):
    print("Aが不正 (1-3)")
    sys.exit()

if (B < 1 or 3 < B):
    print("Bが不正 (1-3)")
    sys.exit()

AB = A * B
exists = False

# 1から３までループ
for C in range(1, 4):
    if (AB * C % 2 == 1):
        exists = True
        break


if (exists):
    print("YES")
else:
    print("NO")

Compiler output:
a.cc:3:3: error: invalid preprocessing directive #\U00005f15\U00006570\U0000306e\U000053d6\U00005f97
    3 | # 引数の取得
      |   ^~~~~~~~~~
a.cc:7:3: error: invalid preprocessing directive #\U00005f15\U00006570\U0000306e\U00006570\U0000306f\U0000ff13
    7 | # 引数の数は３
      |   ^~~~~~~~~~~~
a.cc:26:3: error: "1から３までループ" after # is not a positive integer
   26 | # 1から３までループ
      |   ^~~~~~~~~~~~~~~~~
a.cc:1:1: error: 'import' does not name a type
    1 | import sys
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
Language: C++

#include<iostream>
using namespace std;
int main(void){
  int a,b;
  cin>>a>>b;
  if(a*b%2=0){
    cout<<"No"<<endl;
  }
  else{
    cout<<"Yes"<<endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: lvalue required as left operand of assignment
    6 |   if(a*b%2=0){
      |      ~~~^~
Language: Java

import java.util.Scanner;

class Main{
	public static void main(string args[]){
      Scanner scan = new Scanner(System.in);
      int a = scan.nextInt();
      int b = scan.nextInt();
      scan.close();
      
      if(a%2==1&&b%2==1){
        System.out.println("Yes");
      }else{
      	System.out.println("No");
      }
    }
}

Compiler output:
Main.java:4: error: cannot find symbol
	public static void main(string args[]){
	                        ^
  symbol:   class string
  location: class Main
1 error
Language: Java

class Main{
	public static void main(){
      Scanner scan = new Scanner(System.in);
      int a = scan.nextInt();
      int b = scan.nextInt();
      scan.close();
      
      if(a%2==1&&b%2==1){
        System.out.println("Yes");
      }else{
      	System.out.println("No");
      }
    }
}

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

int main(int argc, char *argv[]) {
	int a, b;
	scanf("%d %d", &a, &b);
	if (a%2 == 0 || b %2 == 0) printf("No");
	else printf("Yes");
	return 0;
}

Compiler output:
a.cc: In function 'int main(int, char**)':
a.cc:3:9: error: 'scanf' was not declared in this scope
    3 |         scanf("%d %d", &a, &b);
      |         ^~~~~
a.cc:4:36: error: 'printf' was not declared in this scope
    4 |         if (a%2 == 0 || b %2 == 0) printf("No");
      |                                    ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(int argc, char *argv[]) {
a.cc:5:14: error: 'printf' was not declared in this scope
    5 |         else printf("Yes");
      |              ^~~~~~
a.cc:5:14: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: Java

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

Compiler output:
Main.java:4: error: no suitable constructor found for Scanner(no arguments)
  Scanner sc = new Scanner();
               ^
    constructor Scanner.Scanner(Readable,Pattern) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Readable) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,CharsetDecoder) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel,Charset) is not applicable
      (actual and formal argument lists differ in length)
1 error
Language: Java

import java.util.*
 
public class Main {
  public static void main(){
    Scanner scanner = new Scanner(System.in);
    int main_1 = scanner.nextInt();
    String[] main_2 = new String[(main_1- 1)];
    for(int main_3 = 0;main_3 <= main_1;main_3++){
      String main_4 = main_2[main_3];
      String main_5 = main_2[main_3 - 1];
      if(
        main_3 != 0&&
        !main_5.substring(main_5.length() - 1).equalsIgnoreCase(main_4.substring(0, 1))
      ){
        System.out.println("No");
        System.exit(0);
      }
    }
    System.out.println("Yes");
  }
}

Compiler output:
Main.java:1: error: ';' expected
import java.util.*
                  ^
1 error
Language: Java

public class Main{
  public static void main(String[] main){
    Scanner scanner = new Scanner(System.in);
    int main_1 = scanner.nextInt();
    int main_2 = scanner.nextInt();
    int main_3 = main_1 * main_2;
    if(main_3 % 2 == 0){
      System.out.println("No");
    }else{
      System.out.println("Yes");
    }
  }
}

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

public class Main{
  public static void main(String[] main){
    Scanner scanner = new Scanner();
    int main_1 = scanner.nextInt();
    int main_2 = scanner.nextInt();
    int main_3 = main_1 * main_2;
    if(main_3 % 2 == 0){
      System.out.println("No");
    }else{
      System.out.println("Yes");
    }
  }
}

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

public class Main{
  public static void main(String[] main){
    Scanner scanner = new Scanner();
    int main_1 = scanner.nextInt();
    int main_2 = scanner.nextInt();
    int main_3 = main_1 * main_2;
    if(main_3 % 2 == 0){
      System.out.println("No");
    }else{
      System.out.println("Yes")
    }
  }
}

Compiler output:
Main.java:10: error: ';' expected
      System.out.println("Yes")
                               ^
1 error
Language: C++

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

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

import java.util.Scanner;

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("No");
			
		}else{
			System.out.println("Yes");

		}
	}
}


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:5:15: error: expected ':' before 'static'
    5 |         public static void main(String[] args) {
      |               ^~~~~~~
      |               :
a.cc:5:33: error: 'String' has not been declared
    5 |         public static void main(String[] args) {
      |                                 ^~~~~~
a.cc:5:42: error: expected ',' or '...' before 'args'
    5 |         public static void main(String[] args) {
      |                                          ^~~~
a.cc:19:2: error: expected ';' after class definition
   19 | }
      |  ^
      |  ;
a.cc: In static member function 'static void Main::main(int*)':
a.cc:7:17: error: 'Scanner' was not declared in this scope
    7 |                 Scanner scan = new Scanner(System.in);
      |                 ^~~~~~~
a.cc:8:25: error: 'scan' was not declared in this scope
    8 |                 int A = scan.nextInt();
      |                         ^~~~
a.cc:12:25: error: 'System' was not declared in this scope
   12 |                         System.out.println("No");
      |                         ^~~~~~
a.cc:15:25: error: 'System' was not declared in this scope
   15 |                         System.out.println("Yes");
      |                         ^~~~~~
Language: C++

import java.util.Scanner;

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("No");
			
		}else{
			System.out.println("Yes");

		}
	}
}


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:5:15: error: expected ':' before 'static'
    5 |         public static void main(String[] args) {
      |               ^~~~~~~
      |               :
a.cc:5:33: error: 'String' has not been declared
    5 |         public static void main(String[] args) {
      |                                 ^~~~~~
a.cc:5:42: error: expected ',' or '...' before 'args'
    5 |         public static void main(String[] args) {
      |                                          ^~~~
a.cc:22:2: error: expected ';' after class definition
   22 | }
      |  ^
      |  ;
a.cc: In static member function 'static void Main::main(int*)':
a.cc:10:17: error: 'Scanner' was not declared in this scope
   10 |                 Scanner scan = new Scanner(System.in);
      |                 ^~~~~~~
a.cc:11:25: error: 'scan' was not declared in this scope
   11 |                 int A = scan.nextInt();
      |                         ^~~~
a.cc:15:25: error: 'System' was not declared in this scope
   15 |                         System.out.println("No");
      |                         ^~~~~~
a.cc:18:25: error: 'System' was not declared in this scope
   18 |                         System.out.println("Yes");
      |                         ^~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define int long long
#define rep(i,s,e) for(int (i) = (s);(i) <= (e);(i)++)

signed main() {
  int a,b;cin>>a>>b;
  if((a*b)%2) cout << "Yes" << endl;
  else cout << "No"<<endl;
  
}
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define rep(i,s,e) for(int (i) = (s);(i) <= (e);(i)++)

signed main() {
  int a,b;cin>>a>>b;
  if((a*b)%2) cout << "Yes" << endl;
  else cout << "No"<<endl;
  
}


Compiler output:
a.cc:17:8: error: redefinition of 'int main()'
   17 | signed main() {
      |        ^~~~
a.cc:6:8: note: 'int main()' previously defined here
    6 | signed main() {
      |        ^~~~
Language: Java

package test0912;
import java.util.*;

public class main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		for(int c = 0; c < 3; c++){
			if((a*b*c) % 2 == 1){
				System.out.println("Yes");
				break;
			}
		}
		System.out.println("");
	}

}


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

#include<iostream>
#include<vector>
#include<sstream>
#include<string>
using namespace std;
int input();
string IntToString(int);

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

  


}
int input(){
  int x;
  cin>>x;
  return x;
}
string IntToString(int number){
  string stream ss;
  ss<<number;
  return ss.str();
}


Compiler output:
a.cc: In function 'std::string IntToString(int)':
a.cc:32:17: error: expected initializer before 'ss'
   32 |   string stream ss;
      |                 ^~
a.cc:33:3: error: 'ss' was not declared in this scope
   33 |   ss<<number;
      |   ^~
Language: Java

import java.util.Scanner;

public class ABC109A {
	static Scanner scn=new Scanner(System.in);
	public static void main(String[] args) {

		int A =Integer.parseInt(scn.next());
		int B =Integer.parseInt(scn.next());
		int X =0;
		for(int i =1;i<=3;i++){
			X=A*B*i;
			if(X%2==1)break;
		}
		if(X%2==1){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	}

}


Compiler output:
Main.java:3: error: class ABC109A is public, should be declared in a file named ABC109A.java
public class ABC109A {
       ^
1 error
Language: Java

import java.util.Scanner;

public class ABC109A {

	public static void main(String[] args) {
		@SuppressWarnings("resource")
		Scanner scn=new Scanner(System.in);
		int A =scn.nextInt();
		int B =scn.nextInt();
		int X =0;
		for(int i =1;i<=3;i++){
			X=A*B*i;
			if(X%2==1)break;
		}
		if(X%2==1){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	}

}


Compiler output:
Main.java:3: error: class ABC109A is public, should be declared in a file named ABC109A.java
public class ABC109A {
       ^
1 error
Language: Java

public class ABC109A {

	public static void main(String[] args) {
		Scanner scn=new Scanner(System.in);
		int A =scn.nextInt();
		int B =scn.nextInt();
		int X =0;
		for(int i =1;i<=3;i++){
			X=A*B*i;
			if(X%2==1)break;
		}
		if(X%2==1){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	}

}


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

import java.util.Scanner;

public class ABC109A {

	public static void main(String[] args) {
		Scanner scn=new Scanner(System.in);
		int A =scn.nextInt();
		int B =scn.nextInt();
		int X =0;
		for(int i =1;i<=3;i++){
			X=A*B*i;
			if(X%2==1)break;
		}
		if(X%2==1){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	}

}


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

#incude <iostream>
using namespace std;

int main(){
  int a, b;
  cin >> a >> b;
  if(a*b % 2 || 2*a*b % 2 || 3*a*b % 2) cout << "Yes";
  else cout << "No";
  return 0;
}


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #incude; did you mean #include?
    1 | #incude <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 | #incude <iostream>
a.cc:7:41: error: 'cout' was not declared in this scope
    7 |   if(a*b % 2 || 2*a*b % 2 || 3*a*b % 2) cout << "Yes";
      |                                         ^~~~
a.cc:7:41: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:8:8: error: 'cout' was not declared in this scope
    8 |   else cout << "No";
      |        ^~~~
a.cc:8:8: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

#incude <iostream>
using namespace std;

int main(){
  int a, b;
  cin >> a >> b;
  if(a*b % 2 || 2*a*b % 2 || 3*a*b % 2) cout << "Yes";
  else cout << "No";
  return 0;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #incude; did you mean #include?
    1 | #incude <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 | #incude <iostream>
a.cc:7:41: error: 'cout' was not declared in this scope
    7 |   if(a*b % 2 || 2*a*b % 2 || 3*a*b % 2) cout << "Yes";
      |                                         ^~~~
a.cc:7:41: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:8:8: error: 'cout' was not declared in this scope
    8 |   else cout << "No";
      |        ^~~~
a.cc:8:8: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: Java

import java.util.Scanner;

public class src {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();

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

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

#include <bits/stdc++.h>
using namespace std ;
int main (){
  int x, y;
  cin>>x>>y;
  if (x==y&&x!=2) cout<<"Yes";
  else if (abs(x-y)==2) cout<<"Yes";
  else <<"No";
  return 0;
}

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

#include <iostream>

using namespace::std;

int main(){
    int A,B;
    cin >> A >> B;

    if(A*B%2 == 1){
        
             cout << "Yes" << endl;

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

}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:5: error: expected '}' before 'else'
   13 |     else{
      |     ^~~~
a.cc:9:19: note: to match this '{'
    9 |     if(A*B%2 == 1){
      |                   ^
Language: C++

#include <iostream>

using namespace::std;

int main(){
    int A,B;
    cin >> A >> B;

    if(A*B%2 == 1){
        
             cout << "Yes" << endl;

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

}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:5: error: expected '}' before 'else'
   13 |     else{}
      |     ^~~~
a.cc:9:19: note: to match this '{'
    9 |     if(A*B%2 == 1){
      |                   ^
a.cc: At global scope:
a.cc:16:5: error: expected unqualified-id before 'return'
   16 |     return 0;
      |     ^~~~~~
a.cc:18:1: error: expected declaration before '}' token
   18 | }
      | ^
Language: C++

def solve():
    a,b = map(int, input().split())

    if a*b%2 == 0:
        print('Yes')
    else:
        print('No')

if __name__ == "__main__":# {{{
    solve()


Compiler output:
a.cc:5:15: warning: multi-character character constant [-Wmultichar]
    5 |         print('Yes')
      |               ^~~~~
a.cc:7:15: warning: multi-character character constant [-Wmultichar]
    7 |         print('No')
      |               ^~~~
a.cc:9:27: error: stray '#' in program
    9 | if __name__ == "__main__":# {{{
      |                           ^
a.cc:1:1: error: 'def' does not name a type
    1 | def solve():
      | ^~~
Language: C++

#include < iostream >
using namespace std ;
int main () {
int A , B ; cin >> A >> B ;
if ( A * B % 2 == 1) {
cout << " Yes " << endl ;
}
else {
cout << "No" << endl ;
}
return 0;
}

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

#include < iostream >
using namespace std ;
int main () {
int A , B ; cin >> A >> B ;
if ( A * B % 2 == 1) {
cout << " Yes " << endl ;
}
else {
cout << "No" << endl ;
}
}

Compiler output:
a.cc: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){
		long totalnum=0;

		Scanner sc = new Scanner(System.in);
		int A = sc.nextInt();
		Scanner sc2 = new Scanner(System.in);
		int B = sc2.nextInt();
		if(A != 2 && B != 2){
			System.out.print(Yes);
		}else{
			System.out.print(No);
		}
	}
}

Compiler output:
Main.java:12: error: cannot find symbol
			System.out.print(Yes);
			                 ^
  symbol:   variable Yes
  location: class Main
Main.java:14: error: cannot find symbol
			System.out.print(No);
			                 ^
  symbol:   variable No
  location: class Main
2 errors
Language: Java

import java.util.Scanner;

public class abc{
	public static void main(String[] args){
		long totalnum=0;

		Scanner sc = new Scanner(System.in);
		int A = sc.nextInt();
		Scanner sc2 = new Scanner(System.in);
		int B = sc2.nextInt();
		if(A != 2 && B != 2){
			System.out.print(Yes);
		}else{
			System.out.print(No);
		}
	}
}

Compiler output:
Main.java:3: error: class abc is public, should be declared in a file named abc.java
public class abc{
       ^
Main.java:12: error: cannot find symbol
			System.out.print(Yes);
			                 ^
  symbol:   variable Yes
  location: class abc
Main.java:14: error: cannot find symbol
			System.out.print(No);
			                 ^
  symbol:   variable No
  location: class abc
3 errors
Language: C++

#include<iostream>

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



Compiler output:
a.cc: In function 'int main()':
a.cc:5:1: 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
      |                  ^~~
a.cc:7:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 | cout<<"Yes"<<std::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:10:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 | cout<<"No"<<std::endl;
      | ^~~~
      | 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;
int main(){
 int a,b;
 cin>>a>>b;
 cout<<(a==2||b==2"Yes":"No")<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:19: error: expected ')' before string constant
    6 |  cout<<(a==2||b==2"Yes":"No")<<endl;
      |        ~          ^~~~~
      |                   )
Language: C++

#include <bits/stdc++.h>
#define FOR(i, a, b) for (int i = (a); i < (b); ++i)
#define REP(i, n) FOR(i, 0, n)
#define EACH(i, c) for (typeof((c).begin()) i = (c).begin(); i != (c).end(); ++i)
#define EXIST(s, e) ((s).find(e) != (s).end())
#define SORT(c) sort((c).begin(), (c).end())
#define dump(x) cerr << #x << " = " << (x) << endl;
#define debug(x) cerr << #x << " = " << (x) << " (L" << __LINE__ << ")" \
                      << " " << __FILE__ << endl;
#define ALL(a) (a).begin(), (a).end()
#define RALL(a) (a).rbegin(), (a).rend()
#define PB push_back
#define MP make_pair
#define SZ(a) int((a).size())

using namespace std;

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

    int a, b;
    cin >> a >> b;

    switch( (a*b)%2 ){
        case 0:
        cout << "No";
        break;

        case 1:
        cout << "Yes"
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:32:22: error: expected ';' before '}' token
   32 |         cout << "Yes"
      |                      ^
      |                      ;
   33 |     }
      |     ~
Language: C++

using namespace std;

#include <string>
#include <vector>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:9: error: 'cin' was not declared in this scope
   10 |         cin >> a >> b;
      |         ^~~
a.cc:5:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    4 | #include <vector>
  +++ |+#include <iostream>
    5 | 
a.cc:13:9: error: 'cout' was not declared in this scope
   13 |         cout << r << endl;
      |         ^~~~
a.cc:13:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:13:22: error: 'endl' was not declared in this scope
   13 |         cout << r << endl;
      |                      ^~~~
a.cc:5:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
    4 | #include <vector>
  +++ |+#include <ostream>
    5 |
Language: C

#include <bits/stdc++.h>

using namespace std;

int main(){
  int a,b;
  cin >> a >> b;
  if(!(a%2) || !(b%2)) cout << "NO\n";
  else cout << "YES\n";
  
  return 0;
}


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

#include <iostream>
using namespace std;

int main(){
  	int a,b,c;
  	cin >> a >> b >> c;
  	cout ((a*b % 2 != 0)? "Yes" : "No") << endl;
 	return 0; 
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:14: error: no match for call to '(std::ostream {aka std::basic_ostream<char>}) (const char*)'
    7 |         cout ((a*b % 2 != 0)? "Yes" : "No") << endl;
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Language: C++

#!/usr/bin/perl

$_ = <STDIN>;
s/[\x00-\x20]+$//io;

my ($a,$b) = split;

my $ans = 'No';
$ans = 'Yes' if (($a-0) % 2 )==1 and (($b-0) %2)==1;
print "$ans\n";



Compiler output:
a.cc:1:2: error: invalid preprocessing directive #!
    1 | #!/usr/bin/perl
      |  ^
a.cc:4:4: error: stray '\' in program
    4 | s/[\x00-\x20]+$//io;
      |    ^
a.cc:4:9: error: stray '\' in program
    4 | s/[\x00-\x20]+$//io;
      |         ^
a.cc:8:11: warning: multi-character character constant [-Wmultichar]
    8 | my $ans = 'No';
      |           ^~~~
a.cc:9:8: warning: multi-character character constant [-Wmultichar]
    9 | $ans = 'Yes' if (($a-0) % 2 )==1 and (($b-0) %2)==1;
      |        ^~~~~
a.cc:3:1: error: '$_' does not name a type
    3 | $_ = <STDIN>;
      | ^~
a.cc:4:1: error: 's' does not name a type
    4 | s/[\x00-\x20]+$//io;
      | ^
a.cc:8:1: error: 'my' does not name a type
    8 | my $ans = 'No';
      | ^~
a.cc:9:1: error: '$ans' does not name a type
    9 | $ans = 'Yes' if (($a-0) % 2 )==1 and (($b-0) %2)==1;
      | ^~~~
a.cc:10:1: error: 'print' does not name a type; did you mean 'int'?
   10 | print "$ans\n";
      | ^~~~~
      | int
Language: C++

#include <iostream>
using namespace std;

int main(){
  	int a,b,c;
  	cin >> a >> b >> c;
  	cout (a*b % 2 != 0)?"Yes":"No" << endl;
 	return 0; 
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:14: error: no match for call to '(std::ostream {aka std::basic_ostream<char>}) (bool)'
    7 |         cout (a*b % 2 != 0)?"Yes":"No" << endl;
      |         ~~~~~^~~~~~~~~~~~~~
a.cc:7:40: error: invalid operands of types 'const char [3]' and '<unresolved overloaded function type>' to binary 'operator<<'
    7 |         cout (a*b % 2 != 0)?"Yes":"No" << endl;
      |                                   ~~~~~^~~~~~~
Language: C++

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

int main(){
	int a,b,c;
	cin>>a>>b;
	if(a==2||b==2)cout<<"No";
	else cout<<"Yes";
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namepsace'
    2 | using namepsace std;
      |       ^~~~~~~~~
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 /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 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:23: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |         if(a==2||b==2)cout<<"No";
      |                       ^~~~
      |                       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:14: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |         else cout<<"Yes";
      |              ^~~~
      |              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;
int main(void){
	int n, m;
  	cin >> n >> m;
  	int flg = 0;
  	for(int i = 1; i <= 3; i++){
		if(n * m * c % 2 == 1) flg = 1;
    }
  	if(flg == 1) cout << "Yes" << endl;
  	else cout << "No" << endl;
  	return 0;
}

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

A,B = map(int,input().split())
print('Yes' if A*B % 2 == 1 else 'No')

Compiler output:
a.cc:2:7: warning: multi-character character constant [-Wmultichar]
    2 | print('Yes' if A*B % 2 == 1 else 'No')
      |       ^~~~~
a.cc:2:34: warning: multi-character character constant [-Wmultichar]
    2 | print('Yes' if A*B % 2 == 1 else 'No')
      |                                  ^~~~
a.cc:1:1: error: 'A' does not name a type
    1 | A,B = map(int,input().split())
      | ^
Language: C++

#include <stdio.h>
int main(){
    int A,B,C;
    scanf("%d %d",&A,&B);
    
    for(int i=1;i<=3;i++){
        if(A*B*i/2==1){
            printf("YES");
            return 0;
        }
    }
    pintf("NO");
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:5: error: 'pintf' was not declared in this scope; did you mean 'printf'?
   12 |     pintf("NO");
      |     ^~~~~
      |     printf
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:5:18: error: invalid operands to binary & (have 'char *' and 'int')
    5 |   scanf("%d %d " &a , & b );
      |         ~~~~~~~~ ^
      |         |
      |         char *
main.c:11:13: error: expected ';' before '}' token
   11 | printf("No")
      |             ^
      |             ;
   12 |   }
      |   ~
Language: C

# include <stdio.h >

int main () 
{
int A , B ; 
  scanf("%d %d",&A, &B );
if ( A * B * 1 % 2 == 1 || A * B * 2 % 2 == 1 || A * B * 3 % 2 == 1) {
printf("Yes");
}

else {
printf("No");
}
  return 0;
}

Compiler output:
main.c:1:11: fatal error: stdio.h : No such file or directory
    1 | # include <stdio.h >
      |           ^~~~~~~~~~
compilation terminated.