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

#include <bits/stdc++.h>

#define ld long double
#define ll long long int
#define ull unsigned long long int
#define vi vector<int>
#define vl vector<ll>
#define vvi vector< vector<int> >
#define vvl vector< vector<ll> >
#define repd(i, a, b) for (int i=(a);i<(b);i++)
#define rep(i, n) repd(i,0,n)
#define ALL(v) v.begin(), v.end()
#define INF 1e9

using namespace std;

/**
 * calculate GCD(greatest common divisor)
 * @param a
 * @param b
 * @return
 */
unsigned euclidean_gcd(unsigned a, unsigned b) {
    if (a < b) return euclidean_gcd(b, a);
    unsigned r;
    while ((r = a % b)) {
        a = b;
        b = r;
    }
    return b;
}

/**
 * change minimum
 * @tparam T
 * @param a
 * @param b
 * @return bool
 */
template<class T> inline bool changeMinimum(T& a, T b) {
    if (a > b) {
        a = b;
        return true;
    }
    return false;
}

/**
 * change maximum
 * @tparam T
 * @param a
 * @param b
 * @return bool
 */
template<class T> inline bool changeMaximum(T& a, T b) {
    if (a < b) {
        a = b;
        return true;
    }
    return false;
}

/**
 * output answer
 * @tparam T
 * @param answer
 * @return
 */
template<typename T>
T output(T answer) {
    cout << answer << endl;
    return 0;
}

/** ----from here ---------------------------------------------------------- */

int main() {



    int a, b, c;
    cin >> a >> b  >> c;
    
    cout << c << a << b endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:84:24: error: expected ';' before 'endl'
   84 |     cout << c << a << b endl;
      |                        ^~~~~
      |                        ;
Language: Java

import java.util.Scanner;

public class Atcoder2 {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		int X = sc.nextInt();
		int Y = sc.nextInt();
		int Z = sc.nextInt();
		int temp = X;
		X = Y;
		Y = temp;
		temp = X;
		X = Z;
		Z = temp;
		System.out.println(X+" "+Y+" "+Z);
	}

}


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

import java.util.*;

public class c{
  public statjic void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();
    
    int tmp = a; // 1
    a = b; // 2
    b = tmp; // 1
    
    tmp = a;
    a = c;
    c = a;
    
    System.out.println(a+" "+b+" "+c);
  }
}

