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

#include "stdafx.h"
#include "bits/stdc++.h"

using namespace std;

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

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

#include<iostream>
int main(){
      int n;
      cin>>n;
      cout<<n*n*n<<endl;
      return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:7: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 |       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:5:7: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    5 |       cout<<n*n*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:5:20: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    5 |       cout<<n*n*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++

#include<iostream>
int main(){
	int n;
	cin>>n;
	cout<<(n*n*n)<<endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 |         cin>>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:5:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    5 |         cout<<(n*n*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:5:24: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    5 |         cout<<(n*n*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++

#include<iostream>
int main(){
    int a;
    std::cin>>a;
    std::cout<<a*a*a<<std::endl
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:32: error: expected ';' before 'return'
    5 |     std::cout<<a*a*a<<std::endl
      |                                ^
      |                                ;
    6 |     return 0;
      |     ~~~~~~
Language: C++

int x;

x = x^3;

printf("%d", x);

Compiler output:
a.cc:3:1: error: 'x' does not name a type
    3 | x = x^3;
      | ^
a.cc:5:7: error: expected constructor, destructor, or type conversion before '(' token
    5 | printf("%d", x);
      |       ^
Language: C++


class Main{
    public static void main(String[] a){
    	
    	System.out.println(x*x*x);
    }
}

Compiler output:
a.cc:3:11: error: expected ':' before 'static'
    3 |     public static void main(String[] a){
      |           ^~~~~~~
      |           :
a.cc:3:29: error: 'String' has not been declared
    3 |     public static void main(String[] a){
      |                             ^~~~~~
a.cc:3:38: error: expected ',' or '...' before 'a'
    3 |     public static void main(String[] a){
      |                                      ^
a.cc:7:2: error: expected ';' after class definition
    7 | }
      |  ^
      |  ;
a.cc: In static member function 'static void Main::main(int*)':
a.cc:5:9: error: 'System' was not declared in this scope
    5 |         System.out.println(x*x*x);
      |         ^~~~~~
a.cc:5:28: error: 'x' was not declared in this scope
    5 |         System.out.println(x*x*x);
      |                            ^
Language: C++

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

int main()
{
    string s;

    cin >> s;
    int x = ctoi(s);
    cout << (x * x * x) << endl;

    return (0);
}

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

using System;

namespace aoj
{
    class Main
    {
        static void Main(string[] args)
        {
            var n = int.Parse(args[0]);
            Console.WriteLine(n*n*n);
        }
    }
}

Compiler output:
a.cc:1:7: error: expected nested-name-specifier before 'System'
    1 | using System;
      |       ^~~~~~
a.cc:7:26: error: 'string' has not been declared
    7 |         static void Main(string[] args)
      |                          ^~~~~~
a.cc:7:35: error: expected ',' or '...' before 'args'
    7 |         static void Main(string[] args)
      |                                   ^~~~
a.cc:7:16: error: return type specification for constructor invalid
    7 |         static void Main(string[] args)
      |                ^~~~
a.cc:7:9: error: constructor cannot be static member function
    7 |         static void Main(string[] args)
      |         ^~~~~~
a.cc:12:6: error: expected ';' after class definition
   12 |     }
      |      ^
      |      ;
a.cc: In constructor 'aoj::Main::Main(int*)':
a.cc:9:13: error: 'var' was not declared in this scope
    9 |             var n = int.Parse(args[0]);
      |             ^~~
a.cc:10:13: error: 'Console' was not declared in this scope
   10 |             Console.WriteLine(n*n*n);
      |             ^~~~~~~
a.cc:10:31: error: 'n' was not declared in this scope
   10 |             Console.WriteLine(n*n*n);
      |                               ^
Language: C++

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

int mian(){
int n;
cin>>n;
cout<<n*n*n<<endl;
}

Compiler output:
a.cc: In function 'int mian()':
a.cc:8:1: warning: no return statement in function returning non-void [-Wreturn-type]
    8 | }
      | ^
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C++

#include <cstrio>
int main(){
    long long n;
    scanf("%I64d", &n);
    n *= n * n;
    printf("%I64d", n);
    return 0;
}

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

#include<stdio.h>
int main(void){
    int a;
    cin >> a;
    printf("%d",f(a));
    return 0;
}

int f(int n){
    n = n*n*n;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:5: error: 'cin' was not declared in this scope
    4 |     cin >> a;
      |     ^~~
a.cc:5:17: error: 'f' was not declared in this scope
    5 |     printf("%d",f(a));
      |                 ^
a.cc: In function 'int f(int)':
a.cc:11:1: warning: no return statement in function returning non-void [-Wreturn-type]
   11 | }
      | ^
Language: C++

#include<stdio.h>
int f(int n){
    n = n*n*n;
}
int main(void){
    int a;
    cin >> a;
    printf("%d",f(a));
    return 0;
}

Compiler output:
a.cc: In function 'int f(int)':
a.cc:4:1: warning: no return statement in function returning non-void [-Wreturn-type]
    4 | }
      | ^
a.cc: In function 'int main()':
a.cc:7:5: error: 'cin' was not declared in this scope
    7 |     cin >> a;
      |     ^~~
Language: C++

#include<stdio.h>
int f(int n){
    n = n*n*n;
    printf("%d",n);
}
int main(void){
    int a;
    cin >> a;
    return 0;
}

Compiler output:
a.cc: In function 'int f(int)':
a.cc:5:1: warning: no return statement in function returning non-void [-Wreturn-type]
    5 | }
      | ^
a.cc: In function 'int main()':
a.cc:8:5: error: 'cin' was not declared in this scope
    8 |     cin >> a;
      |     ^~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:15: error: expected ';' before 'cout'
    6 |         cin>>x
      |               ^
      |               ;
    7 |         cout<<x*x*x<<endl;
      |         ~~~~
Language: C++

import java.util.Scanner;

public class Main {

public static void main(String[] args) {

// ?¨??????\???????????????????????????????????????

Scanner sc = new Scanner(System.in);

// ????????????????????????????????´??°?????¨????????????????????????

int x = sc.nextInt();

int answer = x*x*x;/* ??????????????????3????????????! */;

System.out.println(answer);

}

}

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 <iostream>
using namespace std;

int main(){
    int x;
    cin >> x;
    x = x ^ 3
    cout < x < endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:14: error: expected ';' before 'cout'
    7 |     x = x ^ 3
      |              ^
      |              ;
    8 |     cout < x < endl;
      |     ~~~~
Language: C++

#include<stdio.h>

int main(void)

{
  int x;
  scanf("%d", &x);
  x=x*x*x;
  printf("%d\n",x) 
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:19: error: expected ';' before 'return'
    9 |   printf("%d\n",x)
      |                   ^
      |                   ;
   10 |   return 0;
      |   ~~~~~~
Language: C++

include<stdio.h>


int main(void)

{
  int x;
    scanf("%d",&x);
    x=x*x*x;
    printf("%d\n",x);
 
  return 0;

}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<stdio.h>
      | ^~~~~~~
Language: C++

#include<stdio.h>

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

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

class Main{
public static void main(String[] args){
Scanner stdIn=new Scanner(System.in);
int x=stdIn.nextInt();
System.out.println(x*x*x);
}
}

Compiler output:
a.cc:2:7: error: expected ':' before 'static'
    2 | public static void main(String[] args){
      |       ^~~~~~~
      |       :
a.cc:2:25: error: 'String' has not been declared
    2 | public static void main(String[] args){
      |                         ^~~~~~
a.cc:2:34: error: expected ',' or '...' before 'args'
    2 | public static void main(String[] args){
      |                                  ^~~~
a.cc:7:2: error: expected ';' after class definition
    7 | }
      |  ^
      |  ;
a.cc: In static member function 'static void Main::main(int*)':
a.cc:3:1: error: 'Scanner' was not declared in this scope
    3 | Scanner stdIn=new Scanner(System.in);
      | ^~~~~~~
a.cc:4:7: error: 'stdIn' was not declared in this scope; did you mean 'std'?
    4 | int x=stdIn.nextInt();
      |       ^~~~~
      |       std
a.cc:5:1: error: 'System' was not declared in this scope
    5 | System.out.println(x*x*x);
      | ^~~~~~
Language: C++

#include<stdio.h>
int main(){
  int x;
scanf("%d",&n);
  printf("%d/n",x*x*x);
  return(0);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:13: error: 'n' was not declared in this scope
    4 | scanf("%d",&n);
      |             ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:16: error: expected primary-expression before ')' token
    4 |   scanf("%d",n&)
      |                ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:15: error: 'h' was not declared in this scope
    4 |   scanf("%d",&h);
      |               ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:15: error: 'n' was not declared in this scope
    4 |   scanf("%d",&n);
      |               ^
Language: C++

#include<stdio.h>
a;
main(){
    scanf("%d",&a);
    a!=printf("%d\n",a*a*a);
}

Compiler output:
a.cc:2:1: error: 'a' does not name a type
    2 | a;
      | ^
a.cc:3:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    3 | main(){
      | ^~~~
a.cc: In function 'int main()':
a.cc:4:17: error: 'a' was not declared in this scope
    4 |     scanf("%d",&a);
      |                 ^
Language: C++

#include<stdio.h>

int main (){

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

printf("%d\n",x)

return 0;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:17: error: expected ';' before 'return'
    8 | printf("%d\n",x)
      |                 ^
      |                 ;
    9 | 
   10 | return 0;
      | ~~~~~~
Language: C++

#include<stdio.h>

int main (){

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

    printf("%d\n",x)

    return 0;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:21: error: expected ';' before 'return'
    8 |     printf("%d\n",x)
      |                     ^
      |                     ;
    9 | 
   10 |     return 0;
      |     ~~~~~~
Language: C++

#include<stdio.h>

int main (){

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

printf("%d\n",x * x * x )

return 0;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:26: error: expected ';' before 'return'
    8 | printf("%d\n",x * x * x )
      |                          ^
      |                          ;
    9 | 
   10 | return 0;
      | ~~~~~~
Language: C++

#include<stdio.h>

int main (void){

int x;
printf("%d\n",x)

scanf("%d",&x);

return 0;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:17: error: expected ';' before 'scanf'
    6 | printf("%d\n",x)
      |                 ^
      |                 ;
    7 | 
    8 | scanf("%d",&x);
      | ~~~~~
Language: C++

#include <stdio.h>
int main(void){
	int ans = 1;
	int x = 2;
	int i = 3;
	while(i != 0){
		x = x * base;
		i--;
	}
	printf("%d\n",x);
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:25: error: 'base' was not declared in this scope
    7 |                 x = x * base;
      |                         ^~~~
Language: C++

#include<stdio.h>
int main()
{
int x,a;
scanf(%d,&x);

a=x*x*x;
printf("?????????%d??§???",a);

}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:7: error: expected primary-expression before '%' token
    5 | scanf(%d,&x);
      |       ^
a.cc:5:8: error: 'd' was not declared in this scope
    5 | scanf(%d,&x);
      |        ^
Language: C++

#include<stdio.h>
int main()
{
int x,a;
scanf(%d,&x);

a=x*x*x;
printf("?????????%d??§???\n",a);

}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:7: error: expected primary-expression before '%' token
    5 | scanf(%d,&x);
      |       ^
a.cc:5:8: error: 'd' was not declared in this scope
    5 | scanf(%d,&x);
      |        ^
Language: C++

#include<stdio.h>
int main()
{
cin >> x;
x=x*x*x;
cout << x;
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:1: error: 'cin' was not declared in this scope
    4 | cin >> x;
      | ^~~
a.cc:4:8: error: 'x' was not declared in this scope
    4 | cin >> x;
      |        ^
a.cc:6:1: error: 'cout' was not declared in this scope
    6 | cout << x;
      | ^~~~
Language: C++

#include<stdio.h>
using namespace std;

int main(){
int x;
cin >> x;
cout << x*x*x << end1;

return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:1: error: 'cin' was not declared in this scope
    6 | cin >> x;
      | ^~~
a.cc:2:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    1 | #include<stdio.h>
  +++ |+#include <iostream>
    2 | using namespace std;
a.cc:7:1: error: 'cout' was not declared in this scope
    7 | cout << x*x*x << end1;
      | ^~~~
a.cc:7:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:18: error: 'end1' was not declared in this scope
    7 | cout << x*x*x << end1;
      |                  ^~~~
Language: C++

#include<stdio.h>

int main(){
int x;
scanf("%d",&X);
printf("%d\n",x*x*x);

return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:13: error: 'X' was not declared in this scope
    5 | scanf("%d",&X);
      |             ^
Language: C++

#include<stdio.h>
int main(){
int x;
scanf("%d",&X);
printf("%d\n",x*x*x);
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:13: error: 'X' was not declared in this scope
    4 | scanf("%d",&X);
      |             ^
Language: C++

import java.io.*;

class Main
{
	public static void main(String[] args)
	{
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String line = reader.readLine();
		int x = Integer.parseInt(line);
		x = x*x*x;
		System.out.println(x);
	}
}

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.io.*;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:5:15: error: expected ':' before 'static'
    5 |         public static void main(String[] args)
      |               ^~~~~~~
      |               :
a.cc:5:33: error: 'String' has not been declared
    5 |         public static void main(String[] args)
      |                                 ^~~~~~
a.cc:5:42: error: expected ',' or '...' before 'args'
    5 |         public static void main(String[] args)
      |                                          ^~~~
a.cc:13:2: error: expected ';' after class definition
   13 | }
      |  ^
      |  ;
a.cc: In static member function 'static void Main::main(int*)':
a.cc:7:17: error: 'BufferedReader' was not declared in this scope
    7 |                 BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
      |                 ^~~~~~~~~~~~~~
a.cc:8:17: error: 'String' was not declared in this scope
    8 |                 String line = reader.readLine();
      |                 ^~~~~~
a.cc:9:25: error: 'Integer' was not declared in this scope
    9 |                 int x = Integer.parseInt(line);
      |                         ^~~~~~~
a.cc:9:42: error: 'line' was not declared in this scope
    9 |                 int x = Integer.parseInt(line);
      |                                          ^~~~
a.cc:11:17: error: 'System' was not declared in this scope
   11 |                 System.out.println(x);
      |                 ^~~~~~
Language: C++

import java.util.Scanner;

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

        int x = scan.nextInt();
        System.out.println(x*x*x);
    }
}

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 <studio.h>

Void main(){
int x,a;
printf("??´??°?????\????????????????????????");
scanf("%d", &x);
a=x*x*x;
printf("%d\n", x);
}

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

#include <studio.h>

Void main(){
int x,a;
printf("??´??°?????\????????????????????????");
scanf("%d", &x);
a=x*x*x;
printf("a=%d\n", a);
}

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

#include <studio.h>

Void main()
{
int x,a;
printf("??´??°?????\????????????????????????");
scanf("%d", &x);
a=x*x*x;
printf("%d\n", x);
}

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

#include <iostream>
using namespace std;

void main(){
    int num << cin;
    cout << cin * cin * cin << endl;       
} 

Compiler output:
a.cc:4:1: error: '::main' must return 'int'
    4 | void main(){
      | ^~~~
a.cc: In function 'int main()':
a.cc:5:13: error: expected initializer before '<<' token
    5 |     int num << cin;
      |             ^~
a.cc:6:17: error: no match for 'operator*' (operand types are 'std::istream' {aka 'std::basic_istream<char>'} and 'std::istream' {aka 'std::basic_istream<char>'})
    6 |     cout << cin * cin * cin << endl;
      |             ~~~ ^ ~~~
      |             |     |
      |             |     basic_istream<[...]>
      |             basic_istream<[...]>
a.cc:6:17: note: candidate: 'operator*(int, int)' (built-in)
    6 |     cout << cin * cin * cin << endl;
      |             ~~~~^~~~~
a.cc:6:17: note:   no known conversion for argument 2 from 'std::istream' {aka 'std::basic_istream<char>'} to 'int'
Language: C++

#include <iostream>
using namespace std;

int main(void){
    int num << cin;
    cout << cin * cin * cin << endl;       
} 

Compiler output:
a.cc: In function 'int main()':
a.cc:5:13: error: expected initializer before '<<' token
    5 |     int num << cin;
      |             ^~
a.cc:6:17: error: no match for 'operator*' (operand types are 'std::istream' {aka 'std::basic_istream<char>'} and 'std::istream' {aka 'std::basic_istream<char>'})
    6 |     cout << cin * cin * cin << endl;
      |             ~~~ ^ ~~~
      |             |     |
      |             |     basic_istream<[...]>
      |             basic_istream<[...]>
a.cc:6:17: note: candidate: 'operator*(int, int)' (built-in)
    6 |     cout << cin * cin * cin << endl;
      |             ~~~~^~~~~
a.cc:6:17: note:   no known conversion for argument 2 from 'std::istream' {aka 'std::basic_istream<char>'} to 'int'
Language: C++

#include <iostream>
using namespace std;

int main(void){
    int num = atoi(cin);
    cout << num * num * num << endl;       
} 

Compiler output:
a.cc: In function 'int main()':
a.cc:5:20: error: cannot convert 'std::istream' {aka 'std::basic_istream<char>'} to 'const char*'
    5 |     int num = atoi(cin);
      |                    ^~~
      |                    |
      |                    std::istream {aka std::basic_istream<char>}
In file included from /usr/include/c++/14/cstdlib:79,
                 from /usr/include/c++/14/ext/string_conversions.h:43,
                 from /usr/include/c++/14/bits/basic_string.h:4154,
                 from /usr/include/c++/14/string:54,
                 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,
                 from a.cc:1:
/usr/include/stdlib.h:105:30: note:   initializing argument 1 of 'int atoi(const char*)'
  105 | extern int atoi (const char *__nptr)
      |                  ~~~~~~~~~~~~^~~~~~
Language: C++

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

int main(void){
    int num = atoi(cin);
    cout << num * num * num << endl;       
} 

Compiler output:
a.cc: In function 'int main()':
a.cc:6:20: error: cannot convert 'std::istream' {aka 'std::basic_istream<char>'} to 'const char*'
    6 |     int num = atoi(cin);
      |                    ^~~
      |                    |
      |                    std::istream {aka std::basic_istream<char>}
In file included from /usr/include/c++/14/cstdlib:79,
                 from /usr/include/c++/14/ext/string_conversions.h:43,
                 from /usr/include/c++/14/bits/basic_string.h:4154,
                 from /usr/include/c++/14/string:54,
                 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,
                 from a.cc:1:
/usr/include/stdlib.h:105:30: note:   initializing argument 1 of 'int atoi(const char*)'
  105 | extern int atoi (const char *__nptr)
      |                  ~~~~~~~~~~~~^~~~~~
Language: C++

#include <iostream>
#include <stdlib.h>
using namespace std;

int main(void){
    int num = atoi(cin);
    cout << num * num * num << endl;       
} 

Compiler output:
a.cc: In function 'int main()':
a.cc:6:20: error: cannot convert 'std::istream' {aka 'std::basic_istream<char>'} to 'const char*'
    6 |     int num = atoi(cin);
      |                    ^~~
      |                    |
      |                    std::istream {aka std::basic_istream<char>}
In file included from /usr/include/c++/14/cstdlib:79,
                 from /usr/include/c++/14/ext/string_conversions.h:43,
                 from /usr/include/c++/14/bits/basic_string.h:4154,
                 from /usr/include/c++/14/string:54,
                 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,
                 from a.cc:1:
/usr/include/stdlib.h:105:30: note:   initializing argument 1 of 'int atoi(const char*)'
  105 | extern int atoi (const char *__nptr)
      |                  ~~~~~~~~~~~~^~~~~~
Language: C++

#include <iostream>
#include <stdlib.h>
using namespace std;

int main(void){
    char str << cin;
    int num = atoi(str);
    cout << num * num * num << endl;       
} 

Compiler output:
a.cc: In function 'int main()':
a.cc:6:14: error: expected initializer before '<<' token
    6 |     char str << cin;
      |              ^~
a.cc:7:20: error: 'str' was not declared in this scope; did you mean 'std'?
    7 |     int num = atoi(str);
      |                    ^~~
      |                    std
Language: C++

#include <iostream>
#include <stdlib.h>
using namespace std;

int main(void){
    int n;
    cin >> n
    cout << n*n*n << endl;       
} 

Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: expected ';' before 'cout'
    7 |     cin >> n
      |             ^
      |             ;
    8 |     cout << n*n*n << endl;
      |     ~~~~
Language: C++

#include <iostream>
usingnamespace std;

int main()
{
    int x;
    cin >>x;
    cout << x * x * x << endl;

    return (0);
}

Compiler output:
a.cc:2:1: error: 'usingnamespace' does not name a type
    2 | usingnamespace std;
      | ^~~~~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:7:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |     cin >>x;
      |     ^~~
      |     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:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     cout << x * x * x << 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:26: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |     cout << x * x * x << 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++

import java.util.Scanner;

class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Scanner stdin = new Scanner(System.in);
		int x = stdin.nextInt();
		System.out.println(Cubic(x));
	}
	
	private static int Cubic(int x)
	{
		return x * x * x;
	}

}

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:8:15: error: expected ':' before 'static'
    8 |         public static void main(String[] args) {
      |               ^~~~~~~
      |               :
a.cc:8:33: error: 'String' has not been declared
    8 |         public static void main(String[] args) {
      |                                 ^~~~~~
a.cc:8:42: error: expected ',' or '...' before 'args'
    8 |         public static void main(String[] args) {
      |                                          ^~~~
a.cc:14:16: error: expected ':' before 'static'
   14 |         private static int Cubic(int x)
      |                ^~~~~~~
      |                :
a.cc:19:2: error: expected ';' after class definition
   19 | }
      |  ^
      |  ;
a.cc: In static member function 'static void Main::main(int*)':
a.cc:9:17: error: 'Scanner' was not declared in this scope
    9 |                 Scanner stdin = new Scanner(System.in);
      |                 ^~~~~~~
a.cc:10:25: error: 'stdin' was not declared in this scope
   10 |                 int x = stdin.nextInt();
      |                         ^~~~~
a.cc:1:1: note: 'stdin' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | import java.util.Scanner;
a.cc:11:17: error: 'System' was not declared in this scope
   11 |                 System.out.println(Cubic(x));
      |                 ^~~~~~
Language: C++

#include <iostream>
using namespace std;

int main(){
	int x;
	cin >> x;
	cout << static_cast<int>(pow(static_cast<float>(x), 3.f)) << endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:34: error: 'pow' was not declared in this scope
    7 |         cout << static_cast<int>(pow(static_cast<float>(x), 3.f)) << endl;
      |                                  ^~~
Language: C++

#include <stdio.h>

int main(){
 int num;
 scanf("%d", &num);
 printf("%d\n" num*num*num);
 return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:15: error: expected ')' before 'num'
    6 |  printf("%d\n" num*num*num);
      |        ~      ^~~~
      |               )
Language: C++

#include <stdio.h>

int main(){
 int num;
 scanf("%d", &num);
 num = num * num * num;
 printf("%d\n" num);
 return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:15: error: expected ')' before 'num'
    7 |  printf("%d\n" num);
      |        ~      ^~~~
      |               )
Language: C++

#include<iostream>
using namespace std;

int main()
{
    cin>>x;
    cout<<x*x*x<<"\n";
    return 0;
}

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

#include <iostream>
using namespace std;

int main() {
        cin >> x;
        x = x*x*x;
        cout << x << endl;
        return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:16: error: 'x' was not declared in this scope
    5 |         cin >> x;
      |                ^
Language: C++

#include <iostream>

using namespase std;

int main() {
int x;
cin >> x;
cout << x*x*xツ　<< endl;
return 0;
}

Compiler output:
a.cc:8:13: error: extended character 　 is not valid in an identifier
    8 | cout << x*x*xツ　<< endl;
      |             ^
a.cc:3:7: error: expected nested-name-specifier before 'namespase'
    3 | using namespase std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:7:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 | cin >> x;
      | ^~~
      | 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:8:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 | cout << x*x*xツ　<< 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:13: error: 'x\U000030c4\U00003000' was not declared in this scope
    8 | cout << x*x*xツ　<< endl;
      |             ^~~~~
a.cc:8:21: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 | cout << x*x*xツ　<< 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++

#include<stdio.h>


int main(){
	char x;
	int X;
	fgets(x,sizeof(x),stdin);
	sscanf(x,"%d", &X);
	printf("%d", X*X*X);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:15: error: invalid conversion from 'char' to 'char*' [-fpermissive]
    7 |         fgets(x,sizeof(x),stdin);
      |               ^
      |               |
      |               char
In file included from a.cc:1:
/usr/include/stdio.h:654:38: note:   initializing argument 1 of 'char* fgets(char*, int, FILE*)'
  654 | extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
      |                     ~~~~~~~~~~~~~~~~~^~~
a.cc:8:16: error: invalid conversion from 'char' to 'const char*' [-fpermissive]
    8 |         sscanf(x,"%d", &X);
      |                ^
      |                |
      |                char
/usr/include/stdio.h:430:43: note:   initializing argument 1 of 'int sscanf(const char*, const char*, ...)'
  430 | extern int sscanf (const char *__restrict __s,
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~
Language: C++

#include<stdio.h>


int main(){
	char x;
	int X;
	fgets(x,sizeof(x),stdin);
	sscanf(x,"%d", &X);
	printf("%d", X*X*X);
        return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:15: error: invalid conversion from 'char' to 'char*' [-fpermissive]
    7 |         fgets(x,sizeof(x),stdin);
      |               ^
      |               |
      |               char
In file included from a.cc:1:
/usr/include/stdio.h:654:38: note:   initializing argument 1 of 'char* fgets(char*, int, FILE*)'
  654 | extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
      |                     ~~~~~~~~~~~~~~~~~^~~
a.cc:8:16: error: invalid conversion from 'char' to 'const char*' [-fpermissive]
    8 |         sscanf(x,"%d", &X);
      |                ^
      |                |
      |                char
/usr/include/stdio.h:430:43: note:   initializing argument 1 of 'int sscanf(const char*, const char*, ...)'
  430 | extern int sscanf (const char *__restrict __s,
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~
Language: C++

#include<iostream>

int main(void){
cin >>int x;
cout <<(x * x * x)<<endl;

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 >>int x;
      | ^~~
      | 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:4:7: error: expected primary-expression before 'int'
    4 | cin >>int x;
      |       ^~~
a.cc:5:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    5 | cout <<(x * x * x)<<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:5:9: error: 'x' was not declared in this scope
    5 | cout <<(x * x * x)<<endl;
      |         ^
a.cc:5:21: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    5 | cout <<(x * x * x)<<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++

#include<iostream>

int main(void){
int x;
cin >>x;
cout <<(x * x * x)<<endl;

return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 | cin >>x;
      | ^~~
      | std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:6:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 | cout <<(x * x * x)<<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:21: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 | cout <<(x * x * x)<<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++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:12: error: unable to find string literal operator 'operator""x' with 'const char [4]', 'long unsigned int' arguments
    6 |     printf("%d\n"x*x*x);
      |            ^~~~~~~
Language: C++

a;main(){scanf("%d",&a);a!=printf("%d",a*a*a);}

Compiler output:
a.cc:1:1: error: 'a' does not name a type
    1 | a;main(){scanf("%d",&a);a!=printf("%d",a*a*a);}
      | ^
a.cc:1:3: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    1 | a;main(){scanf("%d",&a);a!=printf("%d",a*a*a);}
      |   ^~~~
a.cc: In function 'int main()':
a.cc:1:22: error: 'a' was not declared in this scope
    1 | a;main(){scanf("%d",&a);a!=printf("%d",a*a*a);}
      |                      ^
a.cc:1:10: error: 'scanf' was not declared in this scope
    1 | a;main(){scanf("%d",&a);a!=printf("%d",a*a*a);}
      |          ^~~~~
a.cc:1:28: error: 'printf' was not declared in this scope
    1 | a;main(){scanf("%d",&a);a!=printf("%d",a*a*a);}
      |                            ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | a;main(){scanf("%d",&a);a!=printf("%d",a*a*a);}
Language: C++

#include <iostream>
using namespace std;

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

ll x,a;

int main(){
	cin>>x;
	rep(i,x)rep(j,x)rep(k,x)rep(l,x)rep(m,x)rep(n,x)a++;
	cout<<(int)(sqrt(1.0*a)+EPS)<<endl;
}

Compiler output:
a.cc:6:1: error: 'll' does not name a type
    6 | ll x,a;
      | ^~
a.cc: In function 'int main()':
a.cc:9:14: error: 'x' was not declared in this scope
    9 |         cin>>x;
      |              ^
a.cc:10:57: error: 'a' was not declared in this scope
   10 |         rep(i,x)rep(j,x)rep(k,x)rep(l,x)rep(m,x)rep(n,x)a++;
      |                                                         ^
a.cc:11:30: error: 'a' was not declared in this scope
   11 |         cout<<(int)(sqrt(1.0*a)+EPS)<<endl;
      |                              ^
a.cc:11:21: error: 'sqrt' was not declared in this scope
   11 |         cout<<(int)(sqrt(1.0*a)+EPS)<<endl;
      |                     ^~~~
a.cc:11:33: error: 'EPS' was not declared in this scope
   11 |         cout<<(int)(sqrt(1.0*a)+EPS)<<endl;
      |                                 ^~~
Language: C++

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

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

ll x,a;

int main(){
	cin>>x;
	rep(i,x)rep(j,x)rep(k,x)rep(l,x)rep(m,x)rep(n,x)a++;
	cout<<(int)(sqrt(1.0*a)+EPS)<<endl;
}

Compiler output:
a.cc:7:1: error: 'll' does not name a type
    7 | ll x,a;
      | ^~
a.cc: In function 'int main()':
a.cc:10:14: error: 'x' was not declared in this scope
   10 |         cin>>x;
      |              ^
a.cc:11:57: error: 'a' was not declared in this scope
   11 |         rep(i,x)rep(j,x)rep(k,x)rep(l,x)rep(m,x)rep(n,x)a++;
      |                                                         ^
a.cc:12:30: error: 'a' was not declared in this scope
   12 |         cout<<(int)(sqrt(1.0*a)+EPS)<<endl;
      |                              ^
a.cc:12:33: error: 'EPS' was not declared in this scope
   12 |         cout<<(int)(sqrt(1.0*a)+EPS)<<endl;
      |                                 ^~~
Language: C++

#include<iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:16: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
    7 |    cout << n^3 << endl;
      |              ~~^~~~~~~
Language: C++

class Main{
	public static void main(String[] args){
		x=args[0];
		System.out.println(x*x*x);
	}
}

Compiler output:
a.cc:2:15: error: expected ':' before 'static'
    2 |         public static void main(String[] args){
      |               ^~~~~~~
      |               :
a.cc:2:33: error: 'String' has not been declared
    2 |         public static void main(String[] args){
      |                                 ^~~~~~
a.cc:2:42: error: expected ',' or '...' before 'args'
    2 |         public static void main(String[] args){
      |                                          ^~~~
a.cc:6:2: error: expected ';' after class definition
    6 | }
      |  ^
      |  ;
a.cc: In static member function 'static void Main::main(int*)':
a.cc:3:17: error: 'x' was not declared in this scope
    3 |                 x=args[0];
      |                 ^
a.cc:3:19: error: 'args' was not declared in this scope
    3 |                 x=args[0];
      |                   ^~~~
a.cc:4:17: error: 'System' was not declared in this scope
    4 |                 System.out.println(x*x*x);
      |                 ^~~~~~
Language: C++

using System;  

public class P10001{  
       public static void Main(string[] args) {  
               String input = Console.ReadLine();
               int x = Int32.Parse(input);
               Console.WriteLine(x*x*x);
       }
}

Compiler output:
a.cc:1:7: error: expected nested-name-specifier before 'System'
    1 | using System;
      |       ^~~~~~
a.cc:3:1: error: expected unqualified-id before 'public'
    3 | public class P10001{
      | ^~~~~~
Language: C++

#include <iostream>
int main(){
    int a;
    cin >> a;
    int b = a * a * a;
    cout << b << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 |     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:6:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |     cout << 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:6:18: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |     cout << b << 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++

#include<iostream>
using namespace std;

main(){
cin >>x ;

cout << x*x << endl;
}

Compiler output:
a.cc:4:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    4 | main(){
      | ^~~~
a.cc: In function 'int main()':
a.cc:5:7: error: 'x' was not declared in this scope
    5 | cin >>x ;
      |       ^
Language: C++

include<iostream>

using namespace std;

int main(){

int a;

cin>>a;

a*=a;

a*=a;

cout>>a;

}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:9:1: error: 'cin' was not declared in this scope
    9 | cin>>a;
      | ^~~
a.cc:15:1: error: 'cout' was not declared in this scope
   15 | cout>>a;
      | ^~~~
Language: C++

class Main
{
public static void main(String[] args)
{
if(args[0] != null)
{
  int i = Integer.parseInt(args[0]); 
  System.out.println(i * i * i);
}
}


}

Compiler output:
a.cc:3:7: error: expected ':' before 'static'
    3 | public static void main(String[] args)
      |       ^~~~~~~
      |       :
a.cc:3:25: error: 'String' has not been declared
    3 | public static void main(String[] args)
      |                         ^~~~~~
a.cc:3:34: error: expected ',' or '...' before 'args'
    3 | public static void main(String[] args)
      |                                  ^~~~
a.cc:13:2: error: expected ';' after class definition
   13 | }
      |  ^
      |  ;
a.cc: In static member function 'static void Main::main(int*)':
a.cc:5:4: error: 'args' was not declared in this scope
    5 | if(args[0] != null)
      |    ^~~~
a.cc:5:15: error: 'null' was not declared in this scope
    5 | if(args[0] != null)
      |               ^~~~
a.cc:7:11: error: 'Integer' was not declared in this scope
    7 |   int i = Integer.parseInt(args[0]);
      |           ^~~~~~~
a.cc:8:3: error: 'System' was not declared in this scope
    8 |   System.out.println(i * i * i);
      |   ^~~~~~
Language: C++

#include <iostream>
using namespace std;

int main() {
  int x;
  cin >> x;
  cout << x^3 << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:15: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
    7 |   cout << x^3 << endl;
      |             ~~^~~~~~~
Language: C++

#include<stdio.h>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:16: error: invalid operands of types 'const char [3]' and 'int' to binary 'operator&'
    6 |      scanf("%d"&x);
      |            ~~~~^~
      |            |    |
      |            |    int
      |            const char [3]
a.cc:7:13: error: unable to find string literal operator 'operator""x' with 'const char [4]', 'long unsigned int' arguments
    7 |      printf("%d\n"x*x*x);
      |             ^~~~~~~
Language: C++

#include <iostream>
int main(){
  int x;
  cin>>x;
  cout<<x*x*x<<endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 |   cin>>x;
      |   ^~~
      |   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:5:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    5 |   cout<<x*x*x<<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:5:16: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    5 |   cout<<x*x*x<<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++

#include <iostream>
using namespace std;

//10001
int main(){
	cin >> a
	cout << a*a*a <<  endl;
	return 0;
}

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