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

#include<iostream>
using namespace std;
 
int main()
{
  int a;
  cin >> a;
  if(a <= 10)
  {
      cout << "ABC00" <<a <<endl;
  }
  else if(a < 100)
  {
  cout << "ABC0"  << a << endl;
  }
  else
  {cout <<"ABC" << a <<endl;
 
}

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

#include<bits/stdc++.h>
using namespace std;
string a,b;
int main(){
    cin>>a;
    b=strcat("ABC",a);
    cout<<b<<endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    6 |     b=strcat("ABC",a);
      |              ^~~~~
a.cc:6:20: error: cannot convert 'std::string' {aka 'std::__cxx11::basic_string<char>'} to 'const char*'
    6 |     b=strcat("ABC",a);
      |                    ^
      |                    |
      |                    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:149:70: note:   initializing argument 2 of 'char* strcat(char*, const char*)'
  149 | extern char *strcat (char *__restrict __dest, const char *__restrict __src)
      |                                               ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
    int a;
    cin>>a;
    cout<<ABC;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: 'ABC' was not declared in this scope
    7 |     cout<<ABC;
      |           ^~~
Language: C++

#include <iostream>

int main(void){
    int N;
    cin >> N;

    // implements
    printf("ABC%d\n", N);
}


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

#include<bits/stdc++.h>
using namespace std;
int main(){
	int N;
	cout<<"ABC"+str(N)<<endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:21: error: 'str' was not declared in this scope; did you mean 'std'?
    5 |         cout<<"ABC"+str(N)<<endl;
      |                     ^~~
      |                     std
Language: C++

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

int main()
{
    cin >> n ;
    cout << "ABC" << n << endl ;
    
    return 0 ;
    
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:12: error: 'n' was not declared in this scope; did you mean 'yn'?
    6 |     cin >> n ;
      |            ^
      |            yn
Language: C++

var
 a:longint;
begin
 readln(a);
 writeln("ABC",a);
end.

Compiler output:
a.cc:1:1: error: 'var' does not name a type
    1 | var
      | ^~~
a.cc:3:1: error: 'begin' does not name a type
    3 | begin
      | ^~~~~
a.cc:5:9: error: expected constructor, destructor, or type conversion before '(' token
    5 |  writeln("ABC",a);
      |         ^
a.cc:6:1: error: 'end' does not name a type
    6 | end.
      | ^~~
Language: C++

#include <stdio.h>
#include <string>
#include <iostream>
#include <map>
#include <algorithm>
using namespace std;

int main(void){
    int n;
    cin >> n;
    cout << ABC << n << endl;
    return 0;
}

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

#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
string S;
cin>>S;
  cout<<"ABC"<<S<<endl;

Compiler output:
a.cc: In function 'int main()':
a.cc:7:24: error: expected '}' at end of input
    7 |   cout<<"ABC"<<S<<endl;
      |                        ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
string S;
cin>>S;
  cout<<ABC<<S<<endl;

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: 'ABC' was not declared in this scope
    7 |   cout<<ABC<<S<<endl;
      |         ^~~
a.cc:7:22: error: expected '}' at end of input
    7 |   cout<<ABC<<S<<endl;
      |                      ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: Java

import java.util.*;

public class Main {
	public static void main(String args[]) {
		Scanner scanner = new Scanner(system.in);
   		int i = scanner.nextInt();
		system.out.println("ABC" + i);
	}
}


Compiler output:
Main.java:5: error: cannot find symbol
		Scanner scanner = new Scanner(system.in);
		                              ^
  symbol:   variable system
  location: class Main
Main.java:7: error: package system does not exist
		system.out.println("ABC" + i);
		      ^
2 errors
Language: Java

import java.util.*;

public class Main {
	public static void main(String args[]) {
		Scanner scanner = new Scanner();
   		int i = scanner.nextInt();
		system.out.println("ABC" + i);
	}
}

Compiler output:
Main.java:5: error: no suitable constructor found for Scanner(no arguments)
		Scanner scanner = new Scanner();
		                  ^
    constructor Scanner.Scanner(Readable,Pattern) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Readable) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,CharsetDecoder) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel,Charset) is not applicable
      (actual and formal argument lists differ in length)
Main.java:7: error: package system does not exist
		system.out.println("ABC" + i);
		      ^
2 errors
Language: Java

import java.util.*;

public class Main {
	public static void main(String args[]) {
		Scanner scanner = new Scanner(sys.stdin);
   		int i = scanner.nextInt();
      	sys.stdout.println("ABC" + i);
	}
}

Compiler output:
Main.java:5: error: cannot find symbol
		Scanner scanner = new Scanner(sys.stdin);
		                              ^
  symbol:   variable sys
  location: class Main
Main.java:7: error: package sys does not exist
      	sys.stdout.println("ABC" + i);
      	   ^
2 errors
Language: C++

#include <bits/stdc++.h>
int main(){
int n; cin >> n;
cout << "ABC"<<n<< endl;

return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:3:8: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    3 | int n; cin >> n;
      |        ^~~
      |        std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:4:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    4 | cout << "ABC"<<n<< 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:4:20: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    4 | cout << "ABC"<<n<< endl;
      |                    ^~~~
      |                    std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include <bits/stdc++.h>
#define REP(i,n) for(int i=0;i<(n);i++)
const int MOD=(int)1e9+7;
using namespace std;
int main(){
    int a;
    cin>>a;
    cout<<"ABC"<<a<<endl;
}#include <bits/stdc++.h>
#define REP(i,n) for(int i=0;i<(n);i++)
const int MOD=(int)1e9+7;
using namespace std;
int main(){
    int a;
    cin>>a;
    cout<<"ABC"<<a<<endl;
}#include <bits/stdc++.h>
#define REP(i,n) for(int i=0;i<(n);i++)
const int MOD=(int)1e9+7;
using namespace std;
int main(){
    int a;
    cin>>a;
    cout<<"ABC"<<a<<endl;
}#include <bits/stdc++.h>
#define REP(i,n) for(int i=0;i<(n);i++)
const int MOD=(int)1e9+7;
using namespace std;
int main(){
    int a;
    cin>>a;
    cout<<"ABC"<<a<<endl;
}#include <bits/stdc++.h>
#define REP(i,n) for(int i=0;i<(n);i++)
const int MOD=(int)1e9+7;
using namespace std;
int main(){
    int a;
    cin>>a;
    cout<<"ABC"<<a<<endl;
}#include <bits/stdc++.h>
#define REP(i,n) for(int i=0;i<(n);i++)
const int MOD=(int)1e9+7;
using namespace std;
int main(){
    int a;
    cin>>a;
    cout<<"ABC"<<a<<endl;
}

Compiler output:
a.cc:9:2: error: stray '#' in program
    9 | }#include <bits/stdc++.h>
      |  ^
a.cc:17:2: error: stray '#' in program
   17 | }#include <bits/stdc++.h>
      |  ^