Compiler output:
Main.java:4: error: <identifier> expected
  public statjic void main(String[] args){
                ^
1 error
Language: C++

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

int main() {
    int x, y, z;
    cin >> x >> y >> z;
    
    tmp = x;
    x = y;
    y = tmp;

    tmp = x;
    x = z;
    z = tmp;

    cout << x << y << z << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:5: error: 'tmp' was not declared in this scope; did you mean 'tm'?
    8 |     tmp = x;
      |     ^~~
      |     tm
Language: C++

#include<stdio.h>
main()
{
  int X,Y,Z;
  scanf("%d%d%d",&X&Y&Z);
  Y=X;
  Z=X;
  printf("%d %d %d",XYZ);
  return (0);
}

Compiler output:
a.cc:2:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    2 | main()
      | ^~~~
a.cc: In function 'int main()':
a.cc:5:20: error: invalid operands of types 'int*' and 'int' to binary 'operator&'
    5 |   scanf("%d%d%d",&X&Y&Z);
      |                  ~~^~
      |                  |  |
      |                  |  int
      |                  int*
a.cc:8:21: error: 'XYZ' was not declared in this scope
    8 |   printf("%d %d %d",XYZ);
      |                     ^~~
Language: C++

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

int main(){
    int X,Y,Z;
    cin >> X >> Y >> Z;
    cout << Z << X << Y << endl;
}#include <bits/stdc++.h>
using namespace std;

int main(){
    int X,Y,Z;
    cin >> X >> Y >> Z;
    cout << Z << X << Y << endl;
}


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

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

#define forz(i, n) for (int i = 0; i < n; i++)
#define fore(i, m, n) for (int i = m; i <= n; i++)
#define rforz(i, n) for (int i = n - 1; i >= 0; i--)
#define rfore(i, m, n) for (int i = n; i >= m; i--)
#define fastio ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL)

int main()
{
  fastio;   //to reduce time
  cin.tie(0), cout.tie(0);
  ll a,b,c;
  cin>>a>>b>>c;
  cout<<c<<" "<<a<<" "<<b;

Compiler output:
a.cc: In function 'int main()':
a.cc:20:27: error: expected '}' at end of input
   20 |   cout<<c<<" "<<a<<" "<<b;
      |                           ^
a.cc:15:1: note: to match this '{'
   15 | {
      | ^
Language: C++

/* Contest */
#include<bits/stdc++.h>
#define all(s) (s).begin(),(s).end()
#define rall(s) (s).rbegin(),(s).rend()
#define sep ios::sync_with_stdio(0),cin.tie(0)
using namespace std;
typedef long long ll;
template<typename T>get(vector<T>&a){for(int i=1;i<a.size();i++) cin>>a[i];}
template<typename T>print(vector<T>a){for(int i=1;i<a.size();i++) cout<<a[i]<<" ";}
int main()
{	
	sep;
	int a,b,c;
	cin>>a>>b>>c;
	cout<<c<<" "<<a<<" "<<b;
	

}

Compiler output:
a.cc:8:21: error: ISO C++ forbids declaration of 'get' with no type [-fpermissive]
    8 | template<typename T>get(vector<T>&a){for(int i=1;i<a.size();i++) cin>>a[i];}
      |                     ^~~
a.cc:9:21: error: ISO C++ forbids declaration of 'print' with no type [-fpermissive]
    9 | template<typename T>print(vector<T>a){for(int i=1;i<a.size();i++) cout<<a[i]<<" ";}
      |                     ^~~~~
Language: Java

import java.util.*;

public class main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int x = sc.nextInt();
    int y = sc.nextInt();
    int z = sc.nextInt();
    int save;

    save = z;
    z = y;
    y = x;
    x = save;

    System.out.println(x + " " + y + " " + z);




  }
}

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

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;

public class Qa 
{
	public static void main(String[] Arguments) throws IOException 
	{
		BufferedReader BR = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer ST = new StringTokenizer(BR.readLine());
		int[] Boxes = new int[3];
		Boxes[0] = Integer.parseInt(ST.nextToken()); Boxes[1] = Integer.parseInt(ST.nextToken()); Boxes[2] = Integer.parseInt(ST.nextToken());
		int tempA = Boxes[0], tempB = Boxes[1], tempC = Boxes[2];
		Boxes[0] = tempB;
		Boxes[1] = tempA;
		tempA = Boxes[0];
		Boxes[0] = tempC;
		Boxes[2] = tempA;
		System.out.println(Boxes[0] + " " + Boxes[1] + " " + Boxes[2]);
	}
}


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

#include<bits/stdc++.h>
using namespace std;
#define ll long long int
int main()
{
  ll a,b,c;
  cin>>a>>b>>c;
  cout<<c<<" "<<a<<" "<<b;
  
  
  
  
}
return 0;

Compiler output:
a.cc:14:1: error: expected unqualified-id before 'return'
   14 | return 0;
      | ^~~~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
  int x,y,z,tmp;
  cin>>x>>y>>z;
  cout<<z<<" "<<x<<" "<<y;

Compiler output:
a.cc: In function 'int main()':
a.cc:7:27: error: expected '}' at end of input
    7 |   cout<<z<<" "<<x<<" "<<y;
      |                           ^
a.cc:4:1: note: to match this '{'
    4 | {
      | ^
Language: C++

#include <stdio.h>

void main()
{
	int a,b,c;

	scanf("%d%d%d",&a,&b,&c);

	printf("%d %d %d\n",c,a,b);
}

Compiler output:
a.cc:3:1: error: '::main' must return 'int'
    3 | void main()
      | ^~~~
Language: C++

#include <iostream>

int main(void)
{
 int a, b, c, tmp;
  
  cin >> a;
  cin >> b;
  cin >> c;
  
  tmp = c;
  c = b;
  b = a;
  a = tmp;
  
  cout << a << b << c;
  
  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 >> a;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:16:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   16 |   cout << a << b << c;
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

using namespace std;

int main() {
  	int X, Y, Z;
  	cin >> X >> Y >> Z;
  
  	cout << Z << X << Y << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'cin' was not declared in this scope
    5 |         cin >> X >> Y >> Z;
      |         ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | using namespace std;
a.cc:7:9: error: 'cout' was not declared in this scope
    7 |         cout << Z << X << Y << endl;
      |         ^~~~
a.cc:7:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:32: error: 'endl' was not declared in this scope
    7 |         cout << Z << X << Y << endl;
      |                                ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | using namespace std;
Language: C

#include<iostream>
using namespace std;


int main()
{
 int a,b,c;

 cin>>a>>b>>c;


 cout<<c<<" "<<a<<" "<<b<<endl;




	return 0;}


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

    import java.util.*;
    class Main
    {
      public static void main(String args[])
      {
        Scanner scc=new Scanner (System.in);
        int a,b,c,t;
        a=sc.nextInt();
        b=sc.nextInt();
        c=sc.nextInt();
        t=a;
        a=b;
        b=t;
        t=a;
        a=c;
        c=t;
        System.out.println(a+" "+b+" "+c);
      }
    }

Compiler output:
Main.java:8: error: cannot find symbol
        a=sc.nextInt();
          ^
  symbol:   variable sc
  location: class Main
Main.java:9: error: cannot find symbol
        b=sc.nextInt();
          ^
  symbol:   variable sc
  location: class Main
Main.java:10: error: cannot find symbol
        c=sc.nextInt();
          ^
  symbol:   variable sc
  location: class Main
3 errors
Language: C++

#include<iostream>
using namespace std;
int main()
{
  int x,y,z;
  cin >> x>>y>>z;
  cout << z<<" "<<x<<" "<<y<<"\n;
  return 0;
}

Compiler output:
a.cc:7:30: warning: missing terminating " character
    7 |   cout << z<<" "<<x<<" "<<y<<"\n;
      |                              ^
a.cc:7:30: error: missing terminating " character
    7 |   cout << z<<" "<<x<<" "<<y<<"\n;
      |                              ^~~~
a.cc: In function 'int main()':
a.cc:8:3: error: expected primary-expression before 'return'
    8 |   return 0;
      |   ^~~~~~
Language: C

#include <stdio.h>
int main (void){
  int a, b, c;
 
  scanf("%d %d %d", &a &b &c);
 
  
    printf("%d %d %d\n", c,a,b);
  
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:24: error: invalid operands to binary & (have 'int *' and 'int')
    5 |   scanf("%d %d %d", &a &b &c);
      |                     ~~ ^
      |                     |
      |                     int *
Language: C++

#include <iostream>
using namespace std;

int main(){
        int x,y,z;
        cin >> x >> y >> z;

        swap(x,y);
        swap(x,z);

        cout << x << " " << y << " " << z << endl;

        return 0;
}
~    

Compiler output:
a.cc:15:2: error: expected class-name at end of input
   15 | ~
      |  ^
Language: C++

using namespace std;

int main() {
  	int X, Y, Z;
  	cin >> X >> Y >> Z;
  
  	cout << Z << X << Y;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'cin' was not declared in this scope
    5 |         cin >> X >> Y >> Z;
      |         ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | using namespace std;
a.cc:7:9: error: 'cout' was not declared in this scope
    7 |         cout << Z << X << Y;
      |         ^~~~
a.cc:7:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

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

int main()
{
  int a, b, c;
  cin >> a >> b >> c;
  cout << c << " " << a << " " << b << endl;
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespacs'
    2 | using namespacs std;
      |       ^~~~~~~~~
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 >> a >> b >> c;
      |   ^~~
      |   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:8:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |   cout << c << " " << a << " " << b << 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:40: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |   cout << c << " " << a << " " << b << 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>
constexpr ll MOD = 1'000'000'007;
// constexpr ll MOD = 998'244'353;
int main() {
    using namespace std;
    int x, y, z;
    cin >> x >> y >> z;
    cout << z << ' ' << x << ' ' << y << endl;
    
    return 0;
}

Compiler output:
a.cc:2:11: error: 'll' does not name a type
    2 | constexpr ll MOD = 1'000'000'007;
      |           ^~
Language: C++

#include <iostream>
#include <bits/stdc++.h>
using namespace std;
#define li long
#define ll long long
#define ull unsigned long long
#define ff first
#define ss second
#define pii pair<int,int>
#define pli pair<li,li>
#define pll pair<ll,ll>
#define pb push_back
#define fori(i,k,n) for(int i = k;i<n; i++)
#define rfori(i,k,n) for(int i = k; i>=n; i--)
#define tc int t;cin>>t;while(t--)
#define all(v) v.begin(),v.end()
void fastio()
{
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    cout.tie(NULL);
} 
class dsu{
    public:
    unordered_map<int,int> p,sz;
    void make_set(int x)
    {
        p[x] = x;
        sz[x]+=1;
    }
    int find(int x)
    {
        if(x == p[x])return x;
        return p[x] = find(p[x]);
    }
    void merge(int a,int b)
    {
        a = find(a);
        b = find(b);
        if(a == b)return;
        if(sz[a]<sz[b])swap(a,b);
        p[b] = a;
        sz[a]+=sz[b];
        sz.erase(b);
    }
};
template<class T>
T power(T a,T b){
    T res = (T)1;
    while(b>0){
        if(b&1)res = (res*a);
        b>>=1;
        a*=a;
    }
    return res;
}
class wemen{
public:
    int b,i,r;
    wemen(){

    }
    bool operator<(const wemen& o){
        if(b!=o.b)return b>o.b;
        else if(i!=o.i)return i>o.i;
        else return r>=o.r;
    }
};
void online_judge(){
    #ifndef ONLINE_JUDGE
    freopen("input.txt", "r", stdin);
    freopen("output.txt", "w", stdout);
    #endif
}

int kmp(string s){
    vector<int> lps(s.size(),0);
    for(int i = 1; i<lps.size(); ++i){
        int prev_index = lps[i-1];
        while(prev_index>0&&s[i]!=s[prev_index]){
            prev_index = lps[prev_index-1];
        }
        lps[i] = prev_index+(s[i] == s[prev_index]?1:0);
    }
    return lps[lps.size()-1];
}
int ask(int z){
    cout<<z<<endl;
    cin>>ver;
    return ver;
}
int main()
{
    fastio();
    int x,y,z;
    cin>>x>>y>>z;
    cout<<z<<x<<y<<endl;

}

Compiler output:
a.cc: In function 'int ask(int)':
a.cc:89:10: error: 'ver' was not declared in this scope
   89 |     cin>>ver;
      |          ^~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
constexpr int Inf = 1000000001;
constexpr ll INF= 9 * 1e18;
constexpr ll MOD = 1000000007;
const double PI = 3.1415926535897;
typedef pair<ll,ll> P;

int main() {
   int x,y,z;
  cin >>x>>y>>z;
  cout<< z << << x << << y<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:15: error: expected primary-expression before '<<' token
   13 |   cout<< z << << x << << y<<endl;
      |               ^~
a.cc:13:23: error: expected primary-expression before '<<' token
   13 |   cout<< z << << x << << y<<endl;
      |                       ^~
Language: C

#include<bits/stdc++.h>

using namespace std;

int main()
{
    int a,b,c;
    cin >> a >> b >> c;

    cout << c << " " << a << " " << b << endl;
}

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

x,y,z = map(int,input().split())
print('{0} {1} {2}'.format(z,x,y))

Compiler output:
a.cc:2:7: warning: multi-character literal with 11 characters exceeds 'int' size of 4 bytes
    2 | print('{0} {1} {2}'.format(z,x,y))
      |       ^~~~~~~~~~~~~
a.cc:1:1: error: 'x' does not name a type
    1 | x,y,z = map(int,input().split())
      | ^
Language: C++

#include<bits/stdc++.h>
int main()
{
  int a,b,c;
  cin>>a>>b>>c;
  cout<<b<<c<<a<<endl;
  return 0;
}
  

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   cin>>a>>b>>c;
      |   ^~~
      |   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:6:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |   cout<<b<<c<<a<<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:18: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |   cout<<b<<c<<a<<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<iostream>
using namespace std;
int main()
{
    int x,y,z,temp;
    cin>>x>>y>>z;

    temp=x;
    x=y;
    y=temp;
    temp=x;
    x=c;
    c=temp;
    cout<<x<<" "<<y<<" "<<z<<endl;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:7: error: 'c' was not declared in this scope
   12 |     x=c;
      |       ^
Language: Java

import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc=new Scannre(System.in);
        int A=sc.nextInt();
        int B=sc.nextInt();
        int C=sc.nextInt();
        
        
        
        System.out.println(C);
        System.out.println(A);
        System.out.println(B);
    }
}


Compiler output:
Main.java:5: error: cannot find symbol
        Scanner sc=new Scannre(System.in);
                       ^
  symbol:   class Scannre
  location: class Main
1 error
Language: Java

import java.util.*;
class Main
{
  public static void main(String args[])
  {
    Scanner scc=new Scanner (System.in);
    int a,b,c;
    a=sc.nextInt();
    b=sc.nextInt();
    c=sc.nextInt();
    t=a;
    a=b;
    b=t;
    t=a;
    a=c;
    c=t;
    System.out.println(a+" "+b+" "+c);
  }
}

Compiler output:
Main.java:8: error: cannot find symbol
    a=sc.nextInt();
      ^
  symbol:   variable sc
  location: class Main
Main.java:9: error: cannot find symbol
    b=sc.nextInt();
      ^
  symbol:   variable sc
  location: class Main
Main.java:10: error: cannot find symbol
    c=sc.nextInt();
      ^
  symbol:   variable sc
  location: class Main
Main.java:11: error: cannot find symbol
    t=a;
    ^
  symbol:   variable t
  location: class Main
Main.java:13: error: cannot find symbol
    b=t;
      ^
  symbol:   variable t
  location: class Main
Main.java:14: error: cannot find symbol
    t=a;
    ^
  symbol:   variable t
  location: class Main
Main.java:16: error: cannot find symbol
    c=t;
      ^
  symbol:   variable t
  location: class Main
7 errors
Language: C++

#include<iostream>
using namespace std;
int main()
{
  int a[3];
  int b[3]={0,0,0};
  for(int i=0;i<3;i++)
  {
    cin>>a[i];
  }
  b[0]=a[2];
  b[1]=a[0];
  b[2]=a[1];
  for(int i=0;i<n;i++)
  {cout<<a[i]<<" ";
  }
}

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

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

int main() {
    int X,Y,Z;
    cin >> X >> Y >> Z;
    cout << Z << ' ' << X << ' ' << Y;


Compiler output:
a.cc: In function 'int main()':
a.cc:7:39: error: expected '}' at end of input
    7 |     cout << Z << ' ' << X << ' ' << Y;
      |                                       ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: Java

import java.util.*;
public class Main{
  public static void main{
    Scanner sc =new Scanner(System.in);
    int X =sc.nextInt();
    int Y =sc.nextInt();
    int Z =sc.nextInt();
    System.out.println(Z+" "+X+" "+Y);
  }
}

Compiler output:
Main.java:3: error: '(' expected
  public static void main{
                         ^
1 error
Language: C++

#include"bits/stdc++.h"
#include<boost/multi_array.hpp>
#include<boost/optional.hpp>
#include<boost/range/irange.hpp>
#include<boost/range/algorithm.hpp>
#include<boost/range/adaptors.hpp>
using namespace std;
namespace adaptor = boost::adaptors;

void Main()
{
	int X;
    int Y;
    int Z;
  
  	cin >> X;
    cin >> Y;
    cin >> Z;
  
    int tmp;
  
    X >> tmp;
    Y >> X;
    X >> tmp;
  
    Z >> tmp;
    X >> Z;
    tmp >> X;
  
    printf("%d %d %d", X, Y, Z);
	
	
}

int main()
{
	std::cin.tie(nullptr);
	std::ios_base::sync_with_stdio(false);
	std::cout << std::fixed << std::setprecision(15);
	Main();
}

Compiler output:
a.cc:2:9: fatal error: boost/multi_array.hpp: No such file or directory
    2 | #include<boost/multi_array.hpp>
      |         ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<iostream>
using namespace std;
int main()
  {
  int x, y , z ;
  cin>>x>>y>>z;
  cout<<z<<" "<<x" "<<y ;
  return 0; 
}
    

Compiler output:
a.cc: In function 'int main()':
a.cc:7:18: error: expected ';' before string constant
    7 |   cout<<z<<" "<<x" "<<y ;
      |                  ^~~
      |                  ;
Language: C++


def a161(x , y , z):

    return z + " " + x + " " + y

def main():
    x , y , z = map(str , input().split())
    print(a161(x , y , z))

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:2:1: error: 'def' does not name a type
    2 | def a161(x , y , z):
      | ^~~
Language: C++

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

int main(){
  int X,Y,Z;
  cin >> X >> Y >> Z;
  cout << Z <<" "< X <<" "<< Y;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:22: error: invalid operands of types 'int' and 'const char [2]' to binary 'operator<<'
    7 |   cout << Z <<" "< X <<" "<< Y;
      |                    ~ ^~~~~
      |                    |   |
      |                    int const char [2]
Language: Java

import java.util.*;
public class HelloWorld{

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

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

#include <array>
#include <deque>
#include <forward_list>
#include <list>
#include <vector>
#include <map>
#include <set>
#include <unordered_map>
#include <unordered_set>
#include <queue>
#include <stack>
#include <iterator>
#include <algorithm>
#include <cfenv>
#include <random>
#include <numeric>
#include <cmath>
#include <iosfwd>
#include <iostream>
#include <ios>
#include <streambuf>
#include <istream>
#include <ostream>
#include <iomanip>
#include <sstream>
#include <fstream>
using namespace std;

int main(){
    int X,Y,Z;
    cin >> X >> Y >> Z;
    cout<< Z <<" "<< X <<" "<< Y;
    return 0;
}

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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int x, y, z w;
  cin >> x >> y >> z;
  w = x;
  x = y;
  y = w;
  
  x = z;
  z = w;
  
  cout << x << y << z;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:15: error: expected initializer before 'w'
    5 |   int x, y, z w;
      |               ^
a.cc:6:20: error: 'z' was not declared in this scope
    6 |   cin >> x >> y >> z;
      |                    ^
a.cc:7:3: error: 'w' was not declared in this scope
    7 |   w = x;
      |   ^
Language: C++

#include<bits/stdc++.h>

int main()
{
  int x,y,z;
  cin>>x>>y>>z;
  cout<<z<<' '<<x<<' '<<y;
  
  }

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin>>x>>y>>z;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:7:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |   cout<<z<<' '<<x<<' '<<y;
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

# -*- coding utf-8 -*-
a, b, c = map(int, input().split())
print(c,a, b)


Compiler output:
a.cc:1:3: error: invalid preprocessing directive #-
    1 | # -*- coding utf-8 -*-
      |   ^
a.cc:2:1: error: 'a' does not name a type
    2 | a, b, c = map(int, input().split())
      | ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define Rep(i, m,n) for (int i = m; i < (int)(n); i++)
int main(){
  int A,B,C;
  cin>>A>>B>>C;
  cout<<C<<" "<<A<" "<<B<<endl;






}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:22: error: invalid operands of types 'const char [2]' and 'int' to binary 'operator<<'
    8 |   cout<<C<<" "<<A<" "<<B<<endl;
      |                   ~~~^~~
      |                   |    |
      |                   |    int
      |                   const char [2]
Language: C++

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

int main() {
  
  int a,b,c;
  cin >> a >> b >> c;
  
  cout << c << a << b << endl;
  
}


Compiler output:
a.cc:1:2: error: stray '#' in program
    1 | v#include <bits/stdc++.h>
      |  ^
a.cc:1:1: error: 'v' does not name a type
    1 | v#include <bits/stdc++.h>
      | ^
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope
    7 |   cin >> a >> b >> c;
      |   ^~~
a.cc:9:3: error: 'cout' was not declared in this scope
    9 |   cout << c << a << b << endl;
      |   ^~~~
a.cc:9:26: error: 'endl' was not declared in this scope
    9 |   cout << c << a << b << endl;
      |                          ^~~~
Language: C++

#inlcude<iostream>
using namespace std;

int main(){
	int a,b,c;
  	cin >> a >> b >> c;
  	cout << c << a << b;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inlcude; did you mean #include?
    1 | #inlcude<iostream>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:6:9: 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 | #inlcude<iostream>
a.cc:7:9: error: 'cout' was not declared in this scope
    7 |         cout << c << a << b;
      |         ^~~~
a.cc:7:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

#include<bits/stdc++.h>
int main(){
int a,b,c,temp;
cin>>a>>b>>c;
temp = a;
a=b;
b=temp;
temp = a;
a=c;
c=temp;
cout<<a<<b<<c;
return 0;
}

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

#include <iostream>
#include <vector>
#include <stdlib.h>

using std::cout;
using std::cin;
using std::endl;
using std::vector;

int main (int args, char** argv){
    int a, b, c;
    cin >> a;
    cin >> b;
    cin >> c;

    cout << c << " " << a << " " << b << endl;
return 0;
}

Compiler output:
Main.java:1: error: illegal character: '#'
#include <iostream>
^
Main.java:2: error: illegal character: '#'
#include <vector>
^
Main.java:3: error: illegal character: '#'
#include <stdlib.h>
^
Main.java:6: error: class, interface, enum, or record expected
using std::cin;
^
Main.java:7: error: class, interface, enum, or record expected
using std::endl;
^
Main.java:8: error: class, interface, enum, or record expected
using std::vector;
^
Main.java:12: error: not a statement
    cin >> a;
        ^
Main.java:13: error: not a statement
    cin >> b;
        ^
Main.java:14: error: not a statement
    cin >> c;
        ^
Main.java:16: error: not a statement
    cout << c << " " << a << " " << b << endl;
                                      ^
Main.java:10: error: unnamed classes are a preview feature and are disabled by default.
int main (int args, char** argv){
^
  (use --enable-preview to enable unnamed classes)
Main.java:10: error: <identifier> expected
int main (int args, char** argv){
                        ^
12 errors
Language: C++

#include<iostream>
using namespace std;
int main(void)
{
    int a,b,c;
    cin >> a >> b >>c;
    cout c<< << ' ' <<a << ' '<<b;
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: expected ';' before 'c'
    7 |     cout c<< << ' ' <<a << ' '<<b;
      |         ^~
      |         ;
Language: C

#include<stdio.h>
int main(void){
  int a,b,c,tmp;
  scnaf("%d %d %d",&a,&b,&c);
  tmp=a;
  a=b;
  b=tmp;
  
  tmp=a;
  a=c;
  c=tmp;
  printf("%d %d %d",a,b,c);
  return 0;
}

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

#include <bits/stdc++.h>
using namespace std;
int main() {
  int x, y, z;
  cin >> x >> y >> z;
  swap(x, y);
  swap(x, c);

  cout << x <<' ' << y<< ' ' << z << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: 'c' was not declared in this scope
    7 |   swap(x, c);
      |           ^
Language: Java


import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;

public class A {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String in[] = br.readLine().split(" ");
        int a = Integer.parseInt(in[0]);
        int b = Integer.parseInt(in[1]);
        int c = Integer.parseInt(in[2]);
        int temp = a;
        a=b;
        b=temp;
        temp =a;
        a=c;
        c=temp;
        System.out.println(a+" "+b+" "+c);
    }
}


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

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

int main(){
  int x, y, z;
  cin >>  >> y >> z;
  
  int tmp;
  tmp=x;
  x=y;
  y=tmp;
  z=x;
  
  cout << x << y << z << endl;
  return 0;
}

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

#include <stdio.h>
#include <math.h>

int main(void)
{
  int, i, j, k, tmp = 0;
  
  scanf("%d %d %d", &i, &j, &k);
  
  tmp = i;
  i = j;
  j = tmp;
  tmp = i;
  i = k;
  k = tmp;
  
  
  
  
  printf("%d %d %d\n", i, j, k);
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:6: error: expected identifier or '(' before ',' token
    6 |   int, i, j, k, tmp = 0;
      |      ^
main.c:8:22: error: 'i' undeclared (first use in this function)
    8 |   scanf("%d %d %d", &i, &j, &k);
      |                      ^
main.c:8:22: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:26: error: 'j' undeclared (first use in this function); did you mean 'jn'?
    8 |   scanf("%d %d %d", &i, &j, &k);
      |                          ^
      |                          jn
main.c:8:30: error: 'k' undeclared (first use in this function)
    8 |   scanf("%d %d %d", &i, &j, &k);
      |                              ^
main.c:10:3: error: 'tmp' undeclared (first use in this function)
   10 |   tmp = i;
      |   ^~~
Language: Java

#include <iostream>
using namespace std;

int main() {
  int a, b, c;
  cin >> a >> b >> c;
  
  cout << c << " " << a << " " << b;
}

Compiler output:
Main.java:1: error: illegal character: '#'
#include <iostream>
^
Main.java:1: error: class, interface, enum, or record expected
#include <iostream>
         ^
Main.java:6: error: not a statement
  cin >> a >> b >> c;
                ^
Main.java:8: error: not a statement
  cout << c << " " << a << " " << b;
                               ^
Main.java:4: error: unnamed classes are a preview feature and are disabled by default.
int main() {
^
  (use --enable-preview to enable unnamed classes)
5 errors
Language: C++

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

int main() {
  int　X,Y,Z;
  cin >> X >> Y >> Z;

  cout <<Z<<" "<<X<<" " <<Y<< endl;
}


Compiler output:
a.cc:5:3: error: extended character 　 is not valid in an identifier
    5 |   int　X,Y,Z;
      |   ^
a.cc: In function 'int main()':
a.cc:5:3: error: 'int\U00003000X' was not declared in this scope
    5 |   int　X,Y,Z;
      |   ^~~~~~
a.cc:5:10: error: 'Y' was not declared in this scope
    5 |   int　X,Y,Z;
      |          ^
a.cc:5:12: error: 'Z' was not declared in this scope
    5 |   int　X,Y,Z;
      |            ^
a.cc:6:10: error: 'X' was not declared in this scope
    6 |   cin >> X >> Y >> Z;
      |          ^
Language: C++

#include<iostream>
using namespace std;
int main()
{
  int x,y,z;
  cin >> x>>y>>z;
  cout << z<<" "x<<" "y<<"\n;
  return 0;
}

Compiler output:
a.cc:7:26: warning: missing terminating " character
    7 |   cout << z<<" "x<<" "y<<"\n;
      |                          ^
a.cc:7:26: error: missing terminating " character
    7 |   cout << z<<" "x<<" "y<<"\n;
      |                          ^~~~
a.cc: In function 'int main()':
a.cc:7:14: error: unable to find string literal operator 'operator""x' with 'const char [2]', 'long unsigned int' arguments
    7 |   cout << z<<" "x<<" "y<<"\n;
      |              ^~~~
a.cc:7:20: error: unable to find string literal operator 'operator""y' with 'const char [2]', 'long unsigned int' arguments
    7 |   cout << z<<" "x<<" "y<<"\n;
      |                    ^~~~
a.cc:8:3: error: expected primary-expression before 'return'
    8 |   return 0;
      |   ^~~~~~
Language: Java

import java.io.*;
import java.math.*;
import java.util.*;
import java.util.stream.*;

class Main {
    static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    static final PrintWriter pw = new PrintWriter(System.out);
    public static void main(String[] args) throws IOException {
        String[] inputs = br.readLine().split(" ");
        int[] nums = new int[3];
        for(int i = 0; i < num; i++) {
            nums[i] = Integer.parseInt(inputs[i]);
        }
        String ans = nums[3] + " " + nums[1] + " " + nums[2];

        pw.println(ans);
        pw.flush();
    }
}

Compiler output:
Main.java:12: error: cannot find symbol
        for(int i = 0; i < num; i++) {
                           ^
  symbol:   variable num
  location: class Main
1 error
Language: C++

include<bits/stdc++.h>
#define ll long long int
using namespace std;
int main()
{
	ios_base::sync_with_stdio(false); 
    cin.tie(NULL); 
   	//freopen("output.txt","w",stdout);
    //freopen("input.txt","r",stdin);
    ll A,B,C;
    cin>>A>>B>>C;
    cout<<C<<" "<<A<<" "<<B;
}





Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<bits/stdc++.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:6:9: error: 'ios_base' has not been declared
    6 |         ios_base::sync_with_stdio(false);
      |         ^~~~~~~~
a.cc:7:5: error: 'cin' was not declared in this scope
    7 |     cin.tie(NULL);
      |     ^~~
a.cc:7:13: error: 'NULL' was not declared in this scope
    7 |     cin.tie(NULL);
      |             ^~~~
a.cc:1:1: note: 'NULL' is defined in header '<cstddef>'; this is probably fixable by adding '#include <cstddef>'
  +++ |+#include <cstddef>
    1 | include<bits/stdc++.h>
a.cc:12:5: error: 'cout' was not declared in this scope
   12 |     cout<<C<<" "<<A<<" "<<B;
      |     ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
typedef long double LD;
typedef long long int ll;
#define pb push_back
#define mp make_pair
#define REP(i,n) for (ll i = 0; i < n; i++)
#define FOR(i,a,b) for (ll i = a; i < b; i++)
#define REPD(i,n) for (ll i = n-1; i >= 0; i--)
#define FORD(i,a,b) for (ll i = a; i >= b; i--)
#define remax(a,b) a = max(a,b)
#define remin(a,b) a = min(a,b)
#define all(v) v.begin(),v.end()
#define rsort(v) sort(v.begin(), v.end(), greater <>());
typedef map<ll,ll> mll;
typedef vector<ll> vll;
typedef vector<vll> vvl;
typedef pair<ll,ll> pll;
typedef vector<pll> vpll;
#define F first
#define S second
#define PQ(type) priority_queue<type>
#define PQD(type) priority_queue<type,vector<type>,greater<type> >
#define ITR :: iterator it
#define WL(t) while(t--)
#define SZ(x) ((int)(x).size())
#define TR(container,it) for(typeof(container.begin()) it=container.begin();it!=container.end();it++)
#define inrange(i,a,b) ((i>=min(a,b)) && (i<=max(a,b)))
#define i1(x) cin>>x
#define i2(x,n) cin>>x>>n
#define o1(x) cout<<x
#define o2(x,n) cout<<x<<n
int main(){
    ll x,y,z;
    i2(x,y)>>z;
    o2(z," ")<<x<" "<<y<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:37:21: error: invalid operands of types 'const char [2]' and 'll' {aka 'long long int'} to binary 'operator<<'
   37 |     o2(z," ")<<x<" "<<y<<endl;
      |                  ~~~^~~
      |                  |    |
      |                  |    ll {aka long long int}
      |                  const char [2]
Language: C++

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

int main() {
  int x, y, z;
  scanf("%d %d %d", &x, &y, &z);
  printf("%d %d %d\n", z, x, y);
  
  return 0;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inlcude; did you mean #include?
    1 | #inlcude <bits/stdc++.h>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:6:3: error: 'scanf' was not declared in this scope
    6 |   scanf("%d %d %d", &x, &y, &z);
      |   ^~~~~
a.cc:7:3: error: 'printf' was not declared in this scope
    7 |   printf("%d %d %d\n", z, x, y);
      |   ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | #inlcude <bits/stdc++.h>
Language: C++

#include<bits/stdc++.h>
using namespace std;
#define rep(i, c) for(int i = 0; i < (int)c; i++)
#define ll long long
const int inf = 1000000000; // 10^9

int main(){
    int x, y, z;
    cin >> x >> y >> z;

    cou << z << " " << x << " " << y << endl;
    return 0;
}

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

#inculde<bits/stdc++.h>
using namespace std;
int main(){
 		int x,t,z;
  	cin>>x>>y>>z;
  swap(x,z);
  swap(x,y);
  cout<<x<<" "<<y<" "<<z;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inculde; did you mean #include?
    1 | #inculde<bits/stdc++.h>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:5:9: error: 'cin' was not declared in this scope
    5 |         cin>>x>>y>>z;
      |         ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inculde<bits/stdc++.h>
a.cc:5:17: error: 'y' was not declared in this scope
    5 |         cin>>x>>y>>z;
      |                 ^
a.cc:6:3: error: 'swap' was not declared in this scope
    6 |   swap(x,z);
      |   ^~~~
a.cc:8:3: error: 'cout' was not declared in this scope
    8 |   cout<<x<<" "<<y<" "<<z;
      |   ^~~~
a.cc:8:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:8:22: error: invalid operands of types 'const char [2]' and 'int' to binary 'operator<<'
    8 |   cout<<x<<" "<<y<" "<<z;
      |                   ~~~^~~
      |                   |    |
      |                   |    int
      |                   const char [2]
Language: C++

#include<iostream>
using namesapce std;
int main()
{
int a[3];
cin>>a[0]>>a[1]>>a[2];
swap(a[0],a[1]);
swap(a[0],a[2]);
cout>>a[0]>>a[1]>>a[2];
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namesapce'
    2 | using namesapce std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 | cin>>a[0]>>a[1]>>a[2];
      | ^~~
      | std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:7:1: error: 'swap' was not declared in this scope
    7 | swap(a[0],a[1]);
      | ^~~~
a.cc:7:1: note: suggested alternatives:
In file included from /usr/include/c++/14/bits/memory_resource.h:47,
                 from /usr/include/c++/14/string:68,
                 from /usr/include/c++/14/bits/locale_classes.h:40,
                 from /usr/include/c++/14/bits/ios_base.h:41,
                 from /usr/include/c++/14/ios:44,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/tuple:2823:5: note:   'std::swap'
 2823 |     swap(tuple<_Elements...>&, tuple<_Elements...>&) = delete;
      |     ^~~~
In file included from /usr/include/c++/14/bits/exception_ptr.h:41,
                 from /usr/include/c++/14/exception:166,
                 from /usr/include/c++/14/ios:41:
/usr/include/c++/14/bits/move.h:226:5: note:   'std::swap'
  226 |     swap(_Tp& __a, _Tp& __b)
      |     ^~~~
/usr/include/c++/14/bits/move.h:226:5: note:   'std::swap'
/usr/include/c++/14/bits/exception_ptr.h:229:5: note:   'std::__exception_ptr::swap'
  229 |     swap(exception_ptr& __lhs, exception_ptr& __rhs)
      |     ^~~~
a.cc:9:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 | cout>>a[0]>>a[1]>>a[2];
      | ^~~~
      | 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 <isotream>

using namespace std;


int main() { 
    int a = 0, b = 0, c = 0;
    cin >> a >> b >> c;
    swap(a,b);
    swap(a,c);
    cout << a  << " " << b << " " << c << endl;
    

    return 0;
}

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:21: error: unable to find string literal operator 'operator""a' with 'const char [2]', 'long unsigned int' arguments
    5 |            cout<<c<<" "a<<" "<<b;
      |                     ^~~~