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

/*****Enigma_27*****/
#include<bits/stdc++.h>
#define ll          long long
#define pb          push_back
#define mp          make_pair
#define pll         pair<ll,ll>
#define vll          vector<ll>
#define all(a)      (a).begin(),(a).end()
#define F           first
#define S           second
#define sz(x)       (int)x.size()
#define hell        1000000007
#define lbnd        lower_bound
#define ubnd        upper_bound
#define bs          binary_search
#define ios        	ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0);
using namespace std;
ll n,i,j,k,l,t=1,ans=0,flag=0;
int main()
{   ios
    string s ,p="YAKI";
    cin>>s;
    for(i=0;i<min(s.size(),4);i++)
    {
        if(s[i]==p[ans]) ans++;
        if(ans==4) {cout<<"Yes\n";return 0;}

    }
    cout<<"No\n";
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:23:18: error: no matching function for call to 'min(std::__cxx11::basic_string<char>::size_type, int)'
   23 |     for(i=0;i<min(s.size(),4);i++)
      |               ~~~^~~~~~~~~~~~
In file included from /usr/include/c++/14/algorithm:60,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:51,
                 from a.cc:2:
/usr/include/c++/14/bits/stl_algobase.h:233:5: note: candidate: 'template<class _Tp> constexpr const _Tp& std::min(const _Tp&, const _Tp&)'
  233 |     min(const _Tp& __a, const _Tp& __b)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:233:5: note:   template argument deduction/substitution failed:
a.cc:23:18: note:   deduced conflicting types for parameter 'const _Tp' ('long unsigned int' and 'int')
   23 |     for(i=0;i<min(s.size(),4);i++)
      |               ~~~^~~~~~~~~~~~
/usr/include/c++/14/bits/stl_algobase.h:281:5: note: candidate: 'template<class _Tp, class _Compare> constexpr const _Tp& std::min(const _Tp&, const _Tp&, _Compare)'
  281 |     min(const _Tp& __a, const _Tp& __b, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:281:5: note:   candidate expects 3 arguments, 2 provided
In file included from /usr/include/c++/14/algorithm:61:
/usr/include/c++/14/bits/stl_algo.h:5686:5: note: candidate: 'template<class _Tp> constexpr _Tp std::min(initializer_list<_Tp>)'
 5686 |     min(initializer_list<_Tp> __l)
      |     ^~~
/usr/include/c++/14/bits/stl_algo.h:5686:5: note:   candidate expects 1 argument, 2 provided
/usr/include/c++/14/bits/stl_algo.h:5696:5: note: candidate: 'template<class _Tp, class _Compare> constexpr _Tp std::min(initializer_list<_Tp>, _Compare)'
 5696 |     min(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algo.h:5696:5: note:   template argument deduction/substitution failed:
a.cc:23:18: note:   mismatched types 'std::initializer_list<_Tp>' and 'long unsigned int'
   23 |     for(i=0;i<min(s.size(),4);i++)
      |               ~~~^~~~~~~~~~~~
Language: Java

import java.util.*;
public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        // 文字列の入力                                                 
        String s = sc.next();
	if(s.length()C < 4) System.out.println("No");
	else if(s.substring(0,4).equals("YAKI")) System.out.println("Yes");
	else System.out.println("No");

    }
}


Compiler output:
Main.java:7: error: ')' expected
	if(s.length()C < 4) System.out.println("No");
	             ^
Main.java:7: error: illegal start of type
	if(s.length()C < 4) System.out.println("No");
	                 ^
Main.java:7: error: not a statement
	if(s.length()C < 4) System.out.println("No");
	               ^
Main.java:8: error: 'else' without 'if'
	else if(s.substring(0,4).equals("YAKI")) System.out.println("Yes");
	^
4 errors
Language: C++

int main(int , char **)
{
#ifdef LOCAL_DEBUG
	struct stat sb;
	ifstream in("/dev/shm/input.txt");
	if (stat("/dev/shm/input.txt",&sb)==0){ cin.rdbuf(in.rdbuf()); }
#endif

	char S[12];
	cin >> S;
	int lng = strlen(S);
	if (lng < 4){ printf("No\n");return 0;}
	if ((S[0]=='Y')&&(S[1]=='A')&&(S[2]=='K')&&(S[3]=='I')){
		printf("Yes\n");
	}else{
		printf("No\n");
	}

	return 0;
}

Compiler output:
a.cc: In function 'int main(int, char**)':
a.cc:10:9: error: 'cin' was not declared in this scope
   10 |         cin >> S;
      |         ^~~
a.cc:11:19: error: 'strlen' was not declared in this scope
   11 |         int lng = strlen(S);
      |                   ^~~~~~
a.cc:1:1: note: 'strlen' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
  +++ |+#include <cstring>
    1 | int main(int , char **)
a.cc:12:23: error: 'printf' was not declared in this scope
   12 |         if (lng < 4){ printf("No\n");return 0;}
      |                       ^~~~~~
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 , char **)
a.cc:14:17: error: 'printf' was not declared in this scope
   14 |                 printf("Yes\n");
      |                 ^~~~~~
a.cc:14:17: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:16:17: error: 'printf' was not declared in this scope
   16 |                 printf("No\n");
      |                 ^~~~~~
a.cc:16:17: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C++

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

int main()
{
    string s;
    cin >> s;
    if(s.size()<4)
        cout << "No\n";
        
    else
    {
        string t = "YAKI";
        int flg = 0;
        for(int i=0;i<4;i++)
        {
            if(s[i]!=t[i])
            {
                cout << "No\n";
                flg = 1;
                break;
            }
        }
        if(!flg)
            cout << "Yes\n";
    }
    return 0;
}#include<bits/stdc++.h>
using namespace std;

int main()
{
    string s;
    cin >> s;
    if(s.size()<4)
        cout << "No\n";
        
    else
    {
        string t = "YAKI";
        int flg = 0;
        for(int i=0;i<4;i++)
        {
            if(s[i]!=t[i])
            {
                cout << "No\n";
                flg = 1;
                break;
            }
        }
        if(!flg)
            cout << "Yes\n";
    }
    return 0;
}

Compiler output:
a.cc:28:2: error: stray '#' in program
   28 | }#include<bits/stdc++.h>
      |  ^
a.cc:28:3: error: 'include' does not name a type
   28 | }#include<bits/stdc++.h>
      |   ^~~~~~~
