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

#include<stdio.h>
int sum(char c,char d){
  char c[256]="Yes";
  char d[256]="No";
  if(a*b%2==0)
  return c;
  else 
  return d;
}
int main(){
  int a,b;
  scanf("%d %d", &a,&b);
  printf("%s",sum(a,b));
  return 0;
  
}


Compiler output:
main.c: In function 'sum':
main.c:3:8: error: 'c' redeclared as different kind of symbol
    3 |   char c[256]="Yes";
      |        ^
main.c:2:14: note: previous definition of 'c' with type 'char'
    2 | int sum(char c,char d){
      |         ~~~~~^
main.c:4:8: error: 'd' redeclared as different kind of symbol
    4 |   char d[256]="No";
      |        ^
main.c:2:21: note: previous definition of 'd' with type 'char'
    2 | int sum(char c,char d){
      |                ~~~~~^
main.c:5:6: error: 'a' undeclared (first use in this function)
    5 |   if(a*b%2==0)
      |      ^
main.c:5:6: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:8: error: 'b' undeclared (first use in this function)
    5 |   if(a*b%2==0)
      |        ^
Language: C

#include<stdio.h>
int sum(int a,int b){
  string c='Yes';
  string d='No';
  if(a*b%2==0)
  return c;
  else 
    return d;
}
int main(){
  int a,b;
  scanf("%d %d", &a,&b);
  printf("%s",sum(a,b));
  return 0;
  
}


Compiler output:
main.c: In function 'sum':
main.c:3:3: error: unknown type name 'string'; did you mean 'stdin'?
    3 |   string c='Yes';
      |   ^~~~~~
      |   stdin
main.c:3:12: warning: multi-character character constant [-Wmultichar]
    3 |   string c='Yes';
      |            ^~~~~
main.c:4:3: error: unknown type name 'string'; did you mean 'stdin'?
    4 |   string d='No';
      |   ^~~~~~
      |   stdin
main.c:4:12: warning: multi-character character constant [-Wmultichar]
    4 |   string d='No';
      |            ^~~~
Language: C

#include<stdio.h>
int sum(int a,int b){
  string c='Yes';
  string d='No';
  if(a*b%2==0)
  return c;
  else 
    return d;
int main(){
  int a,b;
  scanf("%d %d", &a,&b);
  printf("%s",sum(a,b));
  return 0;
  
}

Compiler output:
main.c: In function 'sum':
main.c:3:3: error: unknown type name 'string'; did you mean 'stdin'?
    3 |   string c='Yes';
      |   ^~~~~~
      |   stdin
main.c:3:12: warning: multi-character character constant [-Wmultichar]
    3 |   string c='Yes';
      |            ^~~~~
main.c:4:3: error: unknown type name 'string'; did you mean 'stdin'?
    4 |   string d='No';
      |   ^~~~~~
      |   stdin
main.c:4:12: warning: multi-character character constant [-Wmultichar]
    4 |   string d='No';
      |            ^~~~
main.c:15:1: error: expected declaration or statement at end of input
   15 | }
      | ^
Language: C++

#include <bits/stdc++.h>
#define rep(i,N) for (int i = 0; i < (N); ++i)
#define all(v) v.begin(), v.end()
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main(void){
  int a, b;
  cin >> a >> b;

  bool ans;
  for (i = 1; i <= 3; i++){
    if (a * b * i % 2 == 1) ans = true;
  }

  if (ans) cout << "Yes" << endl;
  else cout << "No" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:8: error: 'i' was not declared in this scope
   12 |   for (i = 1; i <= 3; i++){
      |        ^
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:7:8: error: no match for call to '(std::ostream {aka std::basic_ostream<char>}) (const char*)'
    7 |   cout ( a!=2 && b !=2 ? "Yes" : "No" ) << endl;
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Language: C++

#include "bits/stdc++.h"

#define MOD 1000000007
#define rep(i, n) for(ll i=0; i < (n); i++)
#define rrep(i, n) for(ll i=(n)-1; i >=0; i--)
#define ALL(v) v.begin(),v.end()
#define rALL(v) v.rbegin(),v.rend()
#define FOR(i, j, k) for(ll i=j;i<k;i++)
#define debug_print(var) cerr << #var << "=" << var <<endl;
#define DUMP(i, v)for(ll i=0;i<v.size();i++)cerr<<v[i]<<" "

using namespace std;
typedef long long int ll;
typedef vector<ll> llvec;
typedef vector<double> dvec;
typedef pair<ll, ll> P;
typedef long double ld;
struct edge{ll x, c;};

ll mod(ll a, ll mod){
  ll res = a%mod;
  if(res<0)res=res + mod;
  return res;
}

ll modpow(ll a, ll n, ll mod){
  ll res=1;
  while(n>0){
    if(n&1) res=res*a%mod;
    a=a*a%mod;
    n>>=1;
  }
  return res;
}

ll modinv(ll a, ll mod){
  return modpow(a, mod-2, mod);
}

ll gcd(ll a, ll b){
  ll r = a%b;
  if(r==0) return b;
  else return gcd(b, a%b);
}

bool is_prime(ll n){
  ll i = 2;
  if(n==1)return false;
  if(n==2)return true;
  bool res = true;
  while(i*i <n){
    if(n%i==0){
      res = false;
    }
    i = i+1;
  }

  //if(i==1)res = false;
  if(n%i==0)res=false;
  return res;
}

struct UnionFind{
  ll N;
  llvec p;
  llvec cnt;
  UnionFind(ll n){
    N = n;
    p=llvec(N);
    cnt=llvec(N, 0);
    rep(i, N){
      p[i] = i;
      cnt[i] = 1;
    }
  }

  void con(ll a, ll b){
    P at = root(a);
    P bt = root(b);
    if(at.second!=bt.second){
      if(at.first>bt.first){
        swap(at, bt);
        swap(a, b);
      }
      p[at.second] = bt.second;
      cnt[bt.second]+=cnt[at.second];
      p[a]=bt.second;
    }
  }

  P root(ll a){
    ll atmp = a;
    ll c=0;
    while(atmp!=p[atmp]){
      atmp = p[atmp];
      c++;
    }
    p[a] = atmp;
    return {c, atmp};
  }

  bool is_con(ll a, ll b){
    P at=root(a);
    P bt=root(b);
    return at.second == bt.second;
  }
  
};

struct dijkstra{
  ll N;
  llvec d;
  vector<vector<edge>> e;
  dijkstra(ll n){
    N = n;
    //d = llvec(N, 1e18);
    e = vector<vector<edge>>(N);
  }

  void add_edge(ll from, ll to, ll cost){
    e[from].push_back({to, cost});
  }

  void run(ll start){
    priority_queue<P, vector<P>, greater<P>> que;
    que.push({0, start});
    d = llvec(N, 1e18);
    d[start]=0;
    while(!que.empty()){
      P q = que.top();que.pop();
      ll dc = q.first;
      ll x = q.second;
      if(dc>d[x]){
        continue;
      }else{
        for(auto ip: e[x]){
          if(d[ip.x]<=d[x]+ip.c){
            continue;
          }else{
            d[ip.x]= d[x]+ip.c;
            que.push({d[ip.x], ip.x});
          }
        }
      }
    }
  }  
};


/**************************************
** A main function starts from here  **
***************************************/
int main(){
  ll A, B;
  cin >> A >> B;
  for(ll c=1;c<=3;c++){
    if((A*B*C)%2==1){
      cout << "Yes";
      return 0;
    }
  }
  cout << "No";
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:157:13: error: 'C' was not declared in this scope
  157 |     if((A*B*C)%2==1){
      |             ^
Language: C

#includ <stdio.h>

int main(){
  int A,B;
  scanf("%d %d",&A,&B);
        
  if( (A*B)%2==1 ){ //A*Bが奇数なら,Cが存在する (C=1 or C=3)
    printf("Yes\n");
  }else{ //A*B が奇数ではない(偶数)なら,Cが存在しない
    printf("No\n");
  }
  return 0;
}

Compiler output:
main.c:1:2: error: invalid preprocessing directive #includ; did you mean #include?
    1 | #includ <stdio.h>
      |  ^~~~~~
      |  include
main.c: In function 'main':
main.c:5:3: 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 | #includ <stdio.h>
main.c:5:3: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    5 |   scanf("%d %d",&A,&B);
      |   ^~~~~
main.c:5:3: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:8:5: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    8 |     printf("Yes\n");
      |     ^~~~~~
main.c:8:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:8:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:8:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:10:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
   10 |     printf("No\n");
      |     ^~~~~~
main.c:10:5: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C++

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

int main() {
  if(A%2==1&&B%2==1){
    cout<<"Yes"<<endl;
  }
  else{
    cout<<"No"<<endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:6: error: 'A' was not declared in this scope
    5 |   if(A%2==1&&B%2==1){
      |      ^
a.cc:5:14: error: 'B' was not declared in this scope
    5 |   if(A%2==1&&B%2==1){
      |              ^
Language: Java

import java.util.*;

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


Compiler output:
Main.java:7: error: cannot find symbol
    if(A%2==0 || B%2==0)String.out.println("No");
                              ^
  symbol:   variable out
  location: class String
1 error
Language: Java

import java.util.*;

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


Compiler output:
Main.java:7: error: cannot find symbol
    if(A%2==0 || B%2==0)String.out.println("No");
                              ^
  symbol:   variable out
  location: class String
Main.java:8: error: cannot find symbol
    else String.out.println("Yes");
               ^
  symbol:   variable out
  location: class String
2 errors
Language: Java

import java.util.*;

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


Compiler output:
Main.java:7: error: illegal start of expression
    if(A%2==0 || B%==0)String.out.println("No");
                    ^
1 error
Language: C++

#include<bits/stc++.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:1:9: fatal error: bits/stc++.h: No such file or directory
    1 | #include<bits/stc++.h>
      |         ^~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <iostream>

using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:18: error: expected ')' before '{' token
    9 |     if((a*b%2!=0)
      |       ~          ^
      |                  )
   10 |     {
      |     ~             
a.cc:17:1: error: expected primary-expression before '}' token
   17 | }
      | ^
Language: C

#include<stdio.c>

int main(){
  int A,B;
  scanf("%d %d",&A,&B);
  for(int i =1;i<=3;i++){
    if((A*B*i)%2 == 1){
      printf("Yes");
      return;
    }
  }
  printf("No");
  return 0;
}

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

#include<bits/stdc++.h>
using namespace std;
int main(){
  int A,B;
  if(A%2==1 && B%2==1){cout <<"Yes"<<endl;}
  else{cout<<"No"<<endl}
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:24: error: expected ';' before '}' token
    6 |   else{cout<<"No"<<endl}
      |                        ^
      |                        ;
Language: C++

s/stdc++.h>
#define REP(i,n) for (int i = 0; i <(n); ++i)
#define ALL(v) v.begin(), v.end()
using namespace std;
using ll = long long;
using P = pair<int,int>;
static const double PI = acos(-1);



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


Compiler output:
a.cc:1:1: error: 's' does not name a type
    1 | s/stdc++.h>
      | ^
a.cc:6:11: error: 'pair' does not name a type
    6 | using P = pair<int,int>;
      |           ^~~~
a.cc:7:26: error: 'acos' was not declared in this scope
    7 | static const double PI = acos(-1);
      |                          ^~~~
a.cc: In function 'int main()':
a.cc:13:3: error: 'cin' was not declared in this scope
   13 |   cin >> a >> b;
      |   ^~~
a.cc:14:29: error: 'cout' was not declared in this scope
   14 |   if(a%2 != 0 && b %2 != 0) cout << "Yes" << endl;
      |                             ^~~~
a.cc:14:46: error: 'endl' was not declared in this scope
   14 |   if(a%2 != 0 && b %2 != 0) cout << "Yes" << endl;
      |                                              ^~~~
a.cc:15:8: error: 'cout' was not declared in this scope
   15 |   else cout << "No" << endl;
      |        ^~~~
a.cc:15:24: error: 'endl' was not declared in this scope
   15 |   else cout << "No" << endl;
      |                        ^~~~
Language: C++

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

int main() {
	int A, B;
	cin >> A >> B;
	string ans = "No";
	for (int i = 1; i<=3; i++){
		if (A*B*C%2 == 1) ans = "Yes";
	}
	cout << ans << endl;
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:25: error: 'C' was not declared in this scope
   12 |                 if (A*B*C%2 == 1) ans = "Yes";
      |                         ^
Language: C++

#include <iostream>
using namspace 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:2:7: error: expected nested-name-specifier before 'namspace'
    2 | using namspace std;
      |       ^~~~~~~~
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:19: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |   if ((A*B)%2==1) 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:36: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |   if ((A*B)%2==1) 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++

#include <bits/stdc++.h>

using namespace std;

 
 
int main() {
   
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);cout.tie(NULL);
     
    int a,b;
    cin>>a>>b;
    for(int i=1;i<=3;++i)
     {
         if((a*b*i)%2==1)
           break;
     }
     
     if(i==4)
        cout<<"No";
        
     else
       cout<<"Yes";
    
    
	return 0;
	
} 

Compiler output:
a.cc: In function 'int main()':
a.cc:20:9: error: 'i' was not declared in this scope
   20 |      if(i==4)
      |         ^
Language: C++

#include <bits/stdc++.h>
#include <math.h>
#define _GLIBCXX_DEBUG
using namespace std;
int main() {
  
  int A,B;cin>>A>>B;
  
  if(A*B%2==0){
    cout<<"No"<<emdl;
  }
  else{
    cout<<"Yes"<<endl;
  }
}

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

#include <iostream>
using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:27:2: error: expected '}' at end of input
   27 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

#include <iostream>
using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:27:2: error: expected '}' at end of input
   27 | }
      |  ^
a.cc:4:16: note: to match this '{'
    4 | int main(void) {
      |                ^
Language: C++

#include <iostream>
using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:27:2: error: expected '}' at end of input
   27 | }
      |  ^
a.cc:4:16: note: to match this '{'
    4 | int main(void) {
      |                ^
Language: C++

#include <iostream>
using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:22:11: error: expected '(' before '{' token
   22 |   else if {
      |           ^
      |           (
a.cc:27:2: error: expected '}' at end of input
   27 | }
      |  ^
a.cc:4:16: note: to match this '{'
    4 | int main(void) {
      |                ^
Language: C++

#include <iostream>
using namespace std;

int main() {
  
  int A;
  int B;
  
  cin >> A;
  cin >> B;
  
    if ( A == 2 ) {
      
      cout << "No" << endl;
    }
  
  if ( B == 2 ) {
    
    cout << "No" << endl;
  }
  
  elseif {
    
    cout << "Yes" << endl;
  
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:22:3: error: 'elseif' was not declared in this scope
   22 |   elseif {
      |   ^~~~~~
a.cc:27:2: error: expected '}' at end of input
   27 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

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

int main() {
int a,b;
cin >> a >>b;
bool ans = false;
for(int i = 1;i<=3;i++){
  if(a*b*c%2!=0)ans = true;
}
puts(ans?"Yes":"No");
}
  


Compiler output:
a.cc: In function 'int main()':
a.cc:11:10: error: 'c' was not declared in this scope
   11 |   if(a*b*c%2!=0)ans = true;
      |          ^
Language: Java

package main

import (
	"fmt"
)

func main() {
	var a, b int
	fmt.Scan(&a, &b)
	if a%2 != 0 && b%2 != 0 {
		fmt.Println("Yes")
	} else {
		fmt.Println("No")
	}
}


Compiler output:
Main.java:1: error: ';' expected
package main
            ^
Main.java:3: error: <identifier> expected
import (
      ^
2 errors
Language: C++

#include <bits/stdc++.h>
#define rep(i,n) for (int i=0;i<(n);i++)
using namespace std;
using ll = long long;
using P = pair<int,int>;
 
 
int main() {
    int A,B;
    cin >> A >> B;
    bool a=false;
    for(int i=1;i<=3;i++){
        if(A*B*i%==1)a=true;
    }
    if(a)cout << "Yes" << endl;
    else cout << "No" << endl;
    }

Compiler output:
a.cc: In function 'int main()':
a.cc:13:19: error: expected primary-expression before '=' token
   13 |         if(A*B*i%==1)a=true;
      |                   ^
Language: C++

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

int main(){

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: expected initializer before 'cin'
    7 |   cin >> a >> b;
      |   ^~~
a.cc:9:19: error: 'b' was not declared in this scope
    9 |   if( a%2 == 1 && b%2 == 1 ){
      |                   ^
Language: C++

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

int main() {
  int A, B;
  cin >> A >> B;
  cout << ((A * B % 2) "No" : "Yes") << "\n";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:23: error: expected ')' before string constant
    7 |   cout << ((A * B % 2) "No" : "Yes") << "\n";
      |           ~           ^~~~~
      |                       )
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main() {
  int a,b;
  cin >> a >> b;
  bool j = false;
  for (int i=1; i<=3 i++) {
    int t = a*b;
    if (t*i%2 == 1) {
      j = true;
    }
  }
  if (j) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:21: error: expected ';' before 'i'
    7 |   for (int i=1; i<=3 i++) {
      |                     ^~
      |                     ;
Language: C++

#include <bits/stdc++.h>
 
#define _overload(_1,_2,_3,name,...) name
#define _rep(i,n) _range(i,0,n)
#define _range(i,a,b) for(int i=(int)(a);i<(int)(b);++i)
#define rep(...) _overload(__VA_ARGS__,_range,_rep,)(__VA_ARGS__)
 
#define _rrep(i,n) _rrange(i,n,0)
#define _rrange(i,a,b) for(int i=(int)(a)-1;i>=(int)(b);--i)
#define rrep(...) _overload(__VA_ARGS__,_rrange,_rrep,)(__VA_ARGS__)
 
#define _all(arg) begin(arg),end(arg)
#define uniq(arg) sort(_all(arg)),(arg).erase(unique(_all(arg)),end(arg))
#define bit(n) (1LL<<(n))
 
// #define DEBUG
 
#ifdef DEBUG
    #define dump(...) fprintf(stderr, __VA_ARGS__)
#else
    #define dump(...)
#endif
 
template<class T>bool chmax(T &a, const T &b) { return (a<b)?(a=b,1):0;}
template<class T>bool chmin(T &a, const T &b) { return (b<a)?(a=b,1):0;}
 
using namespace std;
using ll=long long;
using vi=vector<int>;
using vll=vector<ll>;
 
const double EPS = 1e-10;
const double PI = acos(-1.0);
const int inf = INT_MAX;
const ll INF = LLONG_MAX;
const ll MOD = 1000000007LL;
const int dx[4]={1,0,-1,0};
const int dy[4]={0,1,0,-1};
 
ll extgcd(ll a,ll b,ll& x,ll& y){x=1,y=0;ll g=a;if(b!=0) g=extgcd(b,a%b,y,x),y-=a/b*x;return g;}
ll ADD(const ll &a, const ll &b, const ll mod=MOD) { return (a+b)%mod;}
ll SUB(const ll &a, const ll &b, const ll mod=MOD) { return (a-b+mod)%mod;}
ll MUL(const ll &a, const ll &b, const ll mod=MOD) { return (1LL*a*b)%mod;}
ll DIV(const ll &a, const ll &b, const ll mod=MOD) {ll x,y; extgcd(b,mod,x,y);return MUL(a,(x+mod)%mod,mod);}
 
int main(void){
    cin.tie(0);
    ios::sync_with_stdio(false);

    int a, b; cin >> a >> b;
    ok = (a * b % 2 == 1);

    cout << (ok ? "Yes":"No") << endl;

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:51:5: error: 'ok' was not declared in this scope
   51 |     ok = (a * b % 2 == 1);
      |     ^~
Language: C++

#include <iostream>
#include <algorithm>
#include <cmath>
using namespace std;
using ll = long long;

int main()
{
	int a, b;
	cin >> a >> b;
	for (int c = 1; c <= 3; ++c;
	{
		if ((a*b*c) % 2 != 0)
		{
			cout << "Yes";
			return 0;
		}
	}
	cout << "No";
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:36: error: expected ')' before ';' token
   11 |         for (int c = 1; c <= 3; ++c;
      |             ~                      ^
      |                                    )
a.cc:13:26: error: 'c' was not declared in this scope
   13 |                 if ((a*b*c) % 2 != 0)
      |                          ^
Language: C++

#include<algorithm>
#include<cmath>
#include<cstring>
#include<cstdio>
#include<iostream>
#include<vector>
#include<queue>
#include<deque>
#include<stack>
#include<set>
#include<map>
#include<string>
#include <bits/stdc++.h>
#define rep(i, n) for(int i = 0; i < (int)n; i++)
#define ll long long 
using namespace std;
int 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: In function 'int main()':
a.cc:23:5: error: expected ';' before string constant
   23 | cout "<<No"<<endl;
      |     ^~~~~~~
      |     ;
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 if(a*B%2 == 1) {
    cout << "Yes" << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:13: error: 'B' was not declared in this scope
   11 |   else if(a*B%2 == 1) {
      |             ^
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:6:15: error: lvalue required as left operand of assignment
    6 |     if((X*Y)%2=0)
      |               ^
Language: C++

#include<iostream>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: 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:6:28: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |         if ( (A * B) % 2 ) 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:6:45: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |         if ( (A * B) % 2 ) 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:7:14: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |         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:7:30: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |         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++

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

const string YES = "Yes";
const string NO = "No";

void solve(long long A, long long B) {
  if(A%2==1&&B%2==1)putout(YES);
  else putout(NO);
}

// Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools  (tips: You
// use the default template now. You can remove this line by using your custom
// template)
int main() {
  long long A;
  scanf("%lld", &A);
  long long B;
  scanf("%lld", &B);
  solve(A, B);
  return 0;
}


Compiler output:
a.cc: In function 'void solve(long long int, long long int)':
a.cc:8:21: error: 'putout' was not declared in this scope
    8 |   if(A%2==1&&B%2==1)putout(YES);
      |                     ^~~~~~
a.cc:9:8: error: 'putout' was not declared in this scope
    9 |   else putout(NO);
      |        ^~~~~~
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:30: 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 <iostream>

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

  if(A == 1 || A == 3 && B == 1 || B == 3){
    std::cout << "YES" <<std::endl;
  }else{
    std::cout << "NO" <<std::endl;
  }

  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: expected initializer before 'std'
    7 |   std::cin >> A >> B;
      |   ^~~
a.cc:9:26: error: 'B' was not declared in this scope
    9 |   if(A == 1 || A == 3 && B == 1 || B == 3){
      |                          ^
Language: C++

#include <bits/stdc++.h>

#define pb push_back
#define all(c) c.begin(),c.end()
#define allr(c) c.rbegin(),c.rend()
#define MOD 1000000007
#define PI 3.14159265
#define endl '\n'
#define MAX 501
using namespace std;

void quick () {
    cin.tie(0);
    cout.tie(0);
    ios_base::sync_with_stdio(0);
}

int gcd(int a, int b) {
   if (b == 0)
      return a;
   return gcd(b, a % b);
}

int main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    int a , b ;
    cin >> a >> b ;
    if ((a*b*1%2!=0)||(a*b*2%2!=0)||(a*b*3%2!=0){
        cout << "Yes" ;
    }else {
        cout << "No" ;
    }
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:30:49: error: expected ';' before '{' token
   30 |     if ((a*b*1%2!=0)||(a*b*2%2!=0)||(a*b*3%2!=0){
      |                                                 ^
      |                                                 ;
a.cc:32:6: error: expected primary-expression before 'else'
   32 |     }else {
      |      ^~~~
a.cc:32:6: error: expected ')' before 'else'
   32 |     }else {
      |      ^~~~
      |      )
a.cc:30:8: note: to match this '('
   30 |     if ((a*b*1%2!=0)||(a*b*2%2!=0)||(a*b*3%2!=0){
      |        ^
Language: C++

 int a , b ;
    cin >> a >> b ;
    bool state = false ;
    for (int i = 1 ; i <= 3 ; i++){
        if (a*b*i%2!=0)state=true;
    }
    if (state){
        cout << "Yes";
    }else {
        cout << "No";
    }
    return 0;

Compiler output:
a.cc:2:5: error: 'cin' does not name a type
    2 |     cin >> a >> b ;
      |     ^~~
a.cc:4:5: error: expected unqualified-id before 'for'
    4 |     for (int i = 1 ; i <= 3 ; i++){
      |     ^~~
a.cc:4:22: error: 'i' does not name a type
    4 |     for (int i = 1 ; i <= 3 ; i++){
      |                      ^
a.cc:4:31: error: 'i' does not name a type
    4 |     for (int i = 1 ; i <= 3 ; i++){
      |                               ^
a.cc:7:5: error: expected unqualified-id before 'if'
    7 |     if (state){
      |     ^~
a.cc:9:6: error: expected unqualified-id before 'else'
    9 |     }else {
      |      ^~~~
a.cc:12:5: error: expected unqualified-id before 'return'
   12 |     return 0;
      |     ^~~~~~
Language: C++

#include <bits/stdc++.h>
#include <string>
using namespace std;
void init(){
    cin.tie(0);
    cin.sync_with_stdio(0);
}

int main() {
    init();
int a,b;
cin>>a>>b;
if(a==1&&b==3||a==3&&b==1){
    cout<<"Yes";
}
else if(a==3&&b==3||b==3&&a==3) {   cout<<"Yes";
}
else if(a==1&&b==1){cout<<"Yes";
}}
else
    cout<<"No";
}


Compiler output:
a.cc:20:1: error: expected unqualified-id before 'else'
   20 | else
      | ^~~~
a.cc:22:1: error: expected declaration before '}' token
   22 | }
      | ^
Language: C++

#include<iostream>
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: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
      |                  ^~~
a.cc:6:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |     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:6:17: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |     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:9:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |     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:9:18: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |     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<stdio.h>
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:4:3: error: 'cin' was not declared in this scope
    4 |   cin>>a>>b;
      |   ^~~
a.cc:6:5: error: 'cout' was not declared in this scope
    6 |     cout<<"No"<<endl;
      |     ^~~~
a.cc:6:17: error: 'endl' was not declared in this scope
    6 |     cout<<"No"<<endl;
      |                 ^~~~
a.cc:9:5: error: 'cout' was not declared in this scope
    9 |     cout<<"Yes"<<endl;
      |     ^~~~
a.cc:9:18: error: 'endl' was not declared in this scope
    9 |     cout<<"Yes"<<endl;
      |                  ^~~~
Language: C++

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


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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:3:17: error: 'a' was not declared in this scope
    3 |   scanf("%d%d",&a,&b);
      |                 ^
a.cc:3:20: error: 'b' was not declared in this scope
    3 |   scanf("%d%d",&a,&b);
      |                    ^
a.cc:5:5: error: 'cout' was not declared in this scope
    5 |     cout<<"No"<<endl;
      |     ^~~~
a.cc:5:17: error: 'endl' was not declared in this scope
    5 |     cout<<"No"<<endl;
      |                 ^~~~
a.cc:8:5: error: 'cout' was not declared in this scope
    8 |     cout<<"Yes"<<endl;
      |     ^~~~
a.cc:8:18: error: 'endl' was not declared in this scope
    8 |     cout<<"Yes"<<endl;
      |                  ^~~~
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: C++

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

int main(){
    //the thing is to never rush and play it patience
    int a[2];
    cin>>a[0]>>a[1];
    sort(a,a+2);
    if(a[1]==3){
        if(a[0]%2==0)cout<<"No";
        else cout<<"Yes";
    }else if(a[i]==1)cout<<"Yes";
    else cout<<"No";
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:16: error: 'i' was not declared in this scope
   13 |     }else if(a[i]==1)cout<<"Yes";
      |                ^
Language: C++

// 失敗するからこそ そこから立ち向かって行く強さがあってそんな強さが本当の強さだと私は思うから
// ぜったいあきらめない
#if defined(DAIJOBU)
#include "/home/ichigo/includes.hpp"
#include "PP.hpp"
#define deb(x...) cerr << "[" << #x << "] = " << x << "\n";
#else
#include <bits/stdc++.h>
#define deb(x...)
#endif
#define mp make_pair
#define mt make_tuple
#define fi first
#define se second
#define pb push_back
#define all(x) (x).begin(), (x).end()
#define rall(x) (x).rbegin(), (x).rend()
#define forn(i, n) for (int i = 0; i < (int)(n); ++i)
#define for1(i, n) for (int i = 1; i <= (int)(n); ++i)
#define ford(i, n) for (int i = (int)(n) - 1; i >= 0; --i)
#define fore(i, a, b) for (int i = (int)(a); i <= (int)(b); ++i)

using namespace std;
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());

typedef pair<int, int> pii;
typedef vector<int> vi;
typedef vector<pii> vpi;
typedef vector<vi> vvi;
typedef long long lint;
typedef vector<lint> vlint;
typedef vector<vlint> vvlint;
typedef pair<lint, lint> plint;
typedef double ld;

template<class T> bool chmin(T &a, T b) { return a > b ? (a = b, true) : false; }
template<class T> bool chmax(T &a, T b) { return a < b ? (a = b, true) : false; }

int main() {
    ios::sync_with_stdio(false);
	cin.tie(0);
	
	int a, b, c;
	cin >> a >> b >> c;
	for1(i, 3){
		if((a * b * i ) % 2){
			puts("Yes");
			return 0;
		}
	}
	puts("No")
	return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:51:19: error: expected ';' before 'return'
   51 |         puts("No")
      |                   ^
      |                   ;
   52 |         return 0;
      |         ~~~~~~
Language: Java

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

Compiler output:
Main.java:5: error: incompatible types: possible lossy conversion from int to byte
    byte a = sc.nextInt();
                       ^
Main.java:6: error: incompatible types: possible lossy conversion from int to byte
    byte b = sc.nextInt();
                       ^
2 errors
Language: C++

#!/bin/bash

read A B

if [$((((A-1) * (B - 1)) % 2)) -gt 1]; then
    echo "Yes"
else
    echo "No"
fi


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #!
    1 | #!/bin/bash
      |  ^
a.cc:3:1: error: 'read' does not name a type
    3 | read A B
      | ^~~~
a.cc:5:40: error: 'then' does not name a type
    5 | if [$((((A-1) * (B - 1)) % 2)) -gt 1]; then
      |                                        ^~~~
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 << "Yes" << endl;
  }
  else {
    cout << "No" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:17: error: lvalue required as left operand of assignment
    8 |   if (A % 2 = 0 && B % 2 = 0){
      |               ~~^~~~~~~~
Language: C++

//Pair
#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;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:16: error: expected ')' before '!' token
    8 |     if(A%2&&B%2!)   cout<<"Yes"<<endl;
      |       ~        ^
      |                )
Language: Java

mport java.util.Scanner;

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

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


Compiler output:
Main.java:1: error: class, interface, enum, or record expected
mport java.util.Scanner;
^
1 error
Language: C++

#include <iostream>

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

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
      |                  ^~~
a.cc:6:24: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |   if(A%2==0 || B%2==0) 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:6:36: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |   if(A%2==0 || B%2==0) 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:7:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |   else 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:21: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |   else 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<bits/stdc++.h>
using namespace std;
int main(){
    int a, b; cin >> a >> b;


Compiler output:
a.cc: In function 'int main()':
a.cc:4:29: error: expected '}' at end of input
    4 |     int a, b; cin >> a >> b;
      |                             ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: C++

//#include <fsociety>
#include <cmath>
#include <deque>
#include <algorithm>
#include <iterator>
#include <list>
#include <map>
#include <unordered_map>
#include <queue>
#include <set>
#include <unordered_set>
#include <stack>
#include <string>
#include <vector>
#include <iostream>
//end of libraries ;
#define INF 99999999999
#define N 300003
#define F first
#define S second
#define pb push_back
#define ll long long
#define fcin ios_base::sync_with_stdio(false),cin.tie(0),cout.tie(0);
using namespace std;
int a , b;
int main(){
fcin;
	cin>>a>>b;
	for(int i = 1 ; i<= 3 ; i++){
		if(a*b*c%2!=0) {cout<<"Yes\n"; return 0;}
	}
	cout<<"No\n";

}

Compiler output:
a.cc: In function 'int main()':
a.cc:30:24: error: 'c' was not declared in this scope
   30 |                 if(a*b*c%2!=0) {cout<<"Yes\n"; return 0;}
      |                        ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main(){
  int a,b;cin>>a>>b;
  string ans="No";
  if(A%2==1&&B%2==1)ans="Yes";
  cout<<ans<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:6: error: 'A' was not declared in this scope
    7 |   if(A%2==1&&B%2==1)ans="Yes";
      |      ^
a.cc:7:14: error: 'B' was not declared in this scope
    7 |   if(A%2==1&&B%2==1)ans="Yes";
      |              ^
Language: C++

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

int main(){
  	int a,b;cin >> a >> b;
  	for(int i=1;i<4;i++) 
      if((a*b*c)%2==1){
      	cout << "Yes";
        return 0;
      }
  	
  	cout << "No";
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:15: error: 'c' was not declared in this scope
    7 |       if((a*b*c)%2==1){
      |               ^
Language: Java

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


Compiler output:
Main.java:13: error: reached end of file while parsing
}
 ^
1 error
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:13: error: expected ';' before 'if'
    6 |    cin>>a>>b
      |             ^
      |             ;
    7 |    if(a==2||b==2)cout<<"No";
      |    ~~        
a.cc:8:4: error: 'else' without a previous 'if'
    8 |    else cout<<"Yes";
      |    ^~~~
Language: C++

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

    cout << res << "\n";
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:15: error: expected ';' before '}' token
    8 |     res = "No"
      |               ^
      |               ;
    9 |   }
      |   ~
Language: C++

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

int main(){
int a,b;
  cin >> a>>b;
  bool flag=false;
  for(int c=1; c<4; c++){
     if((a*b*c)%2==1)
       flag = true;
  }
  cout << (flag ?"Yes":"No")endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:29: error: expected ';' before 'endl'
   12 |   cout << (flag ?"Yes":"No")endl;
      |                             ^~~~
      |                             ;
Language: C++

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

int main(){
int a,b;
  cin >> a>>b;
  bool flag=false;
  for(int c=1; c<4; c++){
     if((a*b*c)%2==1)
       flag = true;
  }
  cout << (flag ?"Yes":"No")endl;
  return 0;
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespase'
    2 | using namespase std;
      |       ^~~~~~~~~
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 /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:12:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   12 |   cout << (flag ?"Yes":"No")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<iostream>
using namespace std;
int main()
{
cin>>a>>b;
if(a*b%2!=0)cout<<"Yes"<<endl;
else cout<<"No"<<endl;
return 0;
}

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