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

#include<stdio.h>

int main(){

int x;

printf("Input\n");

scanf("%d", &x);

printf("%d^3 = %d\n"x,x*x*x);

return 0;
}

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

#include "stdafx.h"


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

	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++



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

	return 0;
}

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

#include<stdio.h>

int main(void){

int x;
scanf("%d",&x);
x3 = x * 3;
printf("%d",x3);
return 0;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:1: error: 'x3' was not declared in this scope; did you mean 'x'?
    7 | x3 = x * 3;
      | ^~
      | x
Language: C++

#include<stdio.h>

int main(void){

int x,3x;
scanf("%d",x);
3x = x * 3;

printf("%d",3x);
return 0;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:7: error: expected unqualified-id before numeric constant
    5 | int x,3x;
      |       ^~
a.cc:7:1: error: unable to find numeric literal operator 'operator""x'
    7 | 3x = x * 3;
      | ^~
a.cc:9:13: error: unable to find numeric literal operator 'operator""x'
    9 | printf("%d",3x);
      |             ^~
Language: C++

#include<stdio.h>

int main(void){

int x,xxx;
scanf("%d"&x);
xxx = x * x * x;

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

}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:11: error: invalid operands of types 'const char [3]' and 'int' to binary 'operator&'
    6 | scanf("%d"&x);
      |       ~~~~^~
      |       |    |
      |       |    int
      |       const char [3]
Language: C++

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

public class Main {
	public static void main(String arg[]) {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		System.out.println(x * x * 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:2:1: error: 'import' does not name a type
    2 | import java.util.*;
      | ^~~~~~
a.cc:2:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:4:1: error: expected unqualified-id before 'public'
    4 | public class Main {
      | ^~~~~~
Language: C++

int x;
int ans;

ans = x ^ 3;

printf("%d",ons);

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

int x;
int ans;

scanf("%d",&x);
ans =　pow(x,3);
printf("%d\n",ans);

Compiler output:
a.cc:5:6: error: extended character 　 is not valid in an identifier
    5 | ans =　pow(x,3);
      |      ^
a.cc:4:6: error: expected constructor, destructor, or type conversion before '(' token
    4 | scanf("%d",&x);
      |      ^
a.cc:5:1: error: 'ans' does not name a type
    5 | ans =　pow(x,3);
      | ^~~
a.cc:6:7: error: expected constructor, destructor, or type conversion before '(' token
    6 | printf("%d\n",ans);
      |       ^
Language: C++

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

main(void){
 double x;
 int ans;
 scanf("%lf",&x);
 ans = pow(x,3.0);
 printf("%d\n",ans);
}

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

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

main(void){
 double x;
 int ans;
 scanf("%lf",&x);
 ans = pow(x,3.0);
 printf("%d\n",ans);
}

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

<?php
class AOJ10000 {
    var $x;
    
    public function input() {
        $this->x = trim(file_get_contents("/dev/stdin"));
    }

    public function solve() {
        $x = &$this->x;
        return $x * $x * $x;
    }
    
    public function run() {
        $this->input();
        echo $this->solve()."\n";
    }
}

$instance = new AOJ10000;
$instance->run();

Compiler output:
a.cc:1:1: error: expected unqualified-id before '<' token
    1 | <?php
      | ^
a.cc:20:1: error: '$instance' does not name a type
   20 | $instance = new AOJ10000;
      | ^~~~~~~~~
a.cc:21:1: error: '$instance' does not name a type
   21 | $instance->run();
      | ^~~~~~~~~
Language: C++

#include<iostream>
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:7:12: error: expected '}' at end of input
    7 |   return 0;
      |            ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: C++

#include <stdio.h>
#include <conio.h>
int main (){
	int x = 0;
	int y = 0;
	scanf_s( "%d" , &x);

	y = x * x * x;
	printf( "%d" , y);

	_getch();
	return 0 ;
}

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

#include <stdio.h>

int main (){
	int x = 0;
	int y = 0;

	scanf_s( "%d" , &x);
	y = x * x * x;
	printf( "%d" , y);

	return 0 ;
}

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

#include <stdio.h>

int main (){
	int x = 0;
	int y = 0;

	scanf_s( "%d" , &x);
	y = x ^ 3;
	printf( "%d" , y);

	return 0 ;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
    7 |         scanf_s( "%d" , &x);
      |         ^~~~~~~
      |         scanf
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:5:18: error: expected ';' before 'printf'
    5 |         x = x*x*x
      |                  ^
      |                  ;
    6 |         printf("%d\n",x);
      |         ~~~~~~
Language: C++

#include<stdio.h>
int main(void)
{
	float x,s
	printf("整数を入力\n");
	scanf("%f",&x);
	s=x*x*x;
	printf("三乗の数は%f\n",x);
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: expected initializer before 'printf'
    5 |         printf("整数を入力\n");
      |         ^~~~~~
a.cc:7:9: error: 's' was not declared in this scope
    7 |         s=x*x*x;
      |         ^
Language: C++

#include <iostream>

using namespace std;

int main() 
	cin >> x;
	cout << x;
	return 0;
}

Compiler output:
a.cc:6:9: error: expected initializer before 'cin'
    6 |         cin >> x;
      |         ^~~
a.cc:7:9: error: 'cout' does not name a type
    7 |         cout << x;
      |         ^~~~
a.cc:8:9: error: expected unqualified-id before 'return'
    8 |         return 0;
      |         ^~~~~~
a.cc:9:1: error: expected declaration before '}' token
    9 | }
      | ^
Language: C++

#include "StdAfx.h"
#include <iostream>

using namespace std;

int main() {
	int x = 0;
	cin >> x;
	cout << x;
	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>

using namespace std;

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

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

#include <algorithm>
#include <bitset>
#include <cassert>
#include <cctype>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <vector>

#define EPS 1e-9
#define INF 1070000000LL
#define MOD 1000000007LL
#define fir first
#define foreach(it,X) for(__typeof((X).begin()) it=(X).begin();it!=(X).end();it++)
#define ite iterator
#define mp make_pair
#define rep(i,n) rep2(i,0,n)
#define rep2(i,m,n) for(int i=m;i<(n);i++)
#define pb push_back
#define sec second
#define sz(x) ((int)x.size())

using namespace std;

typedef istringstream iss;
typedef long long ll;
typedef pair<int,int> pi;
typedef stringstream sst;
typedef vector<int> vi;

int array[2][2][2][1<<20];

int main(){
	cin.tie(0);
	ios_base::sync_with_stdio(0);
	int x;
	cin>>x;
	rep(i,2)rep(j,2)rep(k,2)rep(l,1<<20){
		array[i][j][k][l]=1;
	}
	int ans=0;
	for(int i=1;i>=0;i--)for(int j=1;j>=0;j--)for(int k=1;k>=0;k--)for(int l=1<<20;l>=0;l--){
		ans+=array[i][j][k];
	}
	cout<<array-(1<<23)+x*x*x<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:53:17: error: reference to 'array' is ambiguous
   53 |                 array[i][j][k][l]=1;
      |                 ^~~~~
In file included from /usr/include/c++/14/bits/stl_algobase.h:64,
                 from /usr/include/c++/14/algorithm:60,
                 from a.cc:1:
/usr/include/c++/14/bits/stl_pair.h:99:12: note: candidates are: 'template<class _Tp, long unsigned int _Nm> struct std::array'
   99 |     struct array;
      |            ^~~~~
a.cc:45:5: note:                 'int array [2][2][2][1048576]'
   45 | int array[2][2][2][1<<20];
      |     ^~~~~
a.cc:57:22: error: reference to 'array' is ambiguous
   57 |                 ans+=array[i][j][k];
      |                      ^~~~~
/usr/include/c++/14/bits/stl_pair.h:99:12: note: candidates are: 'template<class _Tp, long unsigned int _Nm> struct std::array'
   99 |     struct array;
      |            ^~~~~
a.cc:45:5: note:                 'int array [2][2][2][1048576]'
   45 | int array[2][2][2][1<<20];
      |     ^~~~~
a.cc:59:15: error: reference to 'array' is ambiguous
   59 |         cout<<array-(1<<23)+x*x*x<<endl;
      |               ^~~~~
/usr/include/c++/14/bits/stl_pair.h:99:12: note: candidates are: 'template<class _Tp, long unsigned int _Nm> struct std::array'
   99 |     struct array;
      |            ^~~~~
a.cc:45:5: note:                 'int array [2][2][2][1048576]'
   45 | int array[2][2][2][1<<20];
      |     ^~~~~
Language: C++

#include <iostream>
using namespace std;
int main ()
{
int x;
cin >> x;
cout << x^3 << '\n';
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:10: error: no match for 'operator^' (operand types are 'std::basic_ostream<char>' and 'int')
    7 | cout << x^3 << '\n';
      | ~~~~~~~~~^~~~~~~~~~
      |      |      |
      |      |      int
      |      std::basic_ostream<char>
a.cc:7:10: note: candidate: 'operator^(int, int)' (built-in)
    7 | cout << x^3 << '\n';
      | ~~~~~~~~~^~~~~~~~~~
a.cc:7:10: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'int'
In file included from /usr/include/c++/14/bits/memory_resource.h:38,
                 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,
                 from a.cc:1:
/usr/include/c++/14/cstddef:146:3: note: candidate: 'constexpr std::byte std::operator^(byte, byte)'
  146 |   operator^(byte __l, byte __r) noexcept
      |   ^~~~~~~~
/usr/include/c++/14/cstddef:146:18: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'std::byte'
  146 |   operator^(byte __l, byte __r) noexcept
      |             ~~~~~^~~
/usr/include/c++/14/bits/ios_base.h:94:3: note: candidate: 'constexpr std::_Ios_Fmtflags std::operator^(_Ios_Fmtflags, _Ios_Fmtflags)'
   94 |   operator^(_Ios_Fmtflags __a, _Ios_Fmtflags __b) _GLIBCXX_NOTHROW
      |   ^~~~~~~~
/usr/include/c++/14/bits/ios_base.h:94:27: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'std::_Ios_Fmtflags'
   94 |   operator^(_Ios_Fmtflags __a, _Ios_Fmtflags __b) _GLIBCXX_NOTHROW
      |             ~~~~~~~~~~~~~~^~~
/usr/include/c++/14/bits/ios_base.h:144:3: note: candidate: 'constexpr std::_Ios_Openmode std::operator^(_Ios_Openmode, _Ios_Openmode)'
  144 |   operator^(_Ios_Openmode __a, _Ios_Openmode __b) _GLIBCXX_NOTHROW
      |   ^~~~~~~~
/usr/include/c++/14/bits/ios_base.h:144:27: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'std::_Ios_Openmode'
  144 |   operator^(_Ios_Openmode __a, _Ios_Openmode __b) _GLIBCXX_NOTHROW
      |             ~~~~~~~~~~~~~~^~~
/usr/include/c++/14/bits/ios_base.h:191:3: note: candidate: 'constexpr std::_Ios_Iostate std::operator^(_Ios_Iostate, _Ios_Iostate)'
  191 |   operator^(_Ios_Iostate __a, _Ios_Iostate __b) _GLIBCXX_NOTHROW
      |   ^~~~~~~~
/usr/include/c++/14/bits/ios_base.h:191:26: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'std::_Ios_Iostate'
  191 |   operator^(_Ios_Iostate __a, _Ios_Iostate __b) _GLIBCXX_NOTHROW
      |             ~~~~~~~~~~~~~^~~
Language: C++

include <iostream>
using namespace std ;

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

cout << x*x*x << endl ;

return 0 ;
}

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

#include<cstdio>
int main(){
  int i;
  scanf("%d, &i);
  printf("%d\n", i*i*i);
  return 0;
}

Compiler output:
a.cc:4:9: warning: missing terminating " character
    4 |   scanf("%d, &i);
      |         ^
a.cc:4:9: error: missing terminating " character
    4 |   scanf("%d, &i);
      |         ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:5:24: error: expected ')' before ';' token
    5 |   printf("%d\n", i*i*i);
      |                        ^
      |                        )
a.cc:4:8: note: to match this '('
    4 |   scanf("%d, &i);
      |        ^
Language: C++

#include <math.h>

int main(int x){
	return (int)pow(x, 3)
}

Compiler output:
a.cc:3:5: warning: 'int main(int)' takes only zero or two arguments [-Wmain]
    3 | int main(int x){
      |     ^~~~
a.cc: In function 'int main(int)':
a.cc:4:30: error: expected ';' before '}' token
    4 |         return (int)pow(x, 3)
      |                              ^
      |                              ;
    5 | }
      | ~
Language: C++

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

int main(int y, char *argv[]){
	int a = atoi(argv[1]);
	int ans = (int)pow(a, 3);
	return ans;
}

Compiler output:
a.cc: In function 'int main(int, char**)':
a.cc:6:24: error: 'pow' was not declared in this scope
    6 |         int ans = (int)pow(a, 3);
      |                        ^~~
Language: C++

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

int main(int y, char *argv[]){
	int a = atoi(argv[1]);
	int ans = (int)pow(a, 3);
	std::cout<<ans<<endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main(int, char**)':
a.cc:8:25: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |         std::cout<<ans<<endl;
      |                         ^~~~
      |                         std::endl
In file included from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

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

using namespace std;

int main(){
	scanf("%d", &x);
	int ans = (int)pow(x, 3);
	printf("%d\n", ans);
	return 0;
}

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

#include<stdio.h>
 
int main(int argc, char* argv[])
{
    int n = 0;
    char line[256];
 
    gets(line);
    n = atoi(line);
 
    printf("%d\n", n*n*n);
}

Compiler output:
a.cc: In function 'int main(int, char**)':
a.cc:8:5: error: 'gets' was not declared in this scope; did you mean 'getw'?
    8 |     gets(line);
      |     ^~~~
      |     getw
a.cc:9:9: error: 'atoi' was not declared in this scope
    9 |     n = atoi(line);
      |         ^~~~
Language: C++


import java.util.*;

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

}

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

import java.util.scanner;
public class Main {
	public static void main(String[] args) {
		int x;
		Scanner n = new Scanner(System.in);
		x = n.nextInt();
		System.out.print(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:2:1: error: expected unqualified-id before 'public'
    2 | public class Main {
      | ^~~~~~
Language: C++

#include <iostream>

int main(int argc, char** argv) {
    cin.tie(0);
	ios::sync_with_stdio(false);

    int x;
    std::cin >> x;
    
    std::cout << x * x * x << std::endl;
    
    return 0;
}

Compiler output:
a.cc: In function 'int main(int, char**)':
a.cc:4:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 |     cin.tie(0);
      |     ^~~
      |     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: 'ios' has not been declared
    5 |         ios::sync_with_stdio(false);
      |         ^~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:3:5: error: 'cin' was not declared in this scope
    3 |     cin>>x;
      |     ^~~
a.cc:4:5: error: 'cout' was not declared in this scope
    4 |     cout << x*x*x << endl;
      |     ^~~~
a.cc:4:22: error: 'endl' was not declared in this scope
    4 |     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();
		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:2:1: error: expected unqualified-id before 'public'
    2 | public class Main {
      | ^~~~~~
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:23: error: no matching function for call to 'pow(int&)'
    7 |      printf("%d\n",pow(n));
      |                    ~~~^~~
In file included from /usr/include/c++/14/math.h:36,
                 from a.cc:2:
/usr/include/c++/14/cmath:1074:5: note: candidate: 'template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up)'
 1074 |     pow(_Tp __x, _Up __y)
      |     ^~~
/usr/include/c++/14/cmath:1074:5: note:   candidate expects 2 arguments, 1 provided
In file included from /usr/include/features.h:523,
                 from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:28,
                 from a.cc:1:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:173:1: note: candidate: 'double pow(double, double)'
  173 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:173:1: note:   candidate expects 2 arguments, 1 provided
/usr/include/c++/14/cmath:380:3: note: candidate: 'constexpr long double std::pow(long double, long double)'
  380 |   pow(long double __x, long double __y)
      |   ^~~
/usr/include/c++/14/cmath:380:3: note:   candidate expects 2 arguments, 1 provided
/usr/include/c++/14/cmath:376:3: note: candidate: 'constexpr float std::pow(float, float)'
  376 |   pow(float __x, float __y)
      |   ^~~
/usr/include/c++/14/cmath:376:3: note:   candidate expects 2 arguments, 1 provided
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:28: error: no matching function for call to 'pow(int&)'
    7 |      printf("%d\n",(int)pow(n));
      |                         ~~~^~~
In file included from /usr/include/c++/14/math.h:36,
                 from a.cc:2:
/usr/include/c++/14/cmath:1074:5: note: candidate: 'template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up)'
 1074 |     pow(_Tp __x, _Up __y)
      |     ^~~
/usr/include/c++/14/cmath:1074:5: note:   candidate expects 2 arguments, 1 provided
In file included from /usr/include/features.h:523,
                 from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:28,
                 from a.cc:1:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:173:1: note: candidate: 'double pow(double, double)'
  173 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:173:1: note:   candidate expects 2 arguments, 1 provided
/usr/include/c++/14/cmath:380:3: note: candidate: 'constexpr long double std::pow(long double, long double)'
  380 |   pow(long double __x, long double __y)
      |   ^~~
/usr/include/c++/14/cmath:380:3: note:   candidate expects 2 arguments, 1 provided
/usr/include/c++/14/cmath:376:3: note: candidate: 'constexpr float std::pow(float, float)'
  376 |   pow(float __x, float __y)
      |   ^~~
/usr/include/c++/14/cmath:376:3: note:   candidate expects 2 arguments, 1 provided
Language: C++

public class MAIN {
	public static void main(String[] args) {
		int x;
		Scanner sc = new Scanner(System.in);
		x = sc.nextInt();	
		System.out.println((int)Math.pow(x, 3));
	}
}

Compiler output:
a.cc:1:1: error: expected unqualified-id before 'public'
    1 | public class MAIN {
      | ^~~~~~
Language: C++

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

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

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

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

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

Compiler output:
a.cc:1:1: error: expected unqualified-id before 'public'
    1 | public static void main(String[] args)
      | ^~~~~~
Language: C++

/* sanjo */

#include<stdio.h>

int main()
{
   int seisu;

   scanf("%d", &seisu);
   printf("%d\n", seisu*seisu*seisu);

   return 0;

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

#include <stdio.h>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:17: error: expected ';' before 'rez'
    5 | scanf("%d",&str)
      |                 ^
      |                 ;
    6 | rez = str * str* str;
      | ~~~
Language: C++

#include <stdio.h>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:17: error: expected ';' before 'rez'
    5 | scanf("%d",&str)
      |                 ^
      |                 ;
    6 | rez = str * str* str;
      | ~~~
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:8:12: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
    8 |   cout<<x^3<<endl;
      |           ~^~~~~~
Language: C++

#include<iostream>
using namespace std;

int main(){

              int x;
              cin >> x;
              
              x = x*x*x
              cout << x << endl;

              return 0;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:24: error: expected ';' before 'cout'
    9 |               x = x*x*x
      |                        ^
      |                        ;
   10 |               cout << x << endl;
      |               ~~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:30: error: expected ';' before ')' token
    5 |    std::cout << (num*num*num)) << std::endl;
      |                              ^
      |                              ;
Language: C++

#include<stdio.h>
int main(void)
{
	int x,y;
	printf("xの３乗?");
	scanf("%d,&x);
	y=x*3;
	printf("xの３乗は%dです。\n",y);
	return 0;
}

Compiler output:
a.cc:6:15: warning: missing terminating " character
    6 |         scanf("%d,&x);
      |               ^
a.cc:6:15: error: missing terminating " character
    6 |         scanf("%d,&x);
      |               ^~~~~~~~
a.cc: In function 'int main()':
a.cc:7:14: error: expected ')' before ';' token
    7 |         y=x*3;
      |              ^
      |              )
a.cc:6:14: note: to match this '('
    6 |         scanf("%d,&x);
      |              ^
Language: C++

#include <iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:33: error: expected '}' at end of input
    8 |     cout << num*num*num << endl;
      |                                 ^
a.cc:5:1: note: to match this '{'
    5 | {
      | ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:21: error: 'b9' was not declared in this scope; did you mean 'b'?
   10 |         printf("%d",b9);
      |                     ^~
      |                     b
Language: C++

#include<iostream>

int main(){
int x;
cin >> x;
x=x*x*x;
cout<<x;
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:7:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 | cout<<x;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include<iostream>
using namespace std;
int main(){
int x;
cin >> x;
x=x*x*x;
cout<<x<<\n;

return 0;
}

Compiler output:
a.cc:7:10: error: stray '\' in program
    7 | cout<<x<<\n;
      |          ^
a.cc: In function 'int main()':
a.cc:7:11: error: 'n' was not declared in this scope
    7 | cout<<x<<\n;
      |           ^
Language: C++

#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <stack>
#include <queue>
#include <set>
#include <map>
#include <numeric>
#include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cctype>
#include <cmath>
#include <cassert>
#include <cstdarg>
#include <sys/time.h>
#include <fstream>
//#include "cout.h"

using namespace std;

#define SZ(x) ((int)x.size())
#define MSET(x,a) memset(x, a, (int)sizeof(x))
#define PB push_back
#define VI vector < int >
#define PII pair < int, int >
#define LL long long
#define FOR(i,a,b) for (int i = (a); i < (b); i++)
#define REP(i,n) FOR(i,0,n)
#define ALL(v) (v).begin(), (v).end()
#define FIT(it,v) for (typeof((v).begin()) it = (v).begin(); it != (v).end(); it++)
#define OUT(A) cout << #A << " = "<< (A) << endl
#define OUT2(A, B) cout << "(" << #A << ", " << #B << ") = (" << (A) << ", "<< (B) << ")" << endl
template<class T> void chmin(T &t, T f) { if (t > f) t = f; } 
template<class T> void chmax(T &t, T f) { if (t < f) t = f; } 

#define present(c, e) ((c).find((e)) != (c).end())
#define cpresent(c, e) (find(all(c), (e)) != (c).end())

LL x;

void init() {
}

void input() {
	cin >> x;
}

void solve() {
	cout << x*x*x << endl
}

int main() {
	init();
    input();
    solve();
	return 0;
}

Compiler output:
a.cc: In function 'void solve()':
a.cc:52:30: error: expected ';' before '}' token
   52 |         cout << x*x*x << endl
      |                              ^
      |                              ;
   53 | }
      | ~
Language: C++

program func;
{$AppType Console} uses SysUtils;
function my_func(x:integer):Integer;
begin
     my_func := x*x*x;
end;
var
  n: integer;
begin
  write('整数を入力してください：');
  readln(n);
  writeln(n,'の3乗は',my_func(n),'です．');
  readln;
end.

Compiler output:
a.cc:10:9: warning: multi-character literal with 36 characters exceeds 'int' size of 4 bytes
   10 |   write('整数を入力してください：');
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:12:13: warning: multi-character literal with 10 characters exceeds 'int' size of 4 bytes
   12 |   writeln(n,'の3乗は',my_func(n),'です．');
      |             ^~~~~~~~~
a.cc:12:34: warning: multi-character literal with 9 characters exceeds 'int' size of 4 bytes
   12 |   writeln(n,'の3乗は',my_func(n),'です．');
      |                                  ^~~~~~~~
a.cc:1:1: error: 'program' does not name a type
    1 | program func;
      | ^~~~~~~
a.cc:2:1: error: expected unqualified-id before '{' token
    2 | {$AppType Console} uses SysUtils;
      | ^
a.cc:2:20: error: 'uses' does not name a type
    2 | {$AppType Console} uses SysUtils;
      |                    ^~~~
a.cc:3:1: error: 'function' does not name a type; did you mean 'union'?
    3 | function my_func(x:integer):Integer;
      | ^~~~~~~~
      | union
a.cc:4:1: error: 'begin' does not name a type
    4 | begin
      | ^~~~~
a.cc:6:1: error: 'end' does not name a type
    6 | end;
      | ^~~
a.cc:7:1: error: 'var' does not name a type
    7 | var
      | ^~~
a.cc:9:1: error: 'begin' does not name a type
    9 | begin
      | ^~~~~
a.cc:11:9: error: expected constructor, destructor, or type conversion before '(' token
   11 |   readln(n);
      |         ^
a.cc:12:10: error: expected constructor, destructor, or type conversion before '(' token
   12 |   writeln(n,'の3乗は',my_func(n),'です．');
      |          ^
a.cc:13:3: error: 'readln' does not name a type
   13 |   readln;
      |   ^~~~~~
a.cc:14:1: error: 'end' does not name a type
   14 | end.
      | ^~~
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:8:10: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
    8 | cout<<x^3<<endl;
      |         ~^~~~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:2:22: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    2 | int main(void){int a;cin>>a;cout<<a*a*a<<endl;return 0;}
      |                      ^~~
      |                      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:2:29: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    2 | int main(void){int a;cin>>a;cout<<a*a*a<<endl;return 0;}
      |                             ^~~~
      |                             std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:2:42: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    2 | int main(void){int a;cin>>a;cout<<a*a*a<<endl;return 0;}
      |                                          ^~~~
      |                                          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;
int main()
{
 cin >> int x; >> endl;
 cou << x << endl;
 return 0;
} 

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: expected primary-expression before 'int'
    5 |  cin >> int x; >> endl;
      |         ^~~
a.cc:5:16: error: expected primary-expression before '>>' token
    5 |  cin >> int x; >> endl;
      |                ^~
a.cc:6:2: error: 'cou' was not declared in this scope
    6 |  cou << x << endl;
      |  ^~~
a.cc:6:9: error: 'x' was not declared in this scope
    6 |  cou << x << endl;
      |         ^
Language: C++

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

int main{
        int i = 0;
        cin >> i;
        cout << i * 3 << endl;
}

Compiler output:
a.cc:4:5: error: cannot declare '::main' to be a global variable
    4 | int main{
      |     ^~~~
a.cc:5:9: error: expected primary-expression before 'int'
    5 |         int i = 0;
      |         ^~~
a.cc:5:9: error: expected '}' before 'int'
a.cc:4:9: note: to match this '{'
    4 | int main{
      |         ^
a.cc:6:9: error: 'cin' does not name a type
    6 |         cin >> i;
      |         ^~~
a.cc:7:9: error: 'cout' does not name a type
    7 |         cout << i * 3 << endl;
      |         ^~~~
a.cc:8:1: error: expected declaration before '}' token
    8 | }
      | ^
Language: C++

#include <iostream>

int main(){
        int i = 0;
        cin << i;
        cout << i * 3 << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |         cin << i;
      |         ^~~
      |         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:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |         cout << i * 3 << 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:26: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |         cout << i * 3 << 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 i = 0;
        cin >> i;
        cout << i * 3 << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |         cin >> i;
      |         ^~~
      |         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:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |         cout << i * 3 << 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:26: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |         cout << i * 3 << 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 i = 0;
        cin >> i;
        cout << i * 3 << endl;
    return 0;
}

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


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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:9: error: expected initializer before 'cin'
    9 |         cin>>x;
      |         ^~~
a.cc:10:15: error: 'x' was not declared in this scope
   10 |         cout<<x*x*x<<endl;
      |               ^
Language: C++

#include<iostream>
using namespace std;

int main(){

 int no;
 cin >> no;
 cout<< no*no*no\n;
 
 return(0);

}

Compiler output:
a.cc:8:17: error: stray '\' in program
    8 |  cout<< no*no*no\n;
      |                 ^
a.cc: In function 'int main()':
a.cc:8:17: error: expected ';' before 'n'
    8 |  cout<< no*no*no\n;
      |                 ^~
      |                 ;
Language: C++

#include<iostream>
using namespace std;

int main(){
 int no;
 cin >> no;
 cout<< no*no*no;
 
 return0;

}

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

#include <stdio.h>
int main()
{
    int x;

    scanf("%d"&x);
    x=x*x*x;

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

rturn 0;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:15: error: invalid operands of types 'const char [3]' and 'int' to binary 'operator&'
    6 |     scanf("%d"&x);
      |           ~~~~^~
      |           |    |
      |           |    int
      |           const char [3]
a.cc:11:1: error: 'rturn' was not declared in this scope
   11 | rturn 0;
      | ^~~~~
Language: C++

#include <stdio.h>
int main()
{
    int x;
    int s;

    scanf("%d"&x);
    s=x*x*x;

    printf("%d\n",s);

rturn 0;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:15: error: invalid operands of types 'const char [3]' and 'int' to binary 'operator&'
    7 |     scanf("%d"&x);
      |           ~~~~^~
      |           |    |
      |           |    int
      |           const char [3]
a.cc:12:1: error: 'rturn' was not declared in this scope
   12 | rturn 0;
      | ^~~~~
Language: C++

#include <stdio.h>
int main()
{
    int x;

    scanf("%d"&x);
    x*x*x;

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

rturn 0;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:15: error: invalid operands of types 'const char [3]' and 'int' to binary 'operator&'
    6 |     scanf("%d"&x);
      |           ~~~~^~
      |           |    |
      |           |    int
      |           const char [3]
a.cc:11:1: error: 'rturn' was not declared in this scope
   11 | rturn 0;
      | ^~~~~
Language: C++

#include <stdio.h>
int main()
{
    int x;

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

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

rturn 0;

}

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

#include<iostream>
using namespace std;

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

Compiler output:
a.cc:7:21: error: stray '\' in program
    7 |         cout <<x*x*x\n;
      |                     ^
a.cc: In function 'int main()':
a.cc:7:21: error: expected ';' before 'n'
    7 |         cout <<x*x*x\n;
      |                     ^~
      |                     ;
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:12: error: invalid operands of types 'const char [4]' and 'int' to binary 'operator&'
    4 | scanf("%d,"&x);
      |       ~~~~~^~
      |       |     |
      |       |     int
      |       const char [4]
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:11: error: invalid operands of types 'const char [3]' and 'int' to binary 'operator&'
    4 | scanf("%d"&x);
      |       ~~~~^~
      |       |    |
      |       |    int
      |       const char [3]
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:12: error: invalid operands of types 'const char [4]' and 'int' to binary 'operator&'
    4 | scanf("%d,"&x);
      |       ~~~~~^~
      |       |     |
      |       |     int
      |       const char [4]
Language: C++

#include <iostream>
using namespace std;

int x, y;

int main()
    cin >> x;
    y = x*x*x;
    cout << y;
}

Compiler output:
a.cc:7:5: error: expected initializer before 'cin'
    7 |     cin >> x;
      |     ^~~
a.cc:8:5: error: 'y' does not name a type
    8 |     y = x*x*x;
      |     ^
a.cc:9:5: error: 'cout' does not name a type
    9 |     cout << y;
      |     ^~~~
a.cc:10:1: error: expected declaration before '}' token
   10 | }
      | ^
Language: C++

int main(void){
    double x;
    scanf("%lf",&x);
    printf("%f\n",pow(x,3.0));
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:3:5: error: 'scanf' was not declared in this scope
    3 |     scanf("%lf",&x);
      |     ^~~~~
a.cc:4:19: error: 'pow' was not declared in this scope
    4 |     printf("%f\n",pow(x,3.0));
      |                   ^~~
a.cc:4:5: error: 'printf' was not declared in this scope
    4 |     printf("%f\n",pow(x,3.0));
      |     ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(void){
Language: C++

#include <iostream>
#include <boost/format.hpp>

int main() {
  int x;
  
  std::cin >> x;
  std::cout << boost::format("%1%") % (x*x*x) << std::endl;
  
  return 0;
}

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

#include <iostream>
using namespace std

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

Compiler output:
a.cc:2:20: error: expected ';' before 'int'
    2 | using namespace std
      |                    ^
      |                    ;
    3 | 
    4 | int main () {
      | ~~~                 
a.cc: In function 'int main()':
a.cc:8:23: error: expected '}' at end of input
    8 |     cout << x << endl;
      |                       ^
a.cc:4:13: note: to match this '{'
    4 | int main () {
      |             ^
Language: C++

#include <iostream>
using namespace std
int main() {
    int input;
    cin>>input;
    int x = input*input*input;
    cout << x << endl;

Compiler output:
a.cc:2:20: error: expected ';' before 'int'
    2 | using namespace std
      |                    ^
      |                    ;
    3 | int main() {
      | ~~~                 
a.cc: In function 'int main()':
a.cc:7:23: error: expected '}' at end of input
    7 |     cout << x << endl;
      |                       ^
a.cc:3:12: note: to match this '{'
    3 | int main() {
      |            ^
Language: C++

#include <iostream>
using namespace std

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

    return 0;
}

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

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

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

#include <iostream>
using namespace std;

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

Compiler output:
a.cc:7:1: error: extended character 　 is not valid in an identifier
    7 | 　　cin >> n;
      | ^
a.cc:7:1: error: extended character 　 is not valid in an identifier
a.cc:8:1: error: extended character 　 is not valid in an identifier
    8 | 　　cout << n*n*n << endl;
      | ^
a.cc:8:1: error: extended character 　 is not valid in an identifier
a.cc: In function 'int main()':
a.cc:7:1: error: '\U00003000\U00003000cin' was not declared in this scope
    7 | 　　cin >> n;
      | ^~~~~~~
a.cc:8:1: error: '\U00003000\U00003000cout' was not declared in this scope
    8 | 　　cout << n*n*n << endl;
      | ^~~~~~~~
Language: C++

#include<iostream>
using namespace std;
int main()
{
cin >> x;
cout << x^3 << "\n";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:8: error: 'x' was not declared in this scope
    5 | cin >> x;
      |        ^
a.cc:6:13: error: invalid operands of types 'int' and 'const char [2]' to binary 'operator<<'
    6 | cout << x^3 << "\n";
      |           ~ ^~ ~~~~
      |           |    |
      |           int  const char [2]
Language: C++

#include<iostream>
using namespace std;
int main()
{
int x;
cin >> x;
cout << x^3 << "\n";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: invalid operands of types 'int' and 'const char [2]' to binary 'operator<<'
    7 | cout << x^3 << "\n";
      |           ~ ^~ ~~~~
      |           |    |
      |           int  const char [2]