a.cc:31:5: error: redefinition of 'int main()'
   31 | int main()
      |     ^~~~
a.cc:4:5: note: 'int main()' previously defined here
    4 | int main()
      |     ^~~~
Language: C++

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

int main(void)
{
string s;
cin >> s;
if (!strncmp(s, "YAKI", 4)) cout << "Yes\n";
else cout << "No\n";

return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:14: error: cannot convert 'std::string' {aka 'std::__cxx11::basic_string<char>'} to 'const char*'
    8 | if (!strncmp(s, "YAKI", 4)) cout << "Yes\n";
      |              ^
      |              |
      |              std::string {aka std::__cxx11::basic_string<char>}
In file included from /usr/include/c++/14/cstring:43,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:121,
                 from a.cc:1:
/usr/include/string.h:159:33: note:   initializing argument 1 of 'int strncmp(const char*, const char*, size_t)'
  159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n)
      |                     ~~~~~~~~~~~~^~~~
Language: C++

s = input()

if 'YAKI' in s[0:4]:
    print('Yes')
else:
    print('No')

Compiler output:
a.cc:3:4: warning: multi-character character constant [-Wmultichar]
    3 | if 'YAKI' in s[0:4]:
      |    ^~~~~~
a.cc:4:11: warning: multi-character character constant [-Wmultichar]
    4 |     print('Yes')
      |           ^~~~~
a.cc:6:11: warning: multi-character character constant [-Wmultichar]
    6 |     print('No')
      |           ^~~~
a.cc:1:1: error: 's' does not name a type
    1 | s = input()
      | ^
Language: C++

#include <bits/stdc++.h>

#define FI(i,a,b) for(int i=(a);i<=(b);i++)
#define FD(i,a,b) for(int i=(a);i>=(b);i--)

#define LL long long
#define Ldouble long double

using namespace std;

char s[19];

int len;

int main(){
  cin.getline(s, 19);
  len = strlen(s);
  if (len >= 4){
    if(s[0] == 'Y' && s[1] == 'A' && s[2] == 'K' && s[3] == 'I'){
      printf("Yes\n");
      return 0;
    }
  }
  printf("No\n");
  return 0;
}#include <bits/stdc++.h>

#define FI(i,a,b) for(int i=(a);i<=(b);i++)
#define FD(i,a,b) for(int i=(a);i>=(b);i--)

#define LL long long
#define Ldouble long double

using namespace std;

char s[19];

int len;

int main(){
  cin.getline(s, 19);
  len = strlen(s);
  if (len >= 4){
    if(s[0] == 'Y' && s[1] == 'A' && s[2] == 'K' && s[3] == 'I'){
      printf("Yes\n");
      return 0;
    }
  }
  printf("No\n");
  return 0;
}

Compiler output:
a.cc:26:2: error: stray '#' in program
   26 | }#include <bits/stdc++.h>
      |  ^
a.cc:26:3: error: 'include' does not name a type
   26 | }#include <bits/stdc++.h>
      |   ^~~~~~~
a.cc:36:6: error: redefinition of 'char s [19]'
   36 | char s[19];
      |      ^
a.cc:11:6: note: 'char s [19]' previously declared here
   11 | char s[19];
      |      ^
a.cc:38:5: error: redefinition of 'int len'
   38 | int len;
      |     ^~~
a.cc:13:5: note: 'int len' previously declared here
   13 | int len;
      |     ^~~
a.cc:40:5: error: redefinition of 'int main()'
   40 | int main(){
      |     ^~~~
a.cc:15:5: note: 'int main()' previously defined here
   15 | int main(){
      |     ^~~~
Language: C++

#include <bits/stdc++.h>
#define REP(i,a,b) for(int i=(a);i<(b);i++)
#define RREP(i,a,b) for(int i=(a);i>=(b);i--)
typedef long long ll; typedef long double ld;
using namespace std;
const int INF=1e9, MOD=1e9+7;
const int MAX_N=10000;
string s;

int main() {
	cin >> s;

    if(s[0]=='Y' and s[1]=='A' and s[2]=='K' and s[3]=='I'){
        count << "YES" << endl;
    }else{
        cout << "NO" << endl;
    }

	return 0;
}

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

#region Using directives
using System;
using static System.Console;
using static System.Convert;
using System.Collections.Generic;
using System.Linq;
#endregion

namespace ConsoleApp2
{
    class Program
    {
        static void Main(string[] args)
        {
            string s = ReadLine();
            if (s.Length >= 4)
                if (s[0] == 'Y' && s[1] == 'A' && s[2] == 'K' && s[3] == 'I')
                    WriteLine("Yes");
                else
                    WriteLine("No");
            else
                WriteLine("No");
        }
    }
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #region
    1 | #region Using directives
      |  ^~~~~~
a.cc:7:2: error: invalid preprocessing directive #endregion
    7 | #endregion
      |  ^~~~~~~~~
a.cc:2:7: error: expected nested-name-specifier before 'System'
    2 | using System;
      |       ^~~~~~
a.cc:3:7: error: expected nested-name-specifier before 'static'
    3 | using static System.Console;
      |       ^~~~~~
a.cc:4:7: error: expected nested-name-specifier before 'static'
    4 | using static System.Convert;
      |       ^~~~~~
a.cc:5:7: error: expected nested-name-specifier before 'System'
    5 | using System.Collections.Generic;
      |       ^~~~~~
a.cc:6:7: error: expected nested-name-specifier before 'System'
    6 | using System.Linq;
      |       ^~~~~~
a.cc:13:26: error: 'string' has not been declared
   13 |         static void Main(string[] args)
      |                          ^~~~~~
a.cc:13:35: error: expected ',' or '...' before 'args'
   13 |         static void Main(string[] args)
      |                                   ^~~~
a.cc:24:6: error: expected ';' after class definition
   24 |     }
      |      ^
      |      ;
a.cc: In static member function 'static void ConsoleApp2::Program::Main(int*)':
a.cc:15:13: error: 'string' was not declared in this scope
   15 |             string s = ReadLine();
      |             ^~~~~~
a.cc:16:17: error: 's' was not declared in this scope
   16 |             if (s.Length >= 4)
      |                 ^
a.cc:18:21: error: 'WriteLine' was not declared in this scope
   18 |                     WriteLine("Yes");
      |                     ^~~~~~~~~
a.cc:20:21: error: 'WriteLine' was not declared in this scope
   20 |                     WriteLine("No");
      |                     ^~~~~~~~~
a.cc:22:17: error: 'WriteLine' was not declared in this scope
   22 |                 WriteLine("No");
      |                 ^~~~~~~~~
Language: C++

#include <iostream>
#include <vector>
#include <cmath>
#include <cstdio>
#include <string>
#include <algorithm>
#include <queue>
#include <unordered_map>
#include <map>
#define ll long long
using namespace std;

#define MOD 1000000007

class Solve
{
private:
	string s
public:
	Solve(){
		cin >> s;

	}

	void exec(){
		if(s.size() < 4){
			cout << "No" << endl;
			return;
		}
		string tmp = "YAKI";
		for (int i = 0; i < 4; ++i)
		{
			if(s[i] != tmp[i]) {
				cout << "No" << endl;
				return;
			}
		}
		cout << "Yes" << endl;

	}
};

int main(){
	Solve solver = Solve();
	solver.exec();
}


Compiler output:
a.cc:18:16: error: expected ';' at end of member declaration
   18 |         string s
      |                ^
      |                 ;
Language: C++

#include <bits/stdc++.h>

#define fi first
#define se second
#define sz(a) (int)(a).size()
#define all(a) (a).begin(), (a).end()
#define reset(a, v) memset ((a), v, sizeof (a))

using namespace std;

typedef long long ll;
typedef pair <int, int> ii;
typedef vector <int> vi;
typedef vector <ll> vll;
typedef vector <ii> vii;

char S[20];

int main () {
	scanf ("%s", S);
	if (strlen (S) < 4) {
		printf ("No\n");
		return 0;
	}

	if (S[0] == 'Y' && S[1] == 'A' && S[2] == 'K' && S[3] == "I") printf ("Yes\n");
	else printf ("No\n");
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:26:63: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   26 |         if (S[0] == 'Y' && S[1] == 'A' && S[2] == 'K' && S[3] == "I") printf ("Yes\n");
      |                                                          ~~~~~^~~~~~
Language: C++

syntax on
set enc=utf-8 fencs=utf-8,big5
set bs=2
set smd nu bg=dark hls ls=2 wmnu so=5 ru cul
set ts=4 sw=4 ai sta si
set list lcs=tab:>\  "# a space after '\'
map<F9> :!g++ "%" -o "%:r.out" -Wall -Wshadow -O2 -Im -std=c++11 && echo "===== done =====" && "./%:r.out"

Compiler output:
a.cc:6:19: error: stray '\' in program
    6 | set list lcs=tab:>\  "# a space after '\'
      |                   ^
a.cc:6:22: warning: missing terminating " character
    6 | set list lcs=tab:>\  "# a space after '\'
      |                      ^
a.cc:6:22: error: missing terminating " character
    6 | set list lcs=tab:>\  "# a space after '\'
      |                      ^~~~~~~~~~~~~~~~~~~~
a.cc:1:1: error: 'syntax' does not name a type
    1 | syntax on
      | ^~~~~~
Language: C++

#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <algorithm>
#include <queue>
#include <map>
#include <stack>
using namespace std;
typedef long long LL;
const int Maxn = 1e5 + 5;
const int inf = 1 << 30;
const LL Inf = 1LL << 60;
int n,m;
char s[100];

int main ()
{
	gets(s);
	if (s[0] == 'Y' && s[1] == 'A' && s[2] == 'K' && s[3] == 'I')
		printf("Yes");
		else printf("No");
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:19:9: error: 'gets' was not declared in this scope; did you mean 'getw'?
   19 |         gets(s);
      |         ^~~~
      |         getw
Language: C++

#include <bits/stdc++.h>

#define FI(i,a,b) for(int i=(a);i<=(b);i++)
#define FD(i,a,b) for(int i=(a);i>=(b);i--)

#define LL long long
#define Ldouble long double

using namespace std;

char s[19];

int len;

int main(){
  cin.getline(s, 19);
  len = strlen(s);
  if (len >= 4){
    if(s[0] == 'Y' && s[1] == 'A' && s[2] == 'K' && s[3] == 'I'){
      printf("Yes\n");
      return 0;
    }
  }
  printf("No\n");
  return 0;
}v

Compiler output:
a.cc:26:2: error: 'v' does not name a type
   26 | }v
      |  ^
Language: Java

t static java.lang.System.out;
import java.io.InputStream;
import java.io.IOException;
import java.util.NoSuchElementException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;

public class Main {
	public static void main(String args[]) {
		MyInput in = new MyInput();
    String str = in.next();
    String s = str.substring(0,4);
    if(s.equals("YAKI")) out.println("Yes");
    else out.println("No");

	}
}

class MyInput {
	private final InputStream in = System.in;
	private final byte[] buffer = new byte[1024];
	private int ptr= 0;
	private int buflen = 0;
	private boolean hasNextByte() {
		if(ptr < buflen) {
			return true;
		}else {
			ptr = 0;
			try {
				buflen = in.read(buffer);
			} catch(IOException e) {
				e.printStackTrace();
			}
			if(buflen <= 0) {
				return false;
			}
		}
		return true;
	}

	public int readByte() { 
		if (hasNextByte()) return buffer[ptr++];
		else return -1;
	}

	private static boolean isPrintableChar(int c) {
		return 33 <= c && c <=126;
	}

	private void skipUnprintable() {
		while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;
	}

	public boolean hasNext() {
		skipUnprintable();
		return hasNextByte();
	}

	public String next() {
		if(!hasNext()) throw new NoSuchElementException();
		StringBuilder sb = new StringBuilder();
		int b = readByte();
		while(isPrintableChar(b)) {
			sb.appendCodePoint(b);
			b = readByte();
		}
		return sb.toString();
	}

	public long nextLong() {
		if(!hasNext()) throw new NoSuchElementException();
		long n = 0;
		boolean minus = false;
		int b = readByte();
		if (b == '-') {
			minus = true;
			b = readByte();
		}
		if(b < '0' || '9' < b) {
			throw new NumberFormatException();
		}
		while(true) {
			if('0' <= b && b <= '9') {
				n *= 10;
				n += b - '0';
			}else if(b == -1 || !isPrintableChar(b)) {
				return minus ? -n : n;
			}else {
				throw new NumberFormatException();
			}
			b = readByte();
		}
	}

	public int nextInt() {
		long nl = nextLong();
		if(nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();
		return (int) nl;
	}

	public double nextDouble() {
		return Double.parseDouble(next());
	}
}



Compiler output:
Main.java:1: error: class, interface, enum, or record expected
t static java.lang.System.out;
^
Main.java:2: error: class, interface, enum, or record expected
import java.io.InputStream;
^
Main.java:3: error: class, interface, enum, or record expected
import java.io.IOException;
^
Main.java:4: error: class, interface, enum, or record expected
import java.util.NoSuchElementException;
^
Main.java:5: error: class, interface, enum, or record expected
import java.util.ArrayList;
^
Main.java:6: error: class, interface, enum, or record expected
import java.util.Arrays;
^
Main.java:7: error: class, interface, enum, or record expected
import java.util.Collections;
^
7 errors
Language: C++

#include <bits\stdc++.h>

using namespace std;
#define ll long long
#define y1 bad_fdsaf
#ifdef Stetsyk
#define files freopen("input.txt", "r", stdin);
#else
#define files
#endif
const int mod = 1e9 + 7;
const int N = 1e5 + 5;

int main(){
    files;
    string s;
    cin >> s;
    if(s.size() >= 4  && s.substr(0, 4) == "YAKI"){
        cout << "Yes" << endl;
    }
    else{
        cout << "No" << endl;
    }
    return 0;
}


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

#include<iostream>
#include<string>
#include<algorithm>
using namespace std;
#define REP(i, a, n) for(int i=a; i<n; i++)
#define INF 1000000000
#define ll long long

int main()
{
	string s;
	cin >> s;
	if (s.size()>=4 && s[0] == 'Y' && s[1] == 'A' && s[0] == 'K' s[0] == 'I') {
		cout << "Yes" << endl;
	}
	else {
		cout << "No" << endl;
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:69: error: expected ')' before 's'
   13 |         if (s.size()>=4 && s[0] == 'Y' && s[1] == 'A' && s[0] == 'K' s[0] == 'I') {
      |            ~                                                        ^~
      |                                                                     )
Language: C++

#include <bits/stdc++.h>

using namespace std;

int main(){
	string str;

	cin >> str;

	if (str.size() >= 4 and str.substr(0, 4) == "YAKI"){
		cout << "Yes" << endl;
	}
	else{
		cout << "No" << endl;
	}.

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:10: error: expected primary-expression before '.' token
   15 |         }.
      |          ^
a.cc:17:9: error: expected unqualified-id before 'return'
   17 |         return 0;
      |         ^~~~~~
Language: C++

#include <iostream>
#include <string>
#include <algorithm>
#include <cstdio>
#include <vector>
#include <queue>
#include <set>
#include <numeric>
#include <cmath>

using namespace std;

typedef long long int lld;

const lld mod = 1e9+7;
const lld INF = 1e9;
//const lld MAXN = 1e9;

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

	if (s.size() < 4)
	{
		cout << "No" << endl
	}else if (s[0] == "Y" && s[1] == "A" && s[2] == "K" && s[3] == "I")
	{
		cout << "Yes" << endl;
	}else
	{
		cout << "No" << endl;
	}

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:26:37: error: expected ';' before '}' token
   26 |                 cout << "No" << endl
      |                                     ^
      |                                     ;
   27 |         }else if (s[0] == "Y" && s[1] == "A" && s[2] == "K" && s[3] == "I")
      |         ~                            
a.cc:27:24: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   27 |         }else if (s[0] == "Y" && s[1] == "A" && s[2] == "K" && s[3] == "I")
a.cc:27:39: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   27 |         }else if (s[0] == "Y" && s[1] == "A" && s[2] == "K" && s[3] == "I")
a.cc:27:54: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   27 |         }else if (s[0] == "Y" && s[1] == "A" && s[2] == "K" && s[3] == "I")
a.cc:27:69: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   27 |         }else if (s[0] == "Y" && s[1] == "A" && s[2] == "K" && s[3] == "I")
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
    string x;
    cin>>x;
    if(x.size()>=4&&x.substr(0,4)=="YAKI")
    cout<<"Yes";
    else
    cout<<"No";
    cout<<endl
	return 0;
}
//mmmm