a.cc:25:2: error: stray '#' in program
   25 | }#include <bits/stdc++.h>
      |  ^
a.cc:33:2: error: stray '#' in program
   33 | }#include <bits/stdc++.h>
      |  ^
a.cc:41:2: error: stray '#' in program
   41 | }#include <bits/stdc++.h>
      |  ^
a.cc:9:3: error: 'include' does not name a type
    9 | }#include <bits/stdc++.h>
      |   ^~~~~~~
a.cc:13:5: error: redefinition of 'int main()'
   13 | int main(){
      |     ^~~~
a.cc:5:5: note: 'int main()' previously defined here
    5 | int main(){
      |     ^~~~
a.cc:17:3: error: 'include' does not name a type
   17 | }#include <bits/stdc++.h>
      |   ^~~~~~~
a.cc:21:5: error: redefinition of 'int main()'
   21 | int main(){
      |     ^~~~
a.cc:5:5: note: 'int main()' previously defined here
    5 | int main(){
      |     ^~~~
a.cc:25:3: error: 'include' does not name a type
   25 | }#include <bits/stdc++.h>
      |   ^~~~~~~
a.cc:29:5: error: redefinition of 'int main()'
   29 | int main(){
      |     ^~~~
a.cc:5:5: note: 'int main()' previously defined here
    5 | int main(){
      |     ^~~~
a.cc:33:3: error: 'include' does not name a type
   33 | }#include <bits/stdc++.h>
      |   ^~~~~~~
a.cc:37:5: error: redefinition of 'int main()'
   37 | int main(){
      |     ^~~~
a.cc:5:5: note: 'int main()' previously defined here
    5 | int main(){
      |     ^~~~
a.cc:41:3: error: 'include' does not name a type
   41 | }#include <bits/stdc++.h>
      |   ^~~~~~~
a.cc:45:5: error: redefinition of 'int main()'
   45 | int main(){
      |     ^~~~
a.cc:5:5: note: 'int main()' previously defined here
    5 | int main(){
      |     ^~~~
Language: C++

#include <iostream>
using namespace std;

int main(){
	
	int N;
	cin >> N;
	cout << " ABC " N << endl;
	
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:24: error: expected ';' before 'N'
    8 |         cout << " ABC " N << endl;
      |                        ^~
      |                        ;
Language: C++

int main(){
    int s;
    cin >> s;
    cout << "ABC" << s << endl;
    
    
}


Compiler output:
a.cc: In function 'int main()':
a.cc:3:5: error: 'cin' was not declared in this scope
    3 |     cin >> s;
      |     ^~~
a.cc:4:5: error: 'cout' was not declared in this scope
    4 |     cout << "ABC" << s << endl;
      |     ^~~~
a.cc:4:27: error: 'endl' was not declared in this scope
    4 |     cout << "ABC" << s << endl;
      |                           ^~~~
Language: C++

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

int main()
{
  int N;
  cin>>N>>;

  cout<<"ABC"<<N<<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: expected primary-expression before ';' token
    7 |   cin>>N>>;
      |           ^
Language: C

main(a){scanf("%d",&a);priintf("ABC%d",a);}

Compiler output:
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int]
    1 | main(a){scanf("%d",&a);priintf("ABC%d",a);}
      | ^~~~
main.c: In function 'main':
main.c:1:1: error: type of 'a' defaults to 'int' [-Wimplicit-int]
main.c:1:9: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | main(a){scanf("%d",&a);priintf("ABC%d",a);}
      |         ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | main(a){scanf("%d",&a);priintf("ABC%d",a);}
main.c:1:9: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | main(a){scanf("%d",&a);priintf("ABC%d",a);}
      |         ^~~~~
main.c:1:9: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:24: error: implicit declaration of function 'priintf' [-Wimplicit-function-declaration]
    1 | main(a){scanf("%d",&a);priintf("ABC%d",a);}
      |                        ^~~~~~~
Language: C++

#import<ios>
int a;main(){scanf("%d",&a);priintf("ABC%d",a);}

Compiler output:
a.cc:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
    1 | #import<ios>
      |  ^~~~~~
a.cc:2:7: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    2 | int a;main(){scanf("%d",&a);priintf("ABC%d",a);}
      |       ^~~~
a.cc: In function 'int main()':
a.cc:2:29: error: 'priintf' was not declared in this scope; did you mean 'printf'?
    2 | int a;main(){scanf("%d",&a);priintf("ABC%d",a);}
      |                             ^~~~~~~
      |                             printf
Language: C++

#include <iostream>
#include <string>
using namespace std;
int main(){
	int a;
	cin>>a;
	cout<<"ABC<<a<<endl;
    return 0;
}


Compiler output:
a.cc:7:15: warning: missing terminating " character
    7 |         cout<<"ABC<<a<<endl;
      |               ^
a.cc:7:15: error: missing terminating " character
    7 |         cout<<"ABC<<a<<endl;
      |               ^~~~~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:8:5: error: expected primary-expression before 'return'
    8 |     return 0;
      |     ^~~~~~
Language: C++

#include <cstdio>
using namespace std;

int main(void){
  char n[4];
  scanf("%s",s);
  printf("ABC%s\n",s);
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:14: error: 's' was not declared in this scope
    6 |   scanf("%s",s);
      |              ^
Language: C++

#include <cstdio>
using namespace std;

int main(void){
  char n[4];
  scanf("%s",s);
  printf("ABC%s",s);
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:14: error: 's' was not declared in this scope
    6 |   scanf("%s",s);
      |              ^
Language: C++

#include <bits/stdc++.h>
//---------------------------
using namespace std;
//---------------------------
#define REP(i,n) for(int i = 0; i < (n); i++)
#define P(x) cout << (x) << "\n"

#define MOD 1e9+7
#define PI acos(-1.0)
#define ll long long
#define INF 1000000001

int dx[4]={1,-1,0,0};
int dy[4]={0,0,1,-1};
//---------------------------

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

  // ifstream in("input.txt");
  // cin.rdbuf(in.rdbuf());

  int n;cin>>n;
  P("ABC"+to_string(n))
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:26:3: error: expected ';' before 'return'
   26 |   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();
    System.out.println("ABC"++a);
  }
}

Compiler output:
Main.java:6: error: ')' or ',' expected
    System.out.println("ABC"++a);
                              ^
Main.java:6: error: ';' expected
    System.out.println("ABC"++a);
                               ^
2 errors
Language: C++

#include<iostream>
using namespace std;

int main(){

	char a[6];
	a[1] =A;
	a[2] =B;
	a[3] =C;
	cin >> a[3] >> a[4] >> a[5];
	for(int i = 0; i < 6; i++){
		cout << a[i];
	}
	cout << '\n';
	return 0;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:15: error: 'A' was not declared in this scope
    7 |         a[1] =A;
      |               ^
a.cc:8:15: error: 'B' was not declared in this scope
    8 |         a[2] =B;
      |               ^
a.cc:9:15: error: 'C' was not declared in this scope
    9 |         a[3] =C;
      |               ^
Language: C++

#include <iostream>
using namespace std;

int main(){
	int N
	cin >> N;
	cout << "ABC" << N;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: expected initializer before 'cin'
    6 |         cin >> N;
      |         ^~~
a.cc:7:26: error: 'N' was not declared in this scope
    7 |         cout << "ABC" << N;
      |                          ^
Language: C

#include <stdio.h>

int main(void)
{int N;
	scamf("%d",&N);
	printf("ABC%d",N);
	return 0;
}

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

IDENTIFICATION  DIVISION.
PROGRAM-ID.     MAIN.
ENVIRONMENT     DIVISION.
DATA            DIVISION.
WORKING-STORAGE  SECTION.
01 X        PIC 999.
01 ANS		  PIC 99.
      
PROCEDURE DIVISION.
 
ACCEPT X.
DISPLAY "ABC"ANS.
STOP RUN.

Compiler output:
a.cc:1:1: error: 'IDENTIFICATION' does not name a type
    1 | IDENTIFICATION  DIVISION.
      | ^~~~~~~~~~~~~~
Language: C++

#include <stdio.h>

int main() {
  int n;
  scapnf("%d", &n);
  printf("ABC%d", n);
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'scapnf' was not declared in this scope; did you mean 'scanf'?
    5 |   scapnf("%d", &n);
      |   ^~~~~~
      |   scanf
Language: C++

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

int main() {
  int n;cin >> n;
  cou << "ARC" << n << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'cou' was not declared in this scope; did you mean 'cos'?
    6 |   cou << "ARC" << n << endl;
      |   ^~~
      |   cos
Language: C++

#pragma region include
#include <iostream>
#include <iomanip>
#include <stdio.h>

#include <sstream>
#include <algorithm>
#include <iterator>
#include <cmath>
#include <complex>

#include <string>
#include <cstring>
#include <vector>
#include <tuple>
#include <bitset>

#include <queue>
#include <set>
#include <map>
#include <stack>
#include <list>

#include <fstream>
#include <random>
//#include <time.h>
#include <ctime>
#include <intrin.h>
#pragma endregion //#include
/////////
#define REP(i, x, n) for(int i = x; i < n; ++i)
#define rep(i,n) REP(i,0,n)
#define ALL(X) X.begin(), X.end()
/////////
#pragma region typedef
typedef long long LL;
typedef long double LD;
typedef unsigned long long ULL;
typedef std::pair<LL,LL> PLL;//
typedef std::pair<int,int> PII;//
#pragma endregion //typedef
////定数
const int INF = (int)1e9;
const LL MOD = (LL)1e9+7;
const LL LINF = (LL)4e18+20;
const LD PI = acos(-1.0);
const double EPS = 1e-9;
/////////
using namespace::std;

void solve(){
	string str;
	cin >> str;
	cout << "ABC" << str << endl;
}
#pragma region main
signed main(void){
	std::cin.tie(0);
	std::ios::sync_with_stdio(false);
	std::cout << std::fixed;//小数を10進数表示
	cout << setprecision(16);//小数点以下の桁数を指定//coutとcerrで別	

	solve();
}
#pragma endregion //main()

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

import java.util.Scanner;

public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        
        String n = sc.next();
        System.out.println(ABC" + n );
        
    }
}


Compiler output:
Main.java:8: error: unclosed string literal
        System.out.println(ABC" + n );
                              ^
1 error
Language: C++

#include<stdio.h>
int main(void){
int x;
do{
scanf("%d",&x);
}while(x<99 || x>1000)
printf("ABC%3d",x);
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:23: error: expected ';' before 'printf'
    6 | }while(x<99 || x>1000)
      |                       ^
      |                       ;
    7 | printf("ABC%3d",x);
      | ~~~~~~
Language: C

#include<stdio.h>
int main()
{
  int N,A,B,C;
  scanf("%d",&N);
  100<N<==999;
  printf("ABC%d\n",N);
}


Compiler output:
main.c: In function 'main':
main.c:6:10: error: expected expression before '=' token
    6 |   100<N<==999;
      |          ^
Language: C

#include<stdio.h>
int main()
{
  int N,A,B,C;
  scanf("%d",&N);
  100<N<==999;
  printf("ABC%d",N);
}


Compiler output:
main.c: In function 'main':
main.c:6:10: error: expected expression before '=' token
    6 |   100<N<==999;
      |          ^
Language: C++

#include <iostream>

int main (void) {

  int n;

  cin >> n;

  cout << "ABC" << n << endl;

  return 0;
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |   cin >> n;
      |   ^~~
      |   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:9:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |   cout << "ABC" << n << endl;
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:25: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |   cout << "ABC" << n << 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)
      |     ^~~~
Language: C++

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] s = Console.ReadLine().Split(' ');
            int N = int.Parse(s[0]);
            Console.WriteLine("ABC" + N);
        }
    }
}


Compiler output:
a.cc:1:7: error: expected nested-name-specifier before 'System'
    1 | using System;
      |       ^~~~~~
a.cc:2:7: error: expected nested-name-specifier before 'System'
    2 | using System.Collections.Generic;
      |       ^~~~~~
a.cc:3:7: error: expected nested-name-specifier before 'System'
    3 | using System.Linq;
      |       ^~~~~~
a.cc:4:7: error: expected nested-name-specifier before 'System'
    4 | using System.Text;
      |       ^~~~~~
a.cc:5:7: error: expected nested-name-specifier before 'System'
    5 | using System.Threading.Tasks;
      |       ^~~~~~
a.cc:11:26: error: 'string' has not been declared
   11 |         static void Main(string[] args)
      |                          ^~~~~~
a.cc:11:35: error: expected ',' or '...' before 'args'
   11 |         static void Main(string[] args)
      |                                   ^~~~
a.cc:17:6: error: expected ';' after class definition
   17 |     }
      |      ^
      |      ;
a.cc: In static member function 'static void ConsoleApp1::Program::Main(int*)':
a.cc:13:13: error: 'string' was not declared in this scope
   13 |             string[] s = Console.ReadLine().Split(' ');
      |             ^~~~~~
a.cc:13:20: error: expected primary-expression before ']' token
   13 |             string[] s = Console.ReadLine().Split(' ');
      |                    ^
a.cc:14:21: error: expected primary-expression before 'int'
   14 |             int N = int.Parse(s[0]);
      |                     ^~~
a.cc:15:13: error: 'Console' was not declared in this scope
   15 |             Console.WriteLine("ABC" + N);
      |             ^~~~~~~
Language: C++

#include <bits/stdc++.h>

using namespace std;

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

int in() { int x; scanf("%d", &x); return x; }
template<typename T> void pv(T a, T b) { for (T i = a; i < b; i++) cout << *i << ' '; cout << endl; }
template<typename T, typename U> void chmin(T &x, U y) { if (y < x) x = y; }
template<typename T, typename U> void chmax(T &x, U y) { if (x < y) x = y; }

using ll = long long;

int main() {
  ll K;

  cin >> K;

  puts("2");
  cout << K + 1 << ' ' 1 << endl;

  return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:20:23: error: expected ';' before numeric constant
   20 |   cout << K + 1 << ' ' 1 << endl;
      |                       ^~
      |                       ;
Language: C++

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

int main()
{
  int n,m;
  cin >> n;
  
  while(1){
  n=n/2
  m+=1
  if(n%2==0)break;
  }


  cout << m << endl;

return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:8: error: expected ';' before 'm'
   10 |   n=n/2
      |        ^
      |        ;
   11 |   m+=1
      |   ~
Language: C++

#include<iostream>
using namespace std
int main(){
	int N;
	cin>>N;
	cout<<"ABC"<<N;
	return 0;
}

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

#include<iostream>
using namespace std
int main(){
	int N;
	cis>>N;
	cout<<"ABC"<<N;
	return 0;
}

Compiler output:
a.cc:2:20: error: expected ';' before 'int'
    2 | using namespace std
      |                    ^
      |                    ;
    3 | int main(){
      | ~~~                 
a.cc: In function 'int main()':
a.cc:5:9: error: 'cis' was not declared in this scope
    5 |         cis>>N;
      |         ^~~
Language: Java

public static void main (String args[]){
  String num = args[0];
  String msg = "ABC";
 
  System.out.printf(msg+num);
}

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

public main (args[]){
  string num = args[0];
  string msg = "ABC";

  system.out.printf(msg+num);
}

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
public main (args[]){
       ^
Main.java:3: error: unnamed classes are a preview feature and are disabled by default.
  string msg = "ABC";
  ^
  (use --enable-preview to enable unnamed classes)
Main.java:5: error: class, interface, enum, or record expected
  system.out.printf(msg+num);
  ^
Main.java:6: error: class, interface, enum, or record expected
}
^
4 errors
Language: C++

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

int main() {
	int A;
	cin >> A;
	cout << "ABC" << A << endl

}



Compiler output:
a.cc: In function 'int main()':
a.cc:8:35: error: expected ';' before '}' token
    8 |         cout << "ABC" << A << endl
      |                                   ^
      |                                   ;
    9 | 
   10 | }
      | ~
Language: C++

#include <iostream>

using namespace std;

int main() {
auto N = static_cast<int>(cin);
cout << "ABC" << N << endl; 

return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:10: error: invalid 'static_cast' from type 'std::istream' {aka 'std::basic_istream<char>'} to type 'int'
    6 | auto N = static_cast<int>(cin);
      |          ^~~~~~~~~~~~~~~~~~~~~
Language: C++

#include <iostream>

using namespace std;

int main() {
int N = cin;

cout << "ABC" << N << endl; 

return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: cannot convert 'std::istream' {aka 'std::basic_istream<char>'} to 'int' in initialization
    6 | int N = cin;
      |         ^~~
      |         |
      |         std::istream {aka std::basic_istream<char>}
Language: C++

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

typedef long long LL;
typedef long double LD;
typedef pair < int, int > PII;
typedef pair < LL, LL > PLL;
typedef pair < LD, LD > PDD;

#define _upgrade ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define all(x) (x).begin(), (x).end()
#define sz(x) (int)(x).size()
template < typename _T > inline void _DBG(const char *s, _T x) { cerr << s << " = " << x << "\n"; }
template < typename _T, typename... args > void _DBG(const char *s, _T x, args... a) { while(*s != ',') cerr << *s++; cerr << " = " << x << ','; _DBG(s + 1, a...); }

#ifdef LOCAL
#define DBG(...) _DBG(#__VA_ARGS__, __VA_ARGS__)
#else
#define DBG(...) (__VA_ARGS__)
#define cerr if(0) cout
#endif

// ********************** CODE ********************** //

int main()
{
    _upgrade
    cin >> n;
    cout << "ABC" << n;
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:28:12: error: 'n' was not declared in this scope; did you mean 'yn'?
   28 |     cin >> n;
      |            ^
      |            yn
Language: C++

#include <iostream>
#include <algorithm>
#include <cmath>
#include <string>
#include <array>
#include <vector>
#include <functional>
#include <unordered_map> 
#include <map> 
#include <numeric>
#include <limits>
#include <utility>
#include <queue>
#include <random>
using namespace std;
typedef long long LL;

int main(void) {
	int a;
	cin >> a;
	cout << "ABC" << a << ensl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:21:31: error: 'ensl' was not declared in this scope
   21 |         cout << "ABC" << a << ensl;
      |                               ^~~~
Language: Java

import java.util.Scanner;
 
public class Test {
	public static void main (String[] args) {
		Scanner in = new Scanner(System.in);
		int n = in.nextInt();
		String n1=String.valueOf(n);
		//int i = Integer.parseInt(n);
		System.out.println("ABC"+n);
	}
}


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

import java.util.*;
 public class Main{
  public static void main(String[] args){
  Scanner sc = new Sccaner(System.in);
  int n = sc.nextInt();
  System.out.println("ABC"+n);
 }
}


Compiler output:
Main.java:4: error: cannot find symbol
  Scanner sc = new Sccaner(System.in);
                   ^
  symbol:   class Sccaner
  location: class Main
1 error
Language: C++

#include<bits\stdc++.h>
const int oo = 1e9;
using namespace std;
void fast(){
	std::ios_base::sync_with_stdio(0);
	cin.tie(NULL); cout.tie(NULL);
}


int main(){
	fast();
int a ;cin>>a;
cout<<"ABC"<<a<<endl;
	return 0;
}
//mosta7il_

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

#include "stdc++.h"
int main(){
	int a=1,n;
	std::cin>>n;
	while(a<<1<n){
		a<<=1;
	}
	std::cout<<a;
	return 0;
}

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

    #include <iostream>
    #include <cstdio>
     
    using namespace std;
    int n;
     
    int main()
    {
    ios_base:sync_with_stdio(0);
    cin >> n;
  
    return 0;
    }

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

#include <iostream>
#include <cstdio>

using namespace std;
int n;

int main()
{
ios_base:sync_with_stdio(0);
cin >> n;
cout << "ABC" << n << '\n';
return 0;
}

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

import java.util.Scanner;

public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n;
         n = sc.nextInt();
        System.out.println("ABC" + n);
    }
}

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

#include < bits/stdc++.h>
using namespace std ;
int main()
{
int n ;
cin >> n ;
cout << "ABC"<<n<<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: Java

import java.util.Scanner;

public class main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		System.out.println("ABC"+n);
	}	
}


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


public class Main {

	public static void main(String[] args) {
		
		Scanner s = new Scanner(System.in);
		String n = s.nextLine();
		System.out.println("ABC" + n);
		
	}

}


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

#include <iostream>
#include <vector>
using namespace std;
int main(){
    int a,b;
    int M,N;
    cin>>N>>M;
    vector<int>a_list,b_list,transit;
    while(cin>>a>>b){
         a_list.push_back(a);
         b_list.push_back(b);
         if(a == 1){
             transit.push_back(b);
         }
    }
   for(int i = 0; i<a_list.size();i++){
        for(int j= 0 ; j < transit.size(); j++){
            if(a_list[i] == transit[j]){
               if(b_list[i]== N){
                cout<<"POSSIBLE"<<endl;
               }
         }
    }
   cout<<"IMPOSSIBLE"<<endl;
    return 0;
}

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

#include <iostream>
#include <vector>
using namespace std;
int main(){
    int a,b;
    int M,N;
    cin>>N>>M;
    vector<int>a_list,b_list,transit;
    while(cin>>a>>b){
         a_list.push_back(a);
         b_list.push_back(b);
         if(a == 1){
             transit.push_back(b);
         }
    }
   for(int i = 0; i<a_list.size();i++){
        for(int j= 0 ; j < transit.size(); j++){
            if(a_list[i] == transit[j]){
               if(b_list[i]== N){
                cout<<"POSSIBLE"<<endl;
         }
    }
   cout<<"IMPOSSIBLE"<<endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:25:2: error: expected '}' at end of input
   25 | }
      |  ^
a.cc:16:39: note: to match this '{'
   16 |    for(int i = 0; i<a_list.size();i++){
      |                                       ^
a.cc:25:2: error: expected '}' at end of input
   25 | }
      |  ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

#include <iostream>
using namespace std;

int n;
int main(void){
    cin >> n;
    count << "ABC" << n << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: 'count' was not declared in this scope
    7 |     count << "ABC" << n << endl;
      |     ^~~~~
Language: Java

package AtCoder;

import java.util.Scanner;

public class ABCxxx {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        StringBuilder sb = new StringBuilder();
        sb.append("ABC").append(sc.nextInt());
        System.out.println(sb.toString());
    }
}


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

#include<bits/stdc++.h>
using namespace std;
int main(){
int a; cin>>a
cout<<"ABC"<<a<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:14: error: expected ';' before 'cout'
    4 | int a; cin>>a
      |              ^
      |              ;
    5 | cout<<"ABC"<<a<<endl;
      | ~~~~
Language: C++

/*Bismillahir Rahmanir Rahim*/
#include <stdio.h>
int main()
{
   int n;
   while (scanf("%d",&n)   !=EOF)
{   
   printf("ABC%d\n);
}
return 0;
}

Compiler output:
a.cc:8:11: warning: missing terminating " character
    8 |    printf("ABC%d\n);
      |           ^
a.cc:8:11: error: missing terminating " character
    8 |    printf("ABC%d\n);
      |           ^~~~~~~~~~
a.cc: In function 'int main()':
a.cc:9:1: error: expected primary-expression before '}' token
    9 | }
      | ^
Language: C

#include<stdio.h>

int main(){

int a;
scanf("%d",&a);

if(a>=64){
printf("64\n")
}else if(a>=32){
printf("32\n")
}else if(a>=16){
printf("16\n")
}else if(a>=8){
printf("8\n")
}else if(a>=4){
printf("4\n")
}else if(a>=2){
printf("2\n")
}else{
printf("1\n")
}


}

Compiler output:
main.c: In function 'main':
main.c:9:15: error: expected ';' before '}' token
    9 | printf("64\n")
      |               ^
      |               ;
   10 | }else if(a>=32){
      | ~              
main.c:11:15: error: expected ';' before '}' token
   11 | printf("32\n")
      |               ^
      |               ;
   12 | }else if(a>=16){
      | ~              
main.c:13:15: error: expected ';' before '}' token
   13 | printf("16\n")
      |               ^
      |               ;
   14 | }else if(a>=8){
      | ~              
main.c:15:14: error: expected ';' before '}' token
   15 | printf("8\n")
      |              ^
      |              ;
   16 | }else if(a>=4){
      | ~             
main.c:17:14: error: expected ';' before '}' token
   17 | printf("4\n")
      |              ^
      |              ;
   18 | }else if(a>=2){
      | ~             
main.c:19:14: error: expected ';' before '}' token
   19 | printf("2\n")
      |              ^
      |              ;
   20 | }else{
      | ~             
main.c:21:14: error: expected ';' before '}' token
   21 | printf("1\n")
      |              ^
      |              ;
   22 | }
      | ~
Language: C++

#include<stdio.h>
int main()
{char a[10;
scanf("%s",a);
printf("ABC%s",a);
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:3:11: error: expected ']' before ';' token
    3 | {char a[10;
      |           ^
      |           ]
a.cc:4:12: error: 'a' was not declared in this scope
    4 | scanf("%s",a);
      |            ^
Language: C++

#include<stdio.h>
int main()
{char a[10:
scanf("%s",a);
printf("ABC%s",a);
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:3:11: error: expected ']' before ':' token
    3 | {char a[10:
      |           ^
      |           ]
a.cc:5:16: error: 'a' was not declared in this scope
    5 | printf("ABC%s",a);
      |                ^
Language: C++

#include <bits/stdc++.h>

using namespace std;

int main() {
	int N,k;
	cin >> N;
	for(k = 1:k < N:k *= 2);
	cout << k/2 << endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:18: error: expected ';' before ':' token
    8 |         for(k = 1:k < N:k *= 2);
      |                  ^
      |                  ;
a.cc:10:9: error: expected primary-expression before 'return'
   10 |         return 0;
      |         ^~~~~~
a.cc:9:29: error: expected ')' before 'return'
    9 |         cout << k/2 << endl;
      |                             ^
      |                             )
   10 |         return 0;
      |         ~~~~~~               
a.cc:8:12: note: to match this '('
    8 |         for(k = 1:k < N:k *= 2);
      |            ^
Language: C++

#include <bits/stdc++.h>

using namespace std;

int main() {
	int N,k;
	cin >> N;
	for(k = 1:k < N:k *= 2);
	cout << k << endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:18: error: expected ';' before ':' token
    8 |         for(k = 1:k < N:k *= 2);
      |                  ^
      |                  ;
a.cc:10:9: error: expected primary-expression before 'return'
   10 |         return 0;
      |         ^~~~~~
a.cc:9:27: error: expected ')' before 'return'
    9 |         cout << k << endl;
      |                           ^
      |                           )
   10 |         return 0;
      |         ~~~~~~             
a.cc:8:12: note: to match this '('
    8 |         for(k = 1:k < N:k *= 2);
      |            ^
Language: C++

#include <stdio.h> 
int main()
{
int i;
scanf"%d", &i);
int count = 0;
while (1) {
if (i % 2 == 0) {
count++;
i /= 2;
} else {
break;
}}
printf("%d", count);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:6: error: expected ';' before string constant
    5 | scanf"%d", &i);
      |      ^~~~
      |      ;
Language: C++

#include <stdio.h>
void main ()
{
int i;
scanf("%d", &i);
printf("ABC%d", i);
return0;
}

Compiler output:
a.cc:2:1: error: '::main' must return 'int'
    2 | void main ()
      | ^~~~
a.cc: In function 'int main()':
a.cc:7:1: error: 'return0' was not declared in this scope
    7 | return0;
      | ^~~~~~~
Language: C++

void main ()
{
int i;
scanf("%d", &i);
printf("ABC");
printf("%d", i);
}

Compiler output:
a.cc:1:1: error: '::main' must return 'int'
    1 | void main ()
      | ^~~~
a.cc: In function 'int main()':
a.cc:4:1: error: 'scanf' was not declared in this scope
    4 | scanf("%d", &i);
      | ^~~~~
a.cc:5:1: error: 'printf' was not declared in this scope
    5 | printf("ABC");
      | ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | void main ()
Language: C++

void main ()
{
int i;
scanf("%d", &i);
printf("ABC");
printf("%d", i);
return 0;
}

Compiler output:
a.cc:1:1: error: '::main' must return 'int'
    1 | void main ()
      | ^~~~
a.cc: In function 'int main()':
a.cc:4:1: error: 'scanf' was not declared in this scope
    4 | scanf("%d", &i);
      | ^~~~~
a.cc:5:1: error: 'printf' was not declared in this scope
    5 | printf("ABC");
      | ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | void main ()
Language: C

#include <stdio.h>
int main(void) {
	int n,m;
	int i;
	int flag = 0;
	int iki[200000];
	int kaeri[200000];
	
	scanf("%d %d",&n,&m);
	
	for(i=0;i<n;i++){
		iki[i] = 0;
		kaeri[i] = 0;
	}
	
	for(i=0;i<m;i++){
		scanf("%d %d",&a,&b);
		if(a==1) iki[b]=1;
		if(b==n) kaeri[a]=1;
	}
	for(i=0;i<m;i++){
		if((iki[i] == 1)&&(kaeri[i] == 1)){
			printf("POSSIBLE");
			flag = 1;
			break;
		}
	}
	if(flag == 0){
		printf("IMPOSSIBLE");
	}
	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:17:32: error: 'a' undeclared (first use in this function)
   17 |                 scanf("%d %d",&a,&b);
      |                                ^
main.c:17:32: note: each undeclared identifier is reported only once for each function it appears in
main.c:17:35: error: 'b' undeclared (first use in this function)
   17 |                 scanf("%d %d",&a,&b);
      |                                   ^
Language: C

#include<stdio.h>
int main(void){
int N,M,i;
int *a,*b
int no = 0;
scanf("%d %d",&N,&M);
a = (int *a)malloc(N*sizeof(int)) = {0};
b = (int *b)malloc(N*sizeof(int)) = {0};
int tmpa,tmpb;
for(i=0;i<M;i++){
scanf("%d %d",&tmpa,&tmpb);
if(tmpa==1)a[tmpb]=1;
if(tmpb==N)b[tmpa]=1;
}
for(i=0;i<N;i++){
if(a[i]==1 && b[i]==1){
no = 1;
}
}
if(no == 1) printf("POSSIBLE");
if(no == 0) printf("IMPOSSIBLE");
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
    5 | int no = 0;
      | ^~~
main.c:7:11: error: expected ')' before 'a'
    7 | a = (int *a)malloc(N*sizeof(int)) = {0};
      |     ~     ^
      |           )
main.c:7:13: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
    7 | a = (int *a)malloc(N*sizeof(int)) = {0};
      |             ^~~~~~
main.c:2:1: note: include '<stdlib.h>' or provide a declaration of 'malloc'
    1 | #include<stdio.h>
  +++ |+#include <stdlib.h>
    2 | int main(void){
main.c:7:13: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch]
    7 | a = (int *a)malloc(N*sizeof(int)) = {0};
      |             ^~~~~~
main.c:7:13: note: include '<stdlib.h>' or provide a declaration of 'malloc'
main.c:7:37: error: expected expression before '{' token
    7 | a = (int *a)malloc(N*sizeof(int)) = {0};
      |                                     ^
main.c:8:1: error: 'b' undeclared (first use in this function)
    8 | b = (int *b)malloc(N*sizeof(int)) = {0};
      | ^
main.c:8:1: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:11: error: expected ')' before 'b'
    8 | b = (int *b)malloc(N*sizeof(int)) = {0};
      |     ~     ^
      |           )
main.c:8:37: error: expected expression before '{' token
    8 | b = (int *b)malloc(N*sizeof(int)) = {0};
      |                                     ^
main.c:17:1: error: 'no' undeclared (first use in this function)
   17 | no = 1;
      | ^~
Language: C++

#incude <bits/stdc++.h>

using namespace std;

int main() {
    string n;
    cin>>n;
    scanf("ABC%s\n",n);
    return 0;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #incude; did you mean #include?
    1 | #incude <bits/stdc++.h>
      |  ^~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:6:5: error: 'string' was not declared in this scope
    6 |     string n;
      |     ^~~~~~
a.cc:1:1: note: 'std::string' is defined in header '<string>'; this is probably fixable by adding '#include <string>'
  +++ |+#include <string>
    1 | #incude <bits/stdc++.h>
a.cc:7:5: error: 'cin' was not declared in this scope
    7 |     cin>>n;
      |     ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #incude <bits/stdc++.h>
a.cc:7:10: error: 'n' was not declared in this scope
    7 |     cin>>n;
      |          ^
a.cc:8:5: error: 'scanf' was not declared in this scope
    8 |     scanf("ABC%s\n",n);
      |     ^~~~~
Language: C++

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

int main(){
int N;
cin>>N;
cout<<"ABC"<<N
}

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

#include "bits/stdc++.h"
using namespace std;
#define fol(i,n) for(int i=0;i<n;i++)
#define all(a) (a).begin(),(a).end()
typedef long long ll;
typedef pair<int,int> P;
typedef vector<P> vip;
int main(){
  int x;
  cin >>x;
  cout << "ABC" <<x <<endl;ß
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:28: error: '\U000000df' was not declared in this scope
   11 |   cout << "ABC" <<x <<endl;ß
      |                            ^