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

#include <stdio.h>


int main()
{
	int a[100], b[100], c[100], d[100], n;
	int i,pea = 0;
	scanf_s("%d", &n);
	for (i = 0; i < n; i++) {
		scanf("%d %d", &a,&b);
	}
	for (i = 0; i < n; i++) {
		scanf("%d %d", &c,&d);
	}
	for (i = 0; i < n; i++) {
		for (int j = 0; j < n; j++) {
			if (a[i] < c[j] && b[i] < d[j])
				pea++;
		}
	}

	printf("%d\n", pea);
    return 0;
}

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

#include<algorithm>
#include<iostream>
#include<string.h>
#include<stdio.h>
#include<string>
#include<math.h>
#include<vector>
#include<queue>
#include<set>
#include<map>
using namespace std;
int main()
{
cin>>a>>b>>c>>x;
a+b=x;
if(x>=c)
cout<<"Yes";
else
cout<<"No";
return 0;
}

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

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

int main(){
  int a,b,c;
  cin>>a>>b>>c;
  cout<<((a+b>=c)?"Yes":"No"<<endl;
         }

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

#include<stdio.h>

int main(void){
int a, b, c;
scant("%d %d %d", &a, &b, &c);
if(c<=a+b){
printf("Yes");
}else{
printf("No");
}
putchar("\n");
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:1: error: implicit declaration of function 'scant'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    5 | scant("%d %d %d", &a, &b, &c);
      | ^~~~~
      | scanf
main.c:11:9: error: passing argument 1 of 'putchar' makes integer from pointer without a cast [-Wint-conversion]
   11 | putchar("\n");
      |         ^~~~
      |         |
      |         char *
In file included from main.c:1:
/usr/include/stdio.h:618:25: note: expected 'int' but argument is of type 'char *'
  618 | extern int putchar (int __c);
      |                     ~~~~^~~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: expected '}' before 'else'
    7 |         else cout<<"No"<<endl;
      |         ^~~~
a.cc:6:19: note: to match this '{'
    6 |         if(c<=a+b){ cout<<"Yes"<<endl;
      |                   ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:14: error: expected primary-expression before '>=' token
    7 |         if(a+>=c)cout<<"Yes";
      |              ^~
Language: C++

#include<iostream>
using namespace std;
int main()
{
    // 整数の入力
    int A,B,C;
    cin >> A >> B >>C;
  if (C<=A+B)
  {
  	cout << "Yes" << endl;
  }
  else
  {
  	cout << "No" << endl;
  }
return 0;

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

int main()
{
    // 整数の入力
    int A,B,C;
    cin >> A >> B >>C;
  if (C<=A+B)
  {
  	cout << "Yes" << endl;
  }
  else
  {
  	cout << "No" << endl;
  }
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: 'cin' was not declared in this scope
    5 |     cin >> A >> B >>C;
      |     ^~~
a.cc:8:9: error: 'cout' was not declared in this scope
    8 |         cout << "Yes" << endl;
      |         ^~~~
a.cc:8:26: error: 'endl' was not declared in this scope
    8 |         cout << "Yes" << endl;
      |                          ^~~~
a.cc:12:9: error: 'cout' was not declared in this scope
   12 |         cout << "No" << endl;
      |         ^~~~
a.cc:12:25: error: 'endl' was not declared in this scope
   12 |         cout << "No" << endl;
      |                         ^~~~
Language: C

#include <stdio.h>
#include <string.h>


int main()
{
	char n[100][10], m[100][10];
	int i, j, s, t;
	int x = 0;
	int a = 0, b = 0;

	scanf("%d", &s);
	for (i = 0; i < s; i++) {
		scanf_s("%s",n[i],10);
	}
	
	scanf("%d", &t);
	for (i = 0; i < t; i++) {
		scanf("%s",m[i],10);
	}

	for (i = 0; i < s; i++) {
		for (j = 0; j < s; j++) {
			if (strcmp(n[i],n[j]) == 0 && i != j)
				a++;
		}
		for(j = 0; j < t; j++){
			if (strcmp(n[i], m[j]) == 0)
				b++;
		}
		if ((a - b) > x && (a - b) > 0)
			x = (a - b);
		if (x < 0)
			x = 0;
	}

	printf("%d\n", x);
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:14:17: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
   14 |                 scanf_s("%s",n[i],10);
      |                 ^~~~~~~
      |                 scanf
Language: C

#include <stdio.h>
#include <string.h>


int main()
{
	char n[100][10], m[100][10];
	int i, j, s, t;
	int x = 0;
	int a = 0, b = 0;

	scanf_s("%d", &s);
	for (i = 0; i < s; i++) {
		scanf_s("%s",n[i],10);
	}
	
	scanf_s("%d", &t);
	for (i = 0; i < t; i++) {
		scanf_s("%s",m[i],10);
	}

	for (i = 0; i < s; i++) {
		for (j = 0; j < s; j++) {
			if (strcmp(n[i],n[j]) == 0 && i != j)
				a++;
		}
		for(j = 0; j < t; j++){
			if (strcmp(n[i], m[j]) == 0)
				b++;
		}
		if ((a - b) > x && (a - b) > 0)
			x = (a - b);
		if (x < 0)
			x = 0;
	}

	printf("%d\n", x);
    return 0;
}

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

#include<iostream>
using namespace std
int main()
{
	int a,b,c;
	while(cin>>a>>b>>c)
	{
		int s;
		s=(a+b-c);
		if(a%10==0&&b%10==0)
		{
			if(s>0)cout<<"Yes"<<endl;
			else
			cout<<"No"<<endl;	
		}
		else
		{
			if(a%10!=0&&b%10!=0)
			{
				if(c==a+b|a==c|b==c)
				cout<<"Yes"<<endl;
				else
				cout<<"No"<<endl;
			}
			if(a%10==0)
			{
				if(c==a+b|c-b<a|c-b==a|c<a|c==a)
				cout<<"Yes"<<endl;
				else
				cout<<"No"<<endl;
			}
			if(b%10==0)
			{
				if(c==a+b|c-a<b|c-a==b|c<b|c==b)
				cout<<"Yes"<<endl;
				else
				cout<<"No"<<endl;
			}
		}
			
	}
} 

Compiler output:
a.cc:2:20: error: expected ';' before 'int'
    2 | using namespace std
      |                    ^
      |                    ;
    3 | int main()
      | ~~~
Language: C++

#imclude <iostream>
using namespace std;

int main() {
  int a, b, c;
  cin >> a >> b >> c;
  if(a+b >= c) cout << "Yes";
  else cout << "No";
  cout << endl;
  return 0;
}

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

#include <stdio.h>
int main(void){
   int N,i,j;
   scanf("%d",&N);
   int a[N],b[N],c[N],d[N],max_x,max_y,max_n;
   
   for(i=0;i<N;i++){
       scanf("%d %d",&a[i],&b[i]);
   }
   for(i=0;i<N;i++){
       scanf("%d %d",&c[i],&d[i]);
   }
   
   //ｘの小さい順にソート
   for(i=0;i<N;i++){
       max_x = 0;
       max_y = 0;
       max_n = i;
       for(j=i;j<N;j++){
           if(max_x < a[j]){
               max_x = a[j];
               max_y = b[j];
               max_n = j;
           }
       }
       a[max_n] = a[i];
       b[max_n] = b[i];
       a[i] = max_x;
       b[i] = max_y;
   }
   
   
   for(i=0;i<N;i++){
       max_x = 0;
       max_y = 0;
       max_n = i;
       for(j=i;j<N;j++){
           if(max_x < c[j]){
               max_x = c[j];
               max_y = d[j];
               max_n = j;
           }
       }
       c[max_n] = c[i];
       d[max_n] = d[i];
       c[i] = max_x;
       d[i] = max_y;
   }
   
   //更にｙの小さい順にソート
   
   
   for(i=0;i<N;i++){
       max_x = 0;
       max_y = 0;
       max_n = i;
       for(j=i;j<N;j++){
           if(max_y < b[j]){
               max_x = a[j];
               max_y = b[j];
               max_n = j;
           }
       }
       a[max_n] = a[i];
       b[max_n] = b[i];
       a[i] = max_x;
       b[i] = max_y;
   }
   
   for(i=0;i<N;i++){
       max_x = 0;
       max_y = 0;
       max_n = i;
       for(j=i;j<N;j++){
           if(max_x < d[j]){
               max_x = c[j];
               max_y = d[j];
               max_n = j;
           }
       }
       c[max_n] = c[i];
       d[max_n] = d[i];
       c[i] = max_x;
       d[i] = max_y;
   }
   
   //探索
   
   int count=0;
   
   for(i=0;i<N;i++){
       for(j=0,j<N,j++){
           if(a[i]<c[i] && b[i]<d[i]){
               count ++;
               c[i] = 0;
               d[i] = 0;
               break;
           }
       }
   }
   
   printf("%d",count);
}


Compiler output:
main.c: In function 'main':
main.c:92:23: error: expected ';' before ')' token
   92 |        for(j=0,j<N,j++){
      |                       ^
      |                       ;
main.c:92:23: error: expected expression before ')' token
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
    char a[100][20],bb[20];
	int n,m,i,j,maxx=0;
	map<int,int> mm;
    scanf("%d%d",&n,&m);
    for(i=0;i<n;i++)
    {
		scanf("%s",a[i]);
		mm[(int)a[i]]++;
	}
	for(i=0;i<n;i++)
	{
		scanf("%s",bb);
		mm[(int)bb]--;
	}
	for(i=0;i<n;i++)
	{
		maxx=max(maxx,mm.count((int)a[i]));
	}
	printf("%d",maxx);
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:20: error: cast from 'char*' to 'int' loses precision [-fpermissive]
   12 |                 mm[(int)a[i]]++;
      |                    ^~~~~~~~~
a.cc:17:20: error: cast from 'char*' to 'int' loses precision [-fpermissive]
   17 |                 mm[(int)bb]--;
      |                    ^~~~~~~
a.cc:21:40: error: cast from 'char*' to 'int' loses precision [-fpermissive]
   21 |                 maxx=max(maxx,mm.count((int)a[i]));
      |                                        ^~~~~~~~~
a.cc:21:25: error: no matching function for call to 'max(int&, std::map<int, int>::size_type)'
   21 |                 maxx=max(maxx,mm.count((int)a[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:1:
/usr/include/c++/14/bits/stl_algobase.h:257:5: note: candidate: 'template<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)'
  257 |     max(const _Tp& __a, const _Tp& __b)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:257:5: note:   template argument deduction/substitution failed:
a.cc:21:25: note:   deduced conflicting types for parameter 'const _Tp' ('int' and 'std::map<int, int>::size_type' {aka 'long unsigned int'})
   21 |                 maxx=max(maxx,mm.count((int)a[i]));
      |                      ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/stl_algobase.h:303:5: note: candidate: 'template<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)'
  303 |     max(const _Tp& __a, const _Tp& __b, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:303: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:5706:5: note: candidate: 'template<class _Tp> constexpr _Tp std::max(initializer_list<_Tp>)'
 5706 |     max(initializer_list<_Tp> __l)
      |     ^~~
/usr/include/c++/14/bits/stl_algo.h:5706:5: note:   candidate expects 1 argument, 2 provided
/usr/include/c++/14/bits/stl_algo.h:5716:5: note: candidate: 'template<class _Tp, class _Compare> constexpr _Tp std::max(initializer_list<_Tp>, _Compare)'
 5716 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algo.h:5716:5: note:   template argument deduction/substitution failed:
a.cc:21:25: note:   mismatched types 'std::initializer_list<_Tp>' and 'int'
   21 |                 maxx=max(maxx,mm.count((int)a[i]));
      |                      ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
Language: C++

#include <iostream>
using namespace std;
int main()
{
	int a,b,c;
	while(cin>>a>>b>>c)
	{
		int s;
		s=(a+b)-c;
		if(a%100==0&&b%100==0)
		{
			if(s>=0)cout<<"Yes"<<endl;
			else cout<<"No"<<endl;
		}
		else {
		if(a==c||b==c||s%10=0)cout<<"Yes"<<endl;
		else cout<<"No"<<endl;
		}
	}
	
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:30: error: lvalue required as left operand of assignment
   16 |                 if(a==c||b==c||s%10=0)cout<<"Yes"<<endl;
      |                    ~~~~~~~~~~^~~~~~
Language: C++

#include<iostream>
using namespace std;

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

  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:12: error: expected primary-expression before '>' token
    8 |   if (A+B => C) {
      |            ^
Language: C++

#include <iostream>
using namespace std;
 
int main(){
    int a,b,c;
    cin >> a >> b >> c;
    cout << ((a + b) => c ? "Yes" : "No");
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:23: error: expected primary-expression before '>' token
    7 |     cout << ((a + b) => c ? "Yes" : "No");
      |                       ^
Language: C++

#include <iostream>
using namespace std;

int main(){
    int a,b,c;
    cin >> a >> b >> c;
    cout << ((a + b) < c ? "Yes" : "No")
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:41: error: expected ';' before 'return'
    7 |     cout << ((a + b) < c ? "Yes" : "No")
      |                                         ^
      |                                         ;
    8 |     return 0;
      |     ~~~~~~
Language: Java

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

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

#include <stdio.h>

int main() {
  int a, b, c;
  scanf("%d %d %d", &a, &b, &c);
  if(a + n >= c) {
    printf("Yes");
  }
  else {
    printf("No");
  }
  return 0;
}

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

#include <bits/stdc++.h>

using namespace std;

int main() {
    int a, b, c;
    cin >> a >> b >> c;
    
    if (a + b >= c) {
        cout << "Yes" << endl;
    else {
        cout << "No" << endl;
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:5: error: expected '}' before 'else'
   11 |     else {
      |     ^~~~
a.cc:9:21: note: to match this '{'
    9 |     if (a + b >= c) {
      |                     ^
Language: Java

import java.util.Scanner;
import java.util.InputMismatchException;
 
public class Main {
    public static void main(String[] args) {
      try {
      	Scanner scanner = new Scanner(System.in);
      	System.out.print("Input > ");
 
      	int x = scanner.nextInt();
     	int y = scanner.nextInt();
		int z = scanner.nextInt();
      	scanner.close();
        if (x+y >= z){
       	    System.out.printf("%s", “Yes”);
        }else{
         	System.out.printf("%s", “No”);
        }
    } catch (InputMismatchException e) { 
      System.out.println("error");
    }
      
    }
}

Compiler output:
Main.java:15: error: illegal character: '\u201c'
       	    System.out.printf("%s", ?Yes?);
       	                            ^
Main.java:15: error: illegal character: '\u201d'
       	    System.out.printf("%s", ?Yes?);
       	                                ^
Main.java:15: error: not a statement
       	    System.out.printf("%s", ?Yes?);
       	                             ^
Main.java:17: error: illegal character: '\u201c'
         	System.out.printf("%s", ?No?);
         	                        ^
Main.java:17: error: illegal character: '\u201d'
         	System.out.printf("%s", ?No?);
         	                           ^
Main.java:17: error: not a statement
         	System.out.printf("%s", ?No?);
         	                         ^
6 errors
Language: Java

import java.util.Scanner;
import java.util.InputMismatchException;
 
public class Main {
    public static void main(String[] args) {
      try {
      	Scanner scanner = new Scanner(System.in);
      	System.out.print("Input > ");
 
      	int x = scanner.nextInt();
     	int y = scanner.nextInt();
		int z = scanner.nextInt();
      	scanner.close();
        if (x+y >= z){
       	    System.out.printf("%s", “Yes”)
        }else{
         	System.out.printf("%s", “No”)
        }
    } catch (InputMismatchException e) { 
      System.out.println("error");
    }
      
    }
}

Compiler output:
Main.java:15: error: illegal character: '\u201c'
       	    System.out.printf("%s", ?Yes?)
       	                            ^
Main.java:15: error: illegal character: '\u201d'
       	    System.out.printf("%s", ?Yes?)
       	                                ^
Main.java:15: error: not a statement
       	    System.out.printf("%s", ?Yes?)
       	                             ^
Main.java:17: error: illegal character: '\u201c'
         	System.out.printf("%s", ?No?)
         	                        ^
Main.java:17: error: illegal character: '\u201d'
         	System.out.printf("%s", ?No?)
         	                           ^
Main.java:17: error: not a statement
         	System.out.printf("%s", ?No?)
         	                         ^
6 errors
Language: C

// 091-A
// hapdap
#include<stdio.h>

int main(void){
	int A, B, C;
	scanf("%d %d %d", &A, &B, &C);
	}
  if(A+B<C){
	  printf("No\n");
  }else{
    printf("Yes\n");
  }

	return 0;
}


Compiler output:
main.c:9:3: error: expected identifier or '(' before 'if'
    9 |   if(A+B<C){
      |   ^~
main.c:11:4: error: expected identifier or '(' before 'else'
   11 |   }else{
      |    ^~~~
main.c:15:9: error: expected identifier or '(' before 'return'
   15 |         return 0;
      |         ^~~~~~
main.c:16:1: error: expected identifier or '(' before '}' token
   16 | }
      | ^
Language: C++

#include<iostream> 
#include<string>
#include<string.h> 
#include<map> 
#include<set> 
#include<vector> 
#include<stdio.h> 
#include<math.h> 
#include<algorithm> 
#include<queue> 
using namespace std;
int n,m;
int main()
{
system ("pause"); 
return 0;
}   、 

Compiler output:
a.cc:17:5: error: extended character 、 is not valid in an identifier
   17 | }   、
      |     ^
a.cc:17:5: error: '\U00003001' does not name a type
   17 | }   、
      |     ^~
Language: C

int i,j,k;
    do{scanf("%d %d %d",&i,&j,&k);
    }
    while((i<0||j<0)||k<0);
    if((i + j)>= k)
    {
        printf("yes");
    }
    else{
    
        printf("No");}
}


Compiler output:
main.c:2:5: error: expected identifier or '(' before 'do'
    2 |     do{scanf("%d %d %d",&i,&j,&k);
      |     ^~
main.c:4:5: error: expected identifier or '(' before 'while'
    4 |     while((i<0||j<0)||k<0);
      |     ^~~~~
main.c:5:5: error: expected identifier or '(' before 'if'
    5 |     if((i + j)>= k)
      |     ^~
main.c:9:5: error: expected identifier or '(' before 'else'
    9 |     else{
      |     ^~~~
main.c:12:1: error: expected identifier or '(' before '}' token
   12 | }
      | ^
Language: C++

#include<iostream>
using namespace std;
int main()
{
  int A,B,C;
  cin>>A>>B>>C;
  if(A+B>=C)
  {
    cout<<"Yes"<<endl;
  }else{
    cout<<"No"<<endl;
  }
  retrun 0;
}
  

Compiler output:
a.cc: In function 'int main()':
a.cc:13:3: error: 'retrun' was not declared in this scope
   13 |   retrun 0;
      |   ^~~~~~
Language: C++

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: expected primary-expression before '>' token
    6 | if (a+b=>c){
      |         ^
a.cc:11:2: error: expected '}' at end of input
   11 | }
      |  ^
a.cc:3:15: note: to match this '{'
    3 | int main(void){
      |               ^
Language: C++


#include <iostream>

using namespace std;

int main(void){

// Your code here!

int a,b,c;

cin>>a>>b>>c;

if(a+b<c){

cout<<”No”<<endl;

}

if(a+b>=c){

cout<<”Yes”<<endl;

}

}


Compiler output:
a.cc:16:7: error: extended character ” is not valid in an identifier
   16 | cout<<”No”<<endl;
      |       ^
a.cc:16:7: error: extended character ” is not valid in an identifier
a.cc:22:7: error: extended character ” is not valid in an identifier
   22 | cout<<”Yes”<<endl;
      |       ^
a.cc:22:7: error: extended character ” is not valid in an identifier
a.cc: In function 'int main()':
a.cc:16:7: error: '\U0000201dNo\U0000201d' was not declared in this scope
   16 | cout<<”No”<<endl;
      |       ^~~~
a.cc:22:7: error: '\U0000201dYes\U0000201d' was not declared in this scope
   22 | cout<<”Yes”<<endl;
      |       ^~~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:10: error: lvalue required as left operand of assignment
    7 | if(a+b>c && a+b=c)
      |    ~~~~~~^~~~~~
Language: C++

#include <bits.stdc++.h>

using namespace std;

int main()
{
    long long a, b, c;
    cin >> a >> b >> c;
    if(a + b > c)
    {
        cout << "YES" << endl;
        return 0;
    }
    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++

#define _CRT_SECURE_NO_DEPRECATE
#pragma comment(linker, "/STACK:128777216")

#include <iostream>
#include <cstdlib>
#include <cstdio>
#include <sstream>

#include <algorithm>
#include <vector>
#include <map>
#include <set>
#include <bitset>
#include <queue>
#include <deque>
#include <stack>

#include <math.h>
#include <cmath>
#include <string>
#include <cstring>
#include <string.h>

#include <memory.h>
#include <cassert>
#include <time.h>
#include <functional>

using namespace std;

#define forn(i,n) for (int i = 0; i < (int)(n); i++)
#define fornd(i, n) for (int i = (int)(n) - 1; i >= 0; i--)
#define forab(i,a,b) for (int i = (int)(a); i <= (int)(b); i++)
#define forabd(i, b, a) for (int i = (int)(b); i >= (int)(a); i--)
#define forit(i, a) for (__typeof((a).begin()) i = (a).begin(); i != (a).end(); i++)

#define _(a, val) memset (a, val, sizeof (a))
#define sz(a) (int)((a).size())
#define pb push_back
#define mp make_pair
#define all(v) (v).begin(), (v).end()

typedef long long lint;
typedef unsigned long long ull;
typedef long double ld;
typedef pair<int, int> pii;
typedef vector<int> vii;

const lint LINF = 1000000000000000000LL;
const int INF = 1000000000;
const long double eps = 1e-9;
const long double PI = 3.1415926535897932384626433832795l;

#ifdef MY_DEBUG
#define dbgx( x ) { cerr << #x << " = " << x << endl; }
#define dbg( ... ) { fprintf(stderr, __VA_ARGS__); fflush(stderr); }
#else
#define dbgx( x ) {  } 
#define dbg( ... ) {  } 
#endif

void prepare(string s) {
#ifdef MY_DEBUG
  freopen("input.txt", "r", stdin);
  //freopen ("output.txt", "w", stdout);
#else
  //freopen("input.txt", "r", stdin);
  //freopen ("output.txt", "w", stdout);
#endif
}

int a, b, c;

void read() {
  scanf("%d %d %d", &a, &b, &c);
  printf("%s\n", (a + b => c)? "Yes" : "No");
}

void solve() {

}

int main() {
  prepare("");

  read();
  solve();
  dbg("Clock = %.3f\n", clock() / (double)CLOCKS_PER_SEC);
  return 0;
}

Compiler output:
a.cc: In function 'void read()':
a.cc:76:26: error: expected primary-expression before '>' token
   76 |   printf("%s\n", (a + b => c)? "Yes" : "No");
      |                          ^
Language: C++

#include <iostream>
int main()
{
	int a,b,c;
	cin>>a>>b>>c;
	if((a+b)>=c)cout<<"Yes\n";
	else cout<<"No\n";
	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>>c;
      |         ^~~
      |         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:21: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |         if((a+b)>=c)cout<<"Yes\n";
      |                     ^~~~
      |                     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:14: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |         else cout<<"No\n";
      |              ^~~~
      |              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() {
    int A, B, C;
    cin >> A >> B >> C;

    if((A + B) >= c) {
        cout << "Yes" << endl;
    }
    else {
        cout << "No" << endl;
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:19: error: 'c' was not declared in this scope
    8 |     if((A + B) >= c) {
      |                   ^
Language: C++

import sys

args = [None]*3

for i in range(len(sys.argv)-1):
    args[i] = int(sys.argv[i+1])

if (args[0]+args[1]<=args[2]):
    print("Yes")
else:
    print("No")

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import sys
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
Language: C++

#include <iostream>
using namespace std;

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

    if((A + B) >= c) {
        cout << "Yes" << endl;
    }
    else {
        cout << "No" << endl;
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:19: error: 'c' was not declared in this scope
    8 |     if((A + B) >= c) {
      |                   ^
Language: Java

import java.util.Scanner;

public class RB91A {

    int a, b;
    int cost;

    public void solve() {
        Scanner sc = new Scanner(System.in);
        a = sc.nextInt();
        b = sc.nextInt();
        cost = sc.nextInt();

        if (a + b <= cost) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }

    public static void main(String[] args) {
        new RB91A().solve();
    }
}


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

import java.util.*;

class Main{
    public static void main(Strimg[] args){
        Scanner sc = new Scanner(System.in);
        int A,B,C = sc.nextInt();
        if(A + B >= C){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }

    }
}

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

import java.util.*;

public class Main { 
public static void main(String[] args) {
 Scanner in = new Scanner(System.in);
 int a = in.nextInt(), b =  in.nextInt(), c = in.nextInt();
  if(a + b >= c) {System.out.println("Yes");}
  else {System.out.println("No");
 in.close();
}
}

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

import java.util.*;

public class Main { 
public static void main(String[] args) {
 Scanner in = new Scanner(System.in);
 int a = in.nextInt(), b =  in.nextInt(), c = in.nextInt();
  if(a + b >= c) {System.out.println("Yes");}
  else {System.out.println("No");
 in.close();
}
}

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

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


Compiler output:
main.c: In function 'main':
main.c:9:25: error: expected ';' before 'return'
    9 |         printf("No\n");1
      |                         ^
      |                         ;
   10 |     return 0;
      |     ~~~~~~
Language: Java

import java.util.*;

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

      int A = can.nextInt();
      int B = scan.nextInt();
      int C = scan.nextInt();

      if(A + B >= C){
         System.out.println("Yes");
         }
      else{
          System.out.println("No");
          }
   }
}


Compiler output:
Main.java:8: error: cannot find symbol
      int A = can.nextInt();
              ^
  symbol:   variable can
  location: class Main
1 error
Language: C++

#include<stdio.h>
#include<algorithm>
#include<iostream>

using namespace std;

int main ()
{
    int a ,b,c;
    while (ciN>>a>>b)
    {
        if (a+b>=c) printf ("Yes\n");
        else printf ("No\n");
    }
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:12: error: 'ciN' was not declared in this scope
   10 |     while (ciN>>a>>b)
      |            ^~~
Language: C++

#include <iostream>
int main(void) {
	int A,B,C;
	cin >> A >> B >> C;
	if (C <= A + B)
		cout << "Yes" << endl;
	else
		cout << "No" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 |         cin >> A >> B >> C;
      |         ^~~
      |         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:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |                 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:34: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |                 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:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |                 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:33: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |                 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++

def main():
    A,B,C =list(map(int,input().split()))
    if(C <=(A+B)):
        print("Yes")
    else:
        print("No")



if __name__ == '__main__':
    main()


Compiler output:
a.cc:10:16: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
   10 | if __name__ == '__main__':
      |                ^~~~~~~~~~
a.cc:1:1: error: 'def' does not name a type
    1 | def main():
      | ^~~
Language: C++

#include<bits/stdc++.h>
#define ll long long
using namespace std;
int n, k;
ll ans;
int main()
{
    //freopen("in.txt", "r", stdin);
    //freopen("out.txt","w",stdout);
    scanf("%d%d%d",&a,&b,&c);
    if(a + b >= c) printf("Yes\n");
    else printf("No\n");
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:21: error: 'a' was not declared in this scope
   10 |     scanf("%d%d%d",&a,&b,&c);
      |                     ^
a.cc:10:24: error: 'b' was not declared in this scope
   10 |     scanf("%d%d%d",&a,&b,&c);
      |                        ^
a.cc:10:27: error: 'c' was not declared in this scope
   10 |     scanf("%d%d%d",&a,&b,&c);
      |                           ^
Language: Java

import java.util.*;
import java.io.*;

// 
public class AtCoder {
	public static void main(String[] args) {
		FastReader r = new FastReader();
		int[] arr = r.ria();
		if(arr[0] + arr[1] > arr[2]) print("Yes");
		else print("No");
	}

	public static void rolling(int[] arr) {
		if (arr.length < 2)
			return;
		for (int i = 1; i < arr.length; i++)
			arr[i] += arr[i - 1];
	}

	public static void reverse(int[] arr) {
		for (int i = 0; i < arr.length / 2; i++) {
			int temp = arr[i];
			arr[i] = arr[arr.length - 1 - i];
			arr[arr.length - 1 - i] = temp;
		}
	}

	public static void print(String s) {
		System.out.println(s);
	}

	public static void print(long s) {
		System.out.println(s);
	}

	public static void print(int s) {
		System.out.println(s);
	}

	static class FastReader {
		BufferedReader br;
		StringTokenizer st;

		public FastReader() {
			br = new BufferedReader(new InputStreamReader(System.in));
		}

		int ri() {
			return Integer.parseInt(string());
		}

		long rl() {
			return Long.parseLong(string());
		}

		double rd() {
			return Double.parseDouble(string());
		}

		String string() {
			String str = "";
			try {
				str = br.readLine();
			} catch (IOException e) {
				e.printStackTrace();
			}
			return str;
		}

		String[] rsa() {
			return string().split(" ");
		}

		int[] ria() {
			String[] s = rsa();
			int[] arr = new int[s.length];
			for (int i = 0; i < arr.length; i++)
				arr[i] = Integer.parseInt(s[i]);
			return arr;
		}

		long[] rla() {
			String[] s = rsa();
			long[] arr = new long[s.length];
			for (int i = 0; i < arr.length; i++)
				arr[i] = Long.parseLong(s[i]);
			return arr;
		}

		char[] rca() {
			String s = string();
			char[] arr = new char[s.length()];
			for (int i = 0; i < arr.length; i++)
				arr[i] = s.charAt(i);
			return arr;
		}

		int[] riaml(int m) {
			int[] arr = new int[m];
			for (int i = 0; i < arr.length; i++)
				arr[i] = Integer.parseInt(string());
			return arr;
		}

		long[] rlaml(int m) {
			long[] arr = new long[m];
			for (int i = 0; i < arr.length; i++)
				arr[i] = Long.parseLong(string());
			return arr;
		}
	}
}


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

import java.util.*;

class Main {
   public static void main(String[] args)
   {
      Scanner scan = new Scanner(System.in);
    
      int A=can.nextInt();
      int B=scan.nextInt();
      int C=scan.nextInt();

      if(A+B>=C){
        System.out.println("Yes");
      }else(A+B<C){
        System.out.println("No");
      }
   }
}


Compiler output:
Main.java:14: error: not a statement
      }else(A+B<C){
           ^
Main.java:14: error: ';' expected
      }else(A+B<C){
                  ^
2 errors
Language: C++

a, b, c = map(int, input().split())
if a + b >= c:
    print('Yes')
else:
    print('No')

Compiler output:
a.cc:3:11: warning: multi-character character constant [-Wmultichar]
    3 |     print('Yes')
      |           ^~~~~
a.cc:5:11: warning: multi-character character constant [-Wmultichar]
    5 |     print('No')
      |           ^~~~
a.cc:1:1: error: 'a' does not name a type
    1 | a, b, c = map(int, input().split())
      | ^
Language: C++

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

int main()
{
	int a, b, c;
	cin >> a >> b >> c;
	if(a + b >= c) cout << "Yes" << endl;
	else cout << "No" << endl;
	reuturn 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:9: error: 'reuturn' was not declared in this scope
   10 |         reuturn 0;
      |         ^~~~~~~
Language: C++

#include <iostream>

int main(){
  int a,b,c;
  std::cin>>a>>b>>c;
  std::cout<<(a+b<c)?"No":"Yes"<<std::endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:32: error: invalid operands of types 'const char [4]' and '<unresolved overloaded function type>' to binary 'operator<<'
    6 |   std::cout<<(a+b<c)?"No":"Yes"<<std::endl;
      |                           ~~~~~^~~~~~~~~~~
Language: C++

#include<iostream>
using namespace std;
int main()
{
    int x,y,z;
    cin>>x>>y>>z;
    if(x+y-z>=0)
        cout<<Yes<<endl;
    else
        cout<<No<<endl;
    
    
    
    return 0;
    
}


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

#include <iostream>
#include <vector>
#include <set>
#include <map>
#include <algorithm>
#include <string>
#include <cstring>
#include <cstdlib>
#include <cstdio>

using namespace std;


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


Compiler output:
a.cc: In function 'int main()':
a.cc:21:21: error: expected ';' before 'return'
   21 |         cout << "No"
      |                     ^
      |                     ;
   22 |     return 0;
      |     ~~~~~~
Language: C++

#include <bits/stdc++.h>
#define FOR(i,a,b) for(int i=(a);i<=(b);++i)
#define RFOR(i,a,b) for(int i=(a);i>=(b);--i)
#define REP(i,n) for(int i=0;i<(n);++i)
#define RREP(i,n) for(int i=(n);i>0;--i)
#define CO cout<<
#define EN <<endl
#define CI cin>>
using namespace std;

int main() {
	int a, b,c CI a >> b>>c;
	if (a + b >= c) { CO "YAes" EN; }
	else CO "No" EN;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:12: error: expected initializer before 'cin'
    8 | #define CI cin>>
      |            ^~~
a.cc:12:20: note: in expansion of macro 'CI'
   12 |         int a, b,c CI a >> b>>c;
      |                    ^~
a.cc:13:22: error: 'c' was not declared in this scope
   13 |         if (a + b >= c) { CO "YAes" EN; }
      |                      ^
Language: C++

#include<bits/stdc++.h>
#include<stdio.h>
#include<vector>
#include<algorithm>
#include<string>
#include<iostream>
#include<queue>
#define rep(i,n) for(int i=0;i<(int)(n);i++)
#define rep1(i,n) for(int i=1;i<=(int)(n);i++)
#define pb push_back
using namespace std;
typedef pair<int, int>pii;

int main(){
	int a,b,c;
	cin >> a >> b >>c;
	if(a+b>=c) cotu <<"Yes"<<endl;
	else cout <<"No"<<endl;
	return 0;
}
	

Compiler output:
a.cc: In function 'int main()':
a.cc:17:20: error: 'cotu' was not declared in this scope
   17 |         if(a+b>=c) cotu <<"Yes"<<endl;
      |                    ^~~~
Language: Java

#include <cstdio>
#include <cstring>
#include <iostream>
#include <algorithm>
using namespace std;
#define let const auto
#define rep(i,n) for(int i=0; i<(n); ++i)
#define reps(i,f,n) for(int i=(f); i<=(n); ++i)
#define outl(x) cout<< (x) << '\n'

int main()
{
   cin.tie(0), ios::sync_with_stdio(false);
   int a, b, c;
   cin >> a >>b >> c;

   outl( (a+b >= c)? "Yes" : "No");

}



Compiler output:
Main.java:1: error: illegal character: '#'
#include <cstdio>
^
Main.java:2: error: illegal character: '#'
#include <cstring>
^
Main.java:3: error: illegal character: '#'
#include <iostream>
^
Main.java:4: error: illegal character: '#'
#include <algorithm>
^
Main.java:6: error: illegal character: '#'
#define let const auto
^
Main.java:6: error: class, interface, enum, or record expected
#define let const auto
        ^
Main.java:7: error: illegal character: '#'
#define rep(i,n) for(int i=0; i<(n); ++i)
^
Main.java:7: error: class, interface, enum, or record expected
#define rep(i,n) for(int i=0; i<(n); ++i)
                              ^
Main.java:7: error: class, interface, enum, or record expected
#define rep(i,n) for(int i=0; i<(n); ++i)
                                     ^
Main.java:8: error: illegal character: '#'
#define reps(i,f,n) for(int i=(f); i<=(n); ++i)
^
Main.java:8: error: class, interface, enum, or record expected
#define reps(i,f,n) for(int i=(f); i<=(n); ++i)
                                   ^
Main.java:8: error: class, interface, enum, or record expected
#define reps(i,f,n) for(int i=(f); i<=(n); ++i)
                                           ^
Main.java:9: error: illegal character: '#'
#define outl(x) cout<< (x) << '\n'
^
Main.java:14: error: class, interface, enum, or record expected
   int a, b, c;
   ^
Main.java:15: error: class, interface, enum, or record expected
   cin >> a >>b >> c;
   ^
Main.java:17: error: class, interface, enum, or record expected
   outl( (a+b >= c)? "Yes" : "No");
   ^
Main.java:19: error: class, interface, enum, or record expected
}
^
17 errors
Language: C++

import java.io.*;
import java.util.*;
/*
 * 	Heart beats fast
 * 		Colors and promises
 * 			How to be brave
 * 				How can I love when I am afraid to fall...
 */
public class Main
{
	static final long mod=1000000007;
	static final double eps=1e-8;
	static final boolean debug=false;
	static Reader in=new Reader();
	public static void main(String[] args) throws IOException
	{
		int a=ni(),b=ni(),c=ni();
		if(a+b>=c)
			pr("Yes");
		else
			pr("No");
		System.out.println(ans);
	}
	static StringBuilder ans=new StringBuilder();
	static long powm(long a, long b, long m)
	{
		long an=1;
		long c=a;
		while(b>0)
		{
			if(b%2==1)
				an=(an*c)%m;
			c=(c*c)%m;
			b>>=1;
		}
		return an;
	}
	static void pd(){if(debug)ans.append("hola");}
	static void pd(Object a){if(debug)ans.append(a+"\n");}
	static void pr(Object a){ans.append(a+"\n");}
	static void pr(){ans.append("\n");}
	static void p(Object a){ans.append(a);}
	static int ni(){return in.nextInt();}
	static long nl(){return in.nextLong();}
	static String ns(){return in.next();}
	static double nd(){return in.nextDouble();}
	static String pr(String a, long b)
	{
		String c="";
		while(b>0)
		{
			if(b%2==1)
				c=c.concat(a);
			a=a.concat(a);
			b>>=1;
		}
		return c;
	}
	static class Reader {
        public BufferedReader reader;
        public StringTokenizer tokenizer;
        public Reader() {
            reader = new BufferedReader(new InputStreamReader(System.in), 32768);
            tokenizer = null;
        }
        public String next() {
            while (tokenizer == null || !tokenizer.hasMoreTokens()) {
                try {
                    tokenizer = new StringTokenizer(reader.readLine());
                } catch (IOException e) {
                    throw new RuntimeException(e);
                }
            }
            return tokenizer.nextToken();
        }
        public int nextInt() {
            return Integer.parseInt(next());
        }
        public long nextLong() {
        	return Long.parseLong(next());
        }
        public double nextDouble() {
        	return Double.parseDouble(next());
        }
    }
}

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

#include <iostream>
#include <vector>
#include <algorithm>
#include <string>
#include <math.h>
#include <iomanip>
using namespace std;
int R, N, M;
double cut_line(int index) {
	cin >> R >> N >> M;
	if (R + N >= M) cout << "Yes" << endl;
	else cout << "No" << endl;
	return 0;
}

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

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

int main() {
	map<string,int> moji;
  	int N=0;
  	map
  
}



Compiler output:
a.cc: In function 'int main()':
a.cc:9:1: error: expected unqualified-id before '}' token
    9 | }
      | ^