Compiler output:
a.cc: In function 'int main()':
a.cc:11:15: error: expected ';' before 'return'
   11 |     cout<<endl
      |               ^
      |               ;
   12 |         return 0;
      |         ~~~~~~
Language: C++

#include <iostream>
using namespace std;

int main(void){
  string s;
  cin >> s;
  if(s[0]=="Y"&&s[1]=="A"&&s[2]=="K"&&s[3]=="I"){
    cout << "Yes" << endl;
  }
  else cout << "No" <<endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if(s[0]=="Y"&&s[1]=="A"&&s[2]=="K"&&s[3]=="I"){
a.cc:7:21: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if(s[0]=="Y"&&s[1]=="A"&&s[2]=="K"&&s[3]=="I"){
a.cc:7:32: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if(s[0]=="Y"&&s[1]=="A"&&s[2]=="K"&&s[3]=="I"){
a.cc:7:43: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if(s[0]=="Y"&&s[1]=="A"&&s[2]=="K"&&s[3]=="I"){
Language: C++

#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <cstdlib>
#include <algorithm>
#include <string>
#include <vector>
#include <stack>
#include <queue>
#include <set>
#include <map>
#include <functional>
#include <utility>
#include <tuple>
#include <cctype>
#define INF 0x3f3f3f3f
#define MOD 1000000007
#define PI 4*atan(1.0)
#define mp make_pair
#define mt make_tuple
#define pb push_back
typedef long long ll;
typedef long double ld;
using namespace std;
int dx[4]={0,0,-1,1};
int dy[4]={-1,1,0,0};
const int SIZE=100050;
//int arr[SIZE]={};
//ここまでテンプレ
int main(){
	char A[5]="YAKI",S;
	cin>>S;
	for(int i=0;i<4;i++){
		if(A[i]!=S[i]){
			cout<<"No"<<endl;
			return 0;
		}
	}
	cout<<"Yes"<<endl;

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:36:27: error: invalid types 'char[int]' for array subscript
   36 |                 if(A[i]!=S[i]){
      |                           ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define FOR(i, j, k) for(int i=j; i<=k; i++)
#define FFOR(i, j, k) for(int i=j; i<k; i++)
#define DFOR(i, j, k) for(int i=j; i>=k; i--)
#define bug(x) cerr<<#x<<" = "<<x<<'\n'
#define pb push_back
#define mp make_pair
typedef long long ll;
typedef long double ld;
template <typename T> inline void read(T &x){
    char c;
    bool nega=0;
    while((!isdigit(c=getchar()))&&(c!='-'));
    if(c=='-'){
        nega=1;
        c=getchar();
    }
    x=c-48;
    while(isdigit(c=getchar())) x=x*10+c-48;
    if(nega) x=-x;
}
template <typename T> inline void writep(T x){
    if(x>9) writep(x/10);
    putchar(x%10+48);
}
template <typename T> inline void write(T x){
    if(x<0){
        putchar('-');
        x=-x;
    }
    writep(x);
}
template <typename T> inline void writeln(T x){
    write(x);
    putchar('\n');
}
#define taskname "A"
string s;
int main(){
    #ifdef Megumin
        if(fopen(taskname".inp", "r"))
            freopen(taskname".inp", "r", stdin);
    #endif // Megumin
    cin>>s;
    if(s.find("YAKI")==0) puts("Yes);
    else puts("No");
}

Compiler output:
a.cc:46:32: warning: missing terminating " character
   46 |     if(s.find("YAKI")==0) puts("Yes);
      |                                ^
a.cc:46:32: error: missing terminating " character
   46 |     if(s.find("YAKI")==0) puts("Yes);
      |                                ^~~~~~
a.cc: In function 'int main()':
a.cc:47:5: error: expected primary-expression before 'else'
   47 |     else puts("No");
      |     ^~~~
Language: C++

#include<cstdio>
#include<cctype>
#define For(i,j,k) for(int i=j;i<=k;++i)
using namespace std;
int read(){
	int l=1,x=0; char ch=getchar();
	while(!isdigit(ch)) {if (ch=='-') l=-1; ch=getchar();}
	while(isdigit(ch)) x=x*10+(ch^48),ch=getchar();
	return x*l;
}
int main(){
	char ch[15]={0}; scanf("%s",ch);
	if (ch[0]=='Y'&&ch[1]=='A'&&ch[2]=='K'&&ch[3]='I') printf("Yes");
	else printf("No");
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:47: error: lvalue required as left operand of assignment
   13 |         if (ch[0]=='Y'&&ch[1]=='A'&&ch[2]=='K'&&ch[3]='I') printf("Yes");
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
Language: C++

#include<iostream>
#include<string>
#include<algorithm>
#include<cmath>
#include<math.h>
#include<iomanip>
#include<stdio.h>
using namespace std;

int main(){

  string n;
  cin >> n;

  if(s[0]=='Y' && s[1]=='A' && s[2]=='K' && s[3]=='I'){
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }


  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:6: error: 's' was not declared in this scope
   15 |   if(s[0]=='Y' && s[1]=='A' && s[2]=='K' && s[3]=='I'){
      |      ^
Language: C++

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

string s;

int main(){
	cin>>s;
	if(s[0]=='Y'&&s[1]=='A'&&s[2]=='K'&&s[3]=='I') cout<<"Yes"<<endl;
	else cout<<"No"<<ednl;
	return 0;
}

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

#include <bits/stdc++.h>
#define xx first
#define yy second
#define mp make_pair
#define pb push_back
#define mset(x, y) memset(x, y, sizeof x)
#define mcpy(x, y) memcpy(x, y, sizeof x)
using namespace std;

typedef long long LL;
typedef pair <int, int> pii;

inline int Read()
{
	int x = 0, f = 1, c = getchar();
	for (; !isdigit(c); c = getchar())
		if (c == '-')
			f = -1;
	for (;  isdigit(c); c = getchar())
		x = x * 10 + c - '0';
	return x * f;
}

int main()
{
#ifdef wxh010910
	freopen("data.in", "r", stdin);
#endif
	char s[105];
	scanf("%s", s);
	if (s[0] == 'Y' && s[1] == 'A' && S[2] == 'K' && s[3] == 'I')
		puts("Yes");
	else
		puts("No");
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:31:43: error: 'S' was not declared in this scope
   31 |         if (s[0] == 'Y' && s[1] == 'A' && S[2] == 'K' && s[3] == 'I')
      |                                           ^
Language: C++

#include<bits/stdc++.h>

#define INF 1000010000
#define nl '\n'
#define pb push_back
#define ppb pop_back
#define mp make_pair
#define fi first
#define se second
#define pii pair<int,int>
#define pdd pair<double,double>
#define all(c) (c).begin(), (c).end()
#define SORT(c) sort(all(c))
#define sz(c) (c).size()
#define rep(i,n) for( int i = 0; i < n; ++i )
#define repi(i,n) for( int i = 1 ; i <= n; ++i )
#define repn(i,n) for( int i = n - 1 ; i >= 0 ; --i )
#define repf(j,i,n) for( int j = i ; j < n ; ++j )
#define die(s) {std::cout << s << nl;}
#define dier(s) {std::cout << s; return 0;}
#define vi vector<int>
typedef long long ll;

using namespace std;


int main() {
	ios_base::sync_with_stdio(false);
	cin.tie(NULL);
	cout.precision(0); 

	string s;
	cin >> s;
	if(sz(s) >= 4 && s.substr(0, 4).find("YAKI") != strng::npos){
		dier("YES");
	}else{
		dier("NO");
	}

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:34:57: error: 'strng' has not been declared
   34 |         if(sz(s) >= 4 && s.substr(0, 4).find("YAKI") != strng::npos){
      |                                                         ^~~~~
Language: C++

#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <cstdlib>
#include <algorithm>
#include <string>
#include <vector>
#include <stack>
#include <queue>
#include <set>
#include <map>
#include <functional>
#include <utility>
#include <tuple>
#include <cctype>
#define INF 0x3f3f3f3f
#define MOD 1000000007
#define PI 4*atan(1.0)
#define mp make_pair
#define mt make_tuple
#define pb push_back
typedef long long ll;
typedef long double ld;
using namespace std;
int dx[4]={0,0,-1,1};
int dy[4]={-1,1,0,0};
const int SIZE=100050;
//int arr[SIZE]={};
//ここまでテンプレ
int main(){
	char A[5]="YAKI",S;
	cin>>S;
	for(int i=0;i<4){
		if(A[i]!=S[i]){
			cout<<"No"<<endl;
			return 0;
		}
	}
	cout<<"Yes"<<endl;

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:35:24: error: expected ';' before ')' token
   35 |         for(int i=0;i<4){
      |                        ^
      |                        ;
a.cc:36:27: error: invalid types 'char[int]' for array subscript
   36 |                 if(A[i]!=S[i]){
      |                           ^
Language: C++

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

typedef long long ll;
typedef unsigned long long ull;
typedef unsigned __int128 HASH;
typedef pair<int,int> pii;
typedef pair<ll, ll> pll;
typedef pair<ull, ull> pullull;
typedef pair<ll,int> plli;
typedef pair<double, int> pdbi;
typedef pair<int,pii> pipii;
typedef vector<int> vi;
typedef vector<ll> vll;
typedef vector<vi> vvi;
typedef vector<vvi> vvvi;
typedef vector<pii> vpii;
typedef vector<vector<int>> mat;

#define rep(i,n) for (int i=0;i<(n);i++)
#define rep2(i,a,b) for (int i=(a);i<(b);i++)
#define rrep(i,n) for (int i=(n);i>0;i--)
#define rrep2(i,a,b) for (int i=(a);i>b;i--)
#define pb push_back
#define fi first
#define se second
#define all(a) (a).begin(),(a).end()
#define rall(a) (a).rbegin(),(a).rend()

const ll hmod1 = 999999937;
const ll hmod2 = 1000000000 + 9;
const ll INF = 1<<30;
const ll mod = 10000 + 7;
const int dx4[4] = {1, 0, -1, 0};
const int dy4[4] = {0, 1, 0, -1};
const int dx8[8] = {1, 1, 1, 0, 0, -1, -1, -1};
const int dy8[8] = {0, 1, -1, 1, -1, 0, 1, -1};
const double pi = 3.141592653589793;

#define int long long
#define addm(X, Y) (X) = ((X) + ((Y) % mod) + mod) % mod

string s;

signed main(){
    cin.tie(0);
    ios::sync_with_stdio(false);
    cin >> s;
    int n = s.size();
    if (s[0] + s[1] + s[2] + s[3] == "YAKI") cout << "Yes" << endl;
    else cout << "No" << endl;

}


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

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

int main() {
	cin >> s;
	cout << s.substr(0, 4) == "YAKI" ? "Yes" : "No" << endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:16: error: 's' was not declared in this scope
    6 |         cin >> s;
      |                ^
a.cc:7:57: error: invalid operands of types 'const char [3]' and '<unresolved overloaded function type>' to binary 'operator<<'
    7 |         cout << s.substr(0, 4) == "YAKI" ? "Yes" : "No" << endl;
      |                                                    ~~~~~^~~~~~~
Language: C++

#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<cmath>
#include<ctime>
#include<cctype>
#include<climits>
#include<iostream>
#include<string>
#include<vector>
#include<map>
#include<list>
#include<queue>
#include<deque>
#include<algorithm>
#include<numeric>
#include<utility>
#include<complex>
#include<memory>
#include<functional>
#include<set>
 
using namespace std;
 
#define ALL(g) (g).begin(),(g).end()
#define REP(i, x, n) for(int i = x; i < n; i++)
#define rep(i,n) REP(i,0,n)
#define F(i,j,k) fill(i[0],i[0]+j*j,k)
#define P(p) cout<<(p)<<endl;
#define EXIST(s,e) ((s).find(e)!=(s).end())
#define INF 1<<25
#define pb push_back
 
typedef vector<int> vi;
typedef vector<long long> vl;
typedef vector<double> vd;
typedef pair<int,int> pii;
typedef pair<long,long> pll;
typedef long long ll;

int main(){
	int n,m,ans=0;
	string s;
	cin>>s;
	if(s[0]=='Y'&&s1[1]=='A'&&s[2]=='K'&&s[3]=='I')
		cout<<"Yes"<<endl;
	else
		cout<<"No"<<endl;
	return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:45:23: error: 's1' was not declared in this scope; did you mean 's'?
   45 |         if(s[0]=='Y'&&s1[1]=='A'&&s[2]=='K'&&s[3]=='I')
      |                       ^~
      |                       s
Language: C++

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

int main() {
	string s;
	cin >> s;
	if (s[0] = 'Y' && s[1] == 'A' && s[2] = 'K' && s[3] == 'I') cout << "Yes";
	else cout << "No";
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:39: error: lvalue required as left operand of assignment
    8 |         if (s[0] = 'Y' && s[1] == 'A' && s[2] = 'K' && s[3] == 'I') cout << "Yes";
Language: C++

"const int MAX_N=10000;",
"",
"int bit[MAX_N+1];",
"",
"int sum(int i){",
"    int s=0;",
"    while(i>0){",
"        s+=bit[i];",
"        i-=i&-i;",
"    }",
"    return s;",
"}",
"void add(int i,int x){",
"    while(i<=n){",
"        bit[i]+=x;",
"        i+=i&-i;",
"    }",
"}"


Compiler output:
a.cc:1:1: error: expected unqualified-id before string constant
    1 | "const int MAX_N=10000;",
      | ^~~~~~~~~~~~~~~~~~~~~~~~
Language: C++

s = raw_input()
if s.startswith("YAKI"):
  print("Yes");
else :
  print("No")


Compiler output:
a.cc:1:1: error: 's' does not name a type
    1 | s = raw_input()
      | ^
a.cc:4:1: error: expected unqualified-id before 'else'
    4 | else :
      | ^~~~
Language: C++

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

#define ll long long
#define vvi vector< vector<int> >
#define vi vector<int>
#define All(X) X.begin(),X.end()
#define FOR(i,a,b) for(int i=(int)(a);i<(int)(b);i++)
#define REP(i,n) for(int i=0;i<(int)(n);i++)
#define pb push_back
#define pii pair<int,int>
#define mp make_pair
#define pi 3.14159265359
#define shosu(X) fixed << setprecision(X)
ll gcd(ll a,ll b){return b?gcd(b,a%b):a;}
ll lcm(ll a,ll b){return a/gcd(a,b)*b;}

int main(){
	bool res = true;
	string s;
	cin >> s;
	if(s.subsr(0, 4) == "YAKI") cout << "Yes" << endl;
	else cout << "No" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:22:14: error: 'std::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'subsr'; did you mean 'substr'?
   22 |         if(s.subsr(0, 4) == "YAKI") cout << "Yes" << endl;
      |              ^~~~~
      |              substr
Language: C++

#include<iostream>
#include<cmath>
#include<queue>
#include<cstdio>
#include<cstdlib>
#include<cassert>
#include<cstring>
#include<climits>
#include<sstream>
#include<deque>
#include<vector>
#include<algorithm>
#include<set>
#include<map>
#include<bitset>

#define REP(i,s,n) for(int i=s;i<n;i++)
#define rep(i,n) REP(i,0,n)

using namespace std;

typedef long long ll;
const int IINF = INT_MAX;
const ll LLINF = LLONG_MAX;

int main(){
  string s;
  cin >> s;
  if(s.size()>=4&&s.substr(0,4)=="YAKI") puts("Yes");
  else puts("No")


  
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:30:18: error: expected ';' before 'return'
   30 |   else puts("No")
      |                  ^
      |                  ;
......
   34 |   return 0;
      |   ~~~~~~
Language: C++

#include <bits/stdc++.h>
#define rep(i, n) for(int i = 0; i < (int)(n); i++)
#define REP(i, n) for(long long i = 0; i < (long long)(n); i++)
using namespace std;
using ll = long long;
const int MOD = 1e9 + 7;
int main() {
    int n, m, k;
    cin >> n >> m >> k;
    rep(i, n + 1){
        rep(j, m + 1){
            if(i * j + (h - i) * (w + j) == k){
                cout << "Yes" << endl;
            }
        }
    }
    cout << "No" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:25: error: 'h' was not declared in this scope
   12 |             if(i * j + (h - i) * (w + j) == k){
      |                         ^
a.cc:12:35: error: 'w' was not declared in this scope
   12 |             if(i * j + (h - i) * (w + j) == k){
      |                                   ^
Language: C++

#include <bits/stdc++.h>
#define rep(i, n) for(int i = 0; i < (int)(n); i++)
#define REP(i, n) for(long long i = 0; i < (long long)(n); i++)
using namespace std;
using ll = long long;
const int MOD = 1e9 + 7;
int main() {
    int n, m, k;
    cin >> n >> m >> k;
    rep(i, n + 1){
        rep(j, m + 1){
            if(i * j + (h - i) * (w + j) == k{
                cout << "Yes" << endl;
            }
        }
    }
    cout << "No" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:25: error: 'h' was not declared in this scope
   12 |             if(i * j + (h - i) * (w + j) == k{
      |                         ^
a.cc:12:35: error: 'w' was not declared in this scope
   12 |             if(i * j + (h - i) * (w + j) == k{
      |                                   ^
a.cc:12:46: error: expected ')' before '{' token
   12 |             if(i * j + (h - i) * (w + j) == k{
      |               ~                              ^
      |                                              )
a.cc:15:9: error: expected primary-expression before '}' token
   15 |         }
      |         ^
Language: C++

#include <bits/stdc++.h>
#define rep(i, n) for(int i = 0; i < (int)(n); i++)
#define REP(i, n) for(long long i = 0; i < (long long)(n); i++)
using namespace std;
using ll = long long;
const int MOD = 1e9 + 7;
int main() {
    int n, m, k;
    cin >> n >> m >> k;
    int t = n * m - k;
    rep(i, n + 1){
        rep(j, m + 1){
            if(i * j + (h - i) * (w + j) == n){
                cout << "Yes" << endl;
            }
        }
    }
    cout << "No" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:25: error: 'h' was not declared in this scope
   13 |             if(i * j + (h - i) * (w + j) == n){
      |                         ^
a.cc:13:35: error: 'w' was not declared in this scope
   13 |             if(i * j + (h - i) * (w + j) == n){
      |                                   ^
Language: C++

parseLine() = parse.(Int,split(readline()))
function main()
    N,M,K=parseLine()
    for x=1:N
        if N-2x!=0 && (K-2M)%(N-2x)==0 && 0≤(K-2M)/(N-2x)≤M
            println("Yes")
            exit()
        end
    end
    println("No")
    
end

main()

Compiler output:
a.cc:5:43: error: extended character ≤ is not valid in an identifier
    5 |         if N-2x!=0 && (K-2M)%(N-2x)==0 && 0≤(K-2M)/(N-2x)≤M
      |                                           ^
a.cc:5:58: error: extended character ≤ is not valid in an identifier
    5 |         if N-2x!=0 && (K-2M)%(N-2x)==0 && 0≤(K-2M)/(N-2x)≤M
      |                                                          ^
a.cc:1:13: error: expected constructor, destructor, or type conversion before '=' token
    1 | parseLine() = parse.(Int,split(readline()))
      |             ^
Language: C++

#include <iostream>
#include<vector>
using namespace std;
int main(void){
   int h,m,k;
   cin >> h >> m >> k;
   for(int i = 1;i <= n;i++){
         for(int j = 1;j <= m;j++){
               if(i * (m - j) + j * (n - i) == k){
                     cout << "Yes" << endl;
                     return 0;
               }
         }
   }
   cout << "No" << endl;
}


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

#include <bits/stdc++.h>
#include <vector>
#include <algorithm>
#include <iostream>
#include <cmath>
using namespace std;

int main() {
  int N, M, K, ans;
  cin >> N >> M >> K;
  ans=0;
  for (int i=0, i<=N; i++) {
    for (int j=0; j<=M; j++) {
      if (i*(M-j)+j*(N-i)==K) {
        ans=ans+1;
      }
    }
  }
  if (ans>0) {
    cout << "Yes" << endl;
  }
  else {
    cout << "No" << endl;
  }
}

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

#include <bits/stdc++.h>
using namespace std;
int main(){
	long n,m,k;
  cin>>n>>m>>k;
  for(long i=0;i<=n;i++){
      for(long j=0;j<=m;j++){
          if(i*n+j*m-2*i*j==k){
              cout<<"Yes"<<endl;
              return 0;
          }
      }
  }
    cout<<"No"<<endl;

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

#include <bits/stdc++.h>
using namespace std;
using ll=long long;
using vi = vector<int>;
using vvi = vector<vector<int>>;
using vl = vector<ll>;
using vvl = vector<vector<ll>>;
#define all(x) x.begin(),x.end()
#define rep(i,j,n) for (long long i = j; i < (long long)(n); i++)
#define _GLIBCXX_DEBUG
#define MOD 1000000007
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return 1; } return 0; }
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return 1; } return 0; }
//(a+b-1)/b

signed main(){
	int n,m,k; cin>>n>>m>>k;
	rep(i,0,n+1){
		rep(j,0,m;1){
			if(j*(n-i)+i*(m-j)==k){
				cout<<"Yes"<<endl;
				return 0;
			}
		}
	}
	cout<<"No"<<endl;
	
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:19:26: error: expected ')' before ';' token
   19 |                 rep(j,0,m;1){
      |                          ^
a.cc:9:58: note: in definition of macro 'rep'
    9 | #define rep(i,j,n) for (long long i = j; i < (long long)(n); i++)
      |                                                          ^
a.cc:9:57: note: to match this '('
    9 | #define rep(i,j,n) for (long long i = j; i < (long long)(n); i++)
      |                                                         ^
a.cc:19:17: note: in expansion of macro 'rep'
   19 |                 rep(j,0,m;1){
      |                 ^~~
a.cc:19:21: error: 'j' was not declared in this scope
   19 |                 rep(j,0,m;1){
      |                     ^
a.cc:9:62: note: in definition of macro 'rep'
    9 | #define rep(i,j,n) for (long long i = j; i < (long long)(n); i++)
      |                                                              ^
Language: C++

#include <bits/stdc++.h>

using namespace std;
typedef long long ll;
typedef pair<ll, ll> p_ll;

template<class T>
void debug(T itr1, T itr2) { auto now = itr1; while(now<itr2) { cout << *now << " "; now++; } cout << endl; }
#define repr(i,from,to) for (int i=(int)from; i<(int)to; i++)
#define all(vec) vec.begin(), vec.end()
#define rep(i,N) repr(i,0,N)
#define per(i,N) for (int i=(int)N-1; i>=0; i--)

const ll MOD = pow(10,9)+7;
const ll LLINF = pow(2,61)-1;
const int INF = pow(2,30)-1;

vector<ll> fac;
void c_fac(int x=pow(10,6)+10) { fac.resize(x,true); rep(i,x) fac[i] = i ? (fac[i-1]*i)%MOD : 1; }
ll inv(ll a, ll m=MOD) { ll b = m, x = 1, y = 0; while (b!=0) { int d = a/b; a -= b*d; swap(a,b); x -= y*d; swap(x,y); } return (x+m)%m; }
ll nck(ll n, ll k) { return fac[n]*inv(fac[k]*fac[n-k]%MOD)%MOD; }
ll gcd(ll a, ll b) { if (a<b) swap(a,b); return b==0 ? a : gcd(b, a%b); }
ll lcm(ll a, ll b) { return a/gcd(a,b)*b; }


int main() {
  int N, M, K; cin >> N >> M >> K;
  string result = "No";
  repr(i,N+1) repr(j,M+1) {
    if (i*j+(N-i)*(M-j)==K) result = "Yes";
  }
  cout << result << endl;
  return 0;
}

Compiler output:
a.cc:29:13: error: macro "repr" requires 3 arguments, but only 2 given
   29 |   repr(i,N+1) repr(j,M+1) {
      |             ^
a.cc:9:9: note: macro "repr" defined here
    9 | #define repr(i,from,to) for (int i=(int)from; i<(int)to; i++)
      |         ^~~~
a.cc:29:25: error: macro "repr" requires 3 arguments, but only 2 given
   29 |   repr(i,N+1) repr(j,M+1) {
      |                         ^
a.cc:9:9: note: macro "repr" defined here
    9 | #define repr(i,from,to) for (int i=(int)from; i<(int)to; i++)
      |         ^~~~
a.cc: In function 'int main()':
a.cc:29:3: error: 'repr' was not declared in this scope
   29 |   repr(i,N+1) repr(j,M+1) {
      |   ^~~~
Language: C++

#include<iostream>
#include<stdio.h>
//#include <bits/stdc++.h>
#include<vector>
#include<float.h>
#include<iomanip>
#include<algorithm>
#include<string>
#include<cstring>
#include<math.h>
#include<cmath>
#include<sstream>
#include<set>
#include<map>
#include<queue>
#include <cassert>
#include <cmath>
#include<cstdint>

#define INF 1e9
#define rep(i,n)for(int i=0;(i)<(int)(n);i++)
#define REP(i,a,b)for(int i=(int)(a);(i)<=(int)(b);i++)
#define VEC(type, c, n) std::vector<type> c(n);for(auto& i:c)std::cin>>i;
#define vec(type,n) vector<type>(n)
#define vvec(m,n) vector<vector<int>> (int(m),vector<int>(n))
#define ALL(a)  (a).begin(),(a).end()
#define chmax(a, b) a = max(a, b)
#define chmin(a, b) a = min(a, b)


using namespace std;
using ll = long long;
using Graph = vector<vector<int>>;
using P = pair<ll, ll>;

int main(){
    int n, m, k;
    cin >> n >> m >> k;
    bool f = false;
    rep(i, m+1)if(n * i == k)f = true;
    rep(i, n+1)if(m * i == k)f = true;

    REP(i, 1, n){
        ll sum = m * i;
        REP(j, 1, m){
            sum = sum - 2 + n
            if(sum == k)f = true;
        }
    }
    cout << (f ? "Yes" : "No") << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:46:30: error: expected ';' before 'if'
   46 |             sum = sum - 2 + n
      |                              ^
      |                              ;
   47 |             if(sum == k)f = true;
      |             ~~
Language: C++

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

int main() {
  int n, m, k;
  cin >> n >> m >> k;
  bool result = false;
  for (int i=0;i<n;++i){
    for (int j=0;j<m;++j){
      if (k*j+l*i-2*k*l==k){//-k*lしただけじゃ交差した部分裏返ってないことになるで
        result = true;
      }
    }
  }
  cout << (result ? "Yes" : "No") << endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:15: error: 'l' was not declared in this scope
   10 |       if (k*j+l*i-2*k*l==k){//-k*lしただけじゃ交差した部分裏返ってないことになるで
      |               ^