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

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

void main()
{
    ll n;
    cin >> n;
    cout << n * n * n << endel;
    return;
}


Compiler output:
a.cc:5:1: error: '::main' must return 'int'
    5 | void main()
      | ^~~~
a.cc: In function 'int main()':
a.cc:9:26: error: 'endel' was not declared in this scope
    9 |     cout << n * n * n << endel;
      |                          ^~~~~
a.cc:10:5: error: return-statement with no value, in function returning 'int' [-fpermissive]
   10 |     return;
      |     ^~~~~~
Language: Java

import java.util.Scanner;

public class main
{
	public static void main(String[]args)
	{
		Scanner scn = new Scanner(System.in);
		int ques = scn.nextInt();
		int ans = 1;
		for(int a= 0;a<3;a++)
		{
			ans = ans*ques;
		}
		System.out.println(ans);
	}
}

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

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

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


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

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

int main()
{
	int N = 0;
	scanf_s("%d", &N);
	printf("%d", N*N*N);
	system("PAUSE");
	return 0;
}

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

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

int main()
{
	int N = 0;
	scanf_s("%d", &N);
	printf("%d", N*N*N);
	system("PAUSE");
	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", &N);
      |         ^~~~~~~
      |         scanf
Language: C++

#include<iostream>
using namespace std;
int main()
{
  int n;
  cin>>n;
  cout<<pow(n,3);
}

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

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

int main () {
  int N;
  cin >> N;
  int ans = 1;
  for (int i = 0; i < 3; i++){
    ans *= N;
  }
  cout << ans << endl;
  
  return 0;
}

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

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

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>>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:5:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    5 |   cout<<a*a*a<<endl;
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:5:16: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    5 |   cout<<a*a*a<<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

main(){printf("%.f",pow(getchar()-48,3);}

Compiler output:
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int]
    1 | main(){printf("%.f",pow(getchar()-48,3);}
      | ^~~~
main.c: In function 'main':
main.c:1:8: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    1 | main(){printf("%.f",pow(getchar()-48,3);}
      |        ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | main(){printf("%.f",pow(getchar()-48,3);}
main.c:1:8: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    1 | main(){printf("%.f",pow(getchar()-48,3);}
      |        ^~~~~~
main.c:1:8: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:21: error: implicit declaration of function 'pow' [-Wimplicit-function-declaration]
    1 | main(){printf("%.f",pow(getchar()-48,3);}
      |                     ^~~
main.c:1:1: note: include '<math.h>' or provide a declaration of 'pow'
  +++ |+#include <math.h>
    1 | main(){printf("%.f",pow(getchar()-48,3);}
main.c:1:21: warning: incompatible implicit declaration of built-in function 'pow' [-Wbuiltin-declaration-mismatch]
    1 | main(){printf("%.f",pow(getchar()-48,3);}
      |                     ^~~
main.c:1:21: note: include '<math.h>' or provide a declaration of 'pow'
main.c:1:25: error: implicit declaration of function 'getchar' [-Wimplicit-function-declaration]
    1 | main(){printf("%.f",pow(getchar()-48,3);}
      |                         ^~~~~~~
main.c:1:25: note: 'getchar' is defined in header '<stdio.h>'; this is probably fixable by adding '#include <stdio.h>'
main.c:1:40: error: expected ')' before ';' token
    1 | main(){printf("%.f",pow(getchar()-48,3);}
      |              ~                         ^
      |                                        )
main.c:1:41: error: expected ';' before '}' token
    1 | main(){printf("%.f",pow(getchar()-48,3);}
      |                                         ^
      |                                         ;
Language: C++

#include<bits/stdc++.h>

using namaspace std;

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

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

import java.util.Scanner;

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


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 N;
  cin >> N;
  cout << N*N*N endl;
  return 0;
}

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

#include <iostream>
using namespace std;

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

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

#include <iostream>
using namespace std;

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

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

#include<bits/stdc++.h>
int main(){
int n;
std::cin >>n;
std::cout <<n*n*n<</n;}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:20: error: expected primary-expression before '/' token
    5 | std::cout <<n*n*n<</n;}
      |                    ^
Language: C++

#include<bits/stdc++.h>
int main(){
int n;
std::cin >>n;
std::cout <<n*n*n<<endl;}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:20: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    5 | std::cout <<n*n*n<<endl;}
      |                    ^~~~
      |                    std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127,
                 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<bits/stdc++.h>
int main(){
int n;
cin >>n;
cout <<n*n*n<<endl;}

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 >>n;
      | ^~~
      | std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:5:1: 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:15: 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/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:7:2: error: expected declaration or statement at end of input
    7 |  return 0;
      |  ^~~~~~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:4:7: error: expected expression before '[' token
    4 | int n;[
      |       ^
main.c:7:2: error: expected declaration or statement at end of input
    7 |  return 0;
      |  ^~~~~~
Language: Java

import java.util.Scanner;
public class Main{
  public static void main(String args[]){
    int a = sc.nextInt();
    int[] b = new int[a];
    int[] c = new int[a];
    int[] d = new int[a-1];
    int ans = 0;
    for(int i = 0;i < b.length;i++){
      b[i] = sc.nextInt();
    }
    for(int j = 0;j < c.length;j++){
      c[j] = sc.nextInt();
    }
    for(int x = 0;x < d.length;x++){
      d[x] = sc.nextInt();
    }
    for(int y = 0;y < b.length;y++){
      ans += c[b[y]];
      if(b[y] == b[y+1]+1){
        ans += d[b[y]];
      }
    }  
    System.out.println(ans);
  }
}

Compiler output:
Main.java:4: error: cannot find symbol
    int a = sc.nextInt();
            ^
  symbol:   variable sc
  location: class Main
Main.java:10: error: cannot find symbol
      b[i] = sc.nextInt();
             ^
  symbol:   variable sc
  location: class Main
Main.java:13: error: cannot find symbol
      c[j] = sc.nextInt();
             ^
  symbol:   variable sc
  location: class Main
Main.java:16: error: cannot find symbol
      d[x] = sc.nextInt();
             ^
  symbol:   variable sc
  location: class Main
4 errors
Language: Java

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

Compiler output:
Main.java:5: error: cannot find symbol
    int a = sc.nextInt;
              ^
  symbol:   variable nextInt
  location: variable sc of type Scanner
1 error
Language: Java

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

Compiler output:
Main.java:5: error: ';' expected
    int a = sc nextInt;
              ^
Main.java:5: error: not a statement
    int a = sc nextInt;
               ^
2 errors
Language: C++

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

# define REP(i,n) for (int i=0;i<(n);++i)
# define rep(i,a,b) for(int i=a;i<(b);++i)
# define p(s) std::cout << s ;
# define pl(s)  std::cout << s << endl;
# define printIf(j,s1,s2) cout << (j ? s1 : s2) << endl;
# define YES(j) cout << (j ? "YES" : "NO") << endl;
# define Yes(j) std::cout << (j ? "Yes" : "No") << endl;
# define yes(j) std::cout << (j ? "yes" : "no") << endl;
# define all(v) v.begin(),v.end()
# define showVector(v) REP(i,v.size()){p(v[i]);p(" ")} pl("")
template<class T> inline bool chmin(T &a, T b){ if(a > b) { a = b; return true;} return false;}
template<class T> inline bool chmax(T &a, T b){ if(a < b) { a = b; return true;} return false;}
typedef long long int ll;
typedef pair<ll,ll> P_ii;
typedef pair<double,double> P_dd;

template<class T>
vector<T> make_vec(size_t a){
    return vector<T>(a);
}

template<class T, class... Ts>
auto make_vec(size_t a, Ts... ts){
  return vector<decltype(make_vec<T>(ts...))>(a, make_vec<T>(ts...));
}

template<typename T,typename V>
typename enable_if<is_class<T>::value==0>::type
fill_v(T &t,const V &v){t=v;}

template<typename T,typename V>
typename enable_if<is_class<T>::value!=0>::type
fill_v(T &t,const V &v){
  for(auto &e:t) fill_v(e,v);
}


const int MOD = 1000000007;
const int inf=1e9+7;
const ll longinf=1LL<<60 ;

void addM(long long &a, long long b) {
    a += b;
    if (a >= MOD) a -= MOD;
}

void mulM(long long &a, long long b) {
    a = ((a%MOD)*(b%MOD))%MOD ;
}

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

    int N = (1 << n);

    multiset<int> T;
    vector<int> V(1);

    REP(i, N) {
        int s;
        cin >> s;
        T.insert(s);
        chmax(V[0], s);
    }

    REP(i, n){
        int nv = V.size()
        REP(j, nv){
            auto ite = T.lower_bound(V[j]);
            if(ite == T.begin()){
                cout << "No" << endl;
                return 0;
            }
            ite--;
            W.push_back(*ite);
            T.erase(ite);
        }
    }
    cout << "Yes" << endl;

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:19: error: expected ',' or ';' before 'for'
    4 | # define REP(i,n) for (int i=0;i<(n);++i)
      |                   ^~~
a.cc:72:9: note: in expansion of macro 'REP'
   72 |         REP(j, nv){
      |         ^~~
a.cc:72:13: error: 'j' was not declared in this scope
   72 |         REP(j, nv){
      |             ^
a.cc:4:32: note: in definition of macro 'REP'
    4 | # define REP(i,n) for (int i=0;i<(n);++i)
      |                                ^
Language: C++

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

int main() {
  int n;
  cin >> n;
  cout << pow(n,2) << endl;
  return 0;
}

Compiler output:
a.cc:5:1: error: extended character   is not valid in an identifier
    5 |   int n;
      | ^
a.cc: In function 'int main()':
a.cc:5:1: error: '\U000000a0' was not declared in this scope
    5 |   int n;
      | ^
a.cc:6:10: error: 'n' was not declared in this scope; did you mean 'yn'?
    6 |   cin >> n;
      |          ^
      |          yn
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: invalid type argument of unary '*' (have 'int')
    7 |   cout << a**3 << endl;
      |             ^~
Language: C

#include <stdio.h>

int main(){
  int n,count=0;
  scanf("%d",&n);
  for(int i=0;i<n;i++){
    for(int j=0;j<n;j++){
      for(int z=0;z<n;z++){
        count++;
      }
    }
  }
  printf("%d".count);
}


Compiler output:
main.c: In function 'main':
main.c:13:14: error: request for member 'count' in something not a structure or union
   13 |   printf("%d".count);
      |              ^
Language: Java

public class Main {

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

}


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

#include<bits/stdc++.h>
using namespace std;
int main()
{ int n; cin>>n;(n==1)?cout<<1<<endl:cout<8<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:44: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
    4 | { int n; cin>>n;(n==1)?cout<<1<<endl:cout<8<<endl;
      |                                           ~^~~~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{ int n; cin>>n;(n==1)?cout<<1<<endl:cout<<8<<endl;

Compiler output:
a.cc: In function 'int main()':
a.cc:4:52: error: expected '}' at end of input
    4 | { int n; cin>>n;(n==1)?cout<<1<<endl:cout<<8<<endl;
      | ~                                                  ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{ 
int a; 
cin>>a;
if(n==1)
{ cout<<1<<endl;}
else cout<<8<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:4: error: 'n' was not declared in this scope
    7 | if(n==1)
      |    ^
Language: C++

#define _CRT_SECURE_NO_WARNINGS

#include <cstdio>
#include <algorithm>
#include <cmath>

using namespace std;

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

	return 0;
}

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

#include <bits/stc++.h>

using namespace std;

int N;

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

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

package main

import(
    "fmt"
    "math"
)

func main() {
    var n int
    fmt.Scan(&n)
    fmt.Println(math.Pow(float64(n), float64(3)))
}


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

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

int main(){
    int N;
    cin >> N;
    
    int ans = 0;
    ans = pow(N,3);
    cout << ans endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:16: error: expected ';' before 'endl'
   11 |     cout << ans endl;
      |                ^~~~~
      |                ;
Language: C++

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

int main(){
  int n;
  cin>>n;
  cout<<n!/(n-3)!<<endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:10: error: expected ';' before '!' token
    7 |   cout<<n!/(n-3)!<<endl;
      |          ^
      |          ;
Language: C++

#include <bits/stdc++.h>

using namespace std;

int main{

  int N;
  cin >> N;
  
  cout << pow(N, 3);
  
  return 0;
}

Compiler output:
a.cc:5:5: error: cannot declare '::main' to be a global variable
    5 | int main{
      |     ^~~~
a.cc:7:3: error: expected primary-expression before 'int'
    7 |   int N;
      |   ^~~
a.cc:7:3: error: expected '}' before 'int'
a.cc:5:9: note: to match this '{'
    5 | int main{
      |         ^
a.cc:8:3: error: 'cin' does not name a type
    8 |   cin >> N;
      |   ^~~
a.cc:10:3: error: 'cout' does not name a type
   10 |   cout << pow(N, 3);
      |   ^~~~
a.cc:12:3: error: expected unqualified-id before 'return'
   12 |   return 0;
      |   ^~~~~~
a.cc:13:1: error: expected declaration before '}' token
   13 | }
      | ^
Language: Java

import java.util.*;
public class Main{
	public static void main(String[] args){
	  Scanner sc = new Scanner(System.in);
	  int n = sc.nextInt();
	  for(int i = 0;i<2;i++)n*=n;
	  System.out.println(max);
    }
}

Compiler output:
Main.java:7: error: cannot find symbol
	  System.out.println(max);
	                     ^
  symbol:   variable max
  location: class Main
1 error
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   cin>>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:6:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |   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:6:16: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |   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 <bits/stdc++.h>
using namespace std;

int X;

int main () {
	cin >> X;
	N = X*X*X;
	cout << X << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: 'N' was not declared in this scope
    8 |         N = X*X*X;
      |         ^
Language: Java

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

public class abc140_a {
    public static void main(String[] args) {
        FastReader sc = new FastReader(System.in);
        System.out.println(Math.pow(sc.nextInt(), 2));
    }
    static class FastReader
    {
        BufferedReader br;
        StringTokenizer st;
        public FastReader(InputStream x) {
            br = new BufferedReader(new
                    InputStreamReader(x));

        }

        String next() {
            while (st == null || !st.hasMoreElements()) {
                try {
                    st = new StringTokenizer(br.readLine());
                }
                catch (IOException e)
                {
                    e.printStackTrace();
                }
            }
            return st.nextToken();
        }

        int nextInt()
        {
            return Integer.parseInt(next());
        }

        long nextLong()
        {
            return Long.parseLong(next());
        }

        double nextDouble()
        {
            return Double.parseDouble(next());
        }

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


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

package AtCoder;

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

public class abc140_a {
    public static void main(String[] args) {
        FastReader sc = new FastReader(System.in);
        System.out.println(Math.pow(sc.nextInt(), 2));
    }
    static class FastReader
    {
        BufferedReader br;
        StringTokenizer st;
        public FastReader(InputStream x) {
            br = new BufferedReader(new
                    InputStreamReader(x));

        }

        String next() {
            while (st == null || !st.hasMoreElements()) {
                try {
                    st = new StringTokenizer(br.readLine());
                }
                catch (IOException e)
                {
                    e.printStackTrace();
                }
            }
            return st.nextToken();
        }

        int nextInt()
        {
            return Integer.parseInt(next());
        }

        long nextLong()
        {
            return Long.parseLong(next());
        }

        double nextDouble()
        {
            return Double.parseDouble(next());
        }

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


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

import java.util.*;

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

Compiler output:
Main.java:7: error: cannot find symbol
    System.out.prinltn(N * N * N);
              ^
  symbol:   method prinltn(int)
  location: variable out of type PrintStream
1 error
Language: C++

using namespace std;
#define ll long long



int main() {
	int N; cin >> N;
	
	
	
	// 答え
	cout << pow(N, 3) << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:16: error: 'cin' was not declared in this scope
    7 |         int N; cin >> N;
      |                ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | using namespace std;
a.cc:12:9: error: 'cout' was not declared in this scope
   12 |         cout << pow(N, 3) << endl;
      |         ^~~~
a.cc:12:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:12:17: error: 'pow' was not declared in this scope
   12 |         cout << pow(N, 3) << endl;
      |                 ^~~
a.cc:12:30: error: 'endl' was not declared in this scope
   12 |         cout << pow(N, 3) << endl;
      |                              ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | using namespace std;
Language: C++

#include<bits/stdc++.h>
int main(){
	int a,s=0;
  	scanf("%d", &a);
  	s+=a;
  	for(int i=1;i<3;i++)
    	s*=a;
  	printf("%d", s\n);
  	return 0;
}

Compiler output:
a.cc:8:23: error: stray '\' in program
    8 |         printf("%d", s\n);
      |                       ^
a.cc: In function 'int main()':
a.cc:8:23: error: expected ')' before 'n'
    8 |         printf("%d", s\n);
      |               ~       ^~
      |                       )
Language: C++

#include<iostream>
#include<math>

int main(void){
  int n;
  std::cin >> n;
  std::cout << std::pow(n,3) << std::endl;
}

Compiler output:
a.cc:2:9: fatal error: math: No such file or directory
    2 | #include<math>
      |         ^~~~~~
compilation terminated.
Language: Java


import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner scanner = new Scanner(System.in);
		int s = scanner.nextLine();
		System.out.println(s*s*s);
		}
	}



Compiler output:
Main.java:6: error: incompatible types: String cannot be converted to int
		int s = scanner.nextLine();
		                        ^
1 error
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner scanner = new Scanner(System.in);
		String s = scanner.nextLine();
		System.out.println(s*s*s);
		}
	}

Compiler output:
Main.java:6: error: bad operand types for binary operator '*'
		System.out.println(s*s*s);
		                    ^
  first type:  String
  second type: String
1 error
Language: C++

#include <iostream>

using namespace std;

int n;

int main() {
    cin >> n;

    cout << pow(n, 3);

    return 0;
}

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

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

int main(){
	int n;
	scanf("%d",&n);

	printf("%d\n",(int)pow(n,3));
	return 0;
}

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: invalid type argument of unary '*' (have 'int')
    7 |   cout << a**3 << endl;
      |             ^~
Language: C++

#include <iostream>
using namespace std;

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


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

#include <iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:10: error: 'N' was not declared in this scope
    5 |   cin >> N;
      |          ^
a.cc:6:17: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
    6 |   cout << N ^ 3 << endl;
      |               ~~^~~~~~~
Language: C++

#include<bits/stdc++.h>
//#include<tr1/unordered_map>
#pragma GCC optimize ("Ofast")
#define ll long long
#define pll pair<long long,long long>
#define pii pair<int,int>
#define mp make_pair
#define pb push_back
#define F first
#define S second
#define forn(i, n) for(int i=0; i<int(n); i++)
#define Forn(i, n) for(int i=1; i<=int(n); i++)

using namespace std;

int main()
{
    cin.tie(0); ios_base::sync_with_stdio(false);
    cin >> n;
    cout << n*n*n << endl;
}


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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:15: error: no match for 'operator^' (operand types are 'std::basic_ostream<char>' and 'int')
    6 |      cout << n^3;
      |      ~~~~~~~~~^~
      |           |    |
      |           |    int
      |           std::basic_ostream<char>
a.cc:6:15: note: candidate: 'operator^(int, int)' (built-in)
    6 |      cout << n^3;
      |      ~~~~~~~~~^~
a.cc:6:15: 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: Java

import java.util.Scanner;

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

		int a = sc.nextInt();
		int b = a*a*a;

		System.out.println(b);

    }
}

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

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:
Main.java:3: error: class main is public, should be declared in a file named main.java
public class main{
       ^
1 error
Language: Java

import java.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:
Main.java:4: error: ',', ')', or '[' expected
	public static void main(String[] args{
	                                     ^
1 error
Language: C++

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

using namespace std;

int main(){
  int n;
  cin >> n;
  cout << pow(n, 3) << endl
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:28: error: expected ';' before '}' token
    9 |   cout << pow(n, 3) << endl
      |                            ^
      |                            ;
   10 | }
      | ~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  int n;
  cin >> n;
  cout << power(3, n);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:11: error: 'power' was not declared in this scope
    6 |   cout << power(3, n);
      |           ^~~~~
Language: Java

import java.util.Scanner;

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

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

#include <iostream>
using namespace std;

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

Compiler output:
a.cc:4:1: error: 'Int' does not name a type; did you mean 'int'?
    4 | Int main(){
      | ^~~
      | int
Language: C++

#include<iostream>
using namespace std;
int main()
{
  int n;
  std::cin>>n;
  std::cout<<pow(n,3);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:14: error: 'pow' was not declared in this scope
    7 |   std::cout<<pow(n,3);
      |              ^~~
Language: C++

#include<iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:14: error: invalid type argument of unary '*' (have 'int')
    7 |    cout << 2**n << endl;
      |              ^~
Language: Java

import java.util.*;
 
class Main{
  public static void main(String[] args){
    
    Scanner sc = new Scanner(System.in);
    
    double a = sc.nextDouble();
	double b = 3.0;
    
    System.out.println(Integer.parseInt(Math.pow(a,b)));
    
    sc.close();
  }
}

Compiler output:
Main.java:11: error: incompatible types: double cannot be converted to String
    System.out.println(Integer.parseInt(Math.pow(a,b)));
                                                ^
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
1 error
Language: C

#include <stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:6:30: error: expected ';' before 'return'
    6 |         printf("%d", (N*N)*N)
      |                              ^
      |                              ;
    7 |         return 0;
      |         ~~~~~~
Language: C++

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

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

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

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

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

#include <iostream>
using namespace std;

int main()
{
  int a;
  cin >> a;
  
  cout << pow(3, a);
  
  return 0;
}

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

#include<stdio.h>

int main(void){

int n;
int ans;
scanf("%d",&n)
ans=n*n*n;
printf("%d",ans);


return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:15: error: expected ';' before 'ans'
    7 | scanf("%d",&n)
      |               ^
      |               ;
    8 | ans=n*n*n;
      | ~~~
Language: C++

#include <iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:14: error: invalid type argument of unary '*' (have 'int')
    8 |   cout << N ** N ** N << endl;
      |              ^~~
a.cc:8:19: error: invalid type argument of unary '*' (have 'int')
    8 |   cout << N ** N ** N << endl;
      |                   ^~~
Language: C++

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

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

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

<?php
$ans = fgets(STDIN);
echo $ans*$ans*$ans;

?>

Compiler output:
a.cc:1:1: error: expected unqualified-id before '<' token
    1 | <?php
      | ^
a.cc:3:1: error: 'echo' does not name a type
    3 | echo $ans*$ans*$ans;
      | ^~~~
a.cc:5:1: error: expected unqualified-id before '?' token
    5 | ?>
      | ^
Language: C++

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

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

#include<stdio.h>
int main()
{
	int N;
  pritnf("%d", N*N*N);
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'pritnf' was not declared in this scope; did you mean 'printf'?
    5 |   pritnf("%d", N*N*N);
      |   ^~~~~~
      |   printf
Language: Java

import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        
        System.out.System.out.println(a*a*a);
        
    }
}

Compiler output:
Main.java:10: error: cannot find symbol
        System.out.System.out.println(a*a*a);
                  ^
  symbol:   variable System
  location: variable out of type PrintStream
1 error
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'scanf' was not declared in this scope
    5 |   scanf("%d", &n);
      |   ^~~~~
a.cc:7:3: error: 'printf' was not declared in this scope
    7 |   printf("%d", n*n*n);
      |   ^~~~~~
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: Java

import java.util.*;
pubic class Main{
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();

    if(1<=n && n<=9){
      int m = n*n*n;
      System.out.println(m);
    }
  }
}


Compiler output:
Main.java:2: error: class, interface, enum, or record expected
pubic class Main{
^
1 error
Language: Java

import java.util.*;
pubic class Main{
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int m = 0;

    if(1<=n && n<=9){
      m = n*n*n;
      System.out.println(m);
    }
  }
}


Compiler output:
Main.java:2: error: class, interface, enum, or record expected
pubic class Main{
^
1 error
Language: Java

import java.util.*;
pubic class Main{
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int m = 0;

    m = n*n*n;
    System.out.println(m);

  }
}


Compiler output:
Main.java:2: error: class, interface, enum, or record expected
pubic class Main{
^
1 error
Language: Java

import java.util.*;

public class Password{
  public static void main(String[]args){
    Scanner sc = new Scanner(System.in);
      int n = new java.util.Scanner(System.in).nextInt();
      int a;

      a = n*n*n;
      System.out.println(a);



  }
}


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

import java.util.Scanner;

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

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

#include <bits/stdc++.h>

using namespace std;
int main()
{
    int n;
    cin>>n;
    cout<<(1<<n)<<endl;
    }
    return 0;
}


Compiler output:
a.cc:10:5: error: expected unqualified-id before 'return'
   10 |     return 0;
      |     ^~~~~~
a.cc:11:1: error: expected declaration before '}' token
   11 | }
      | ^
Language: Java

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

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

// ABC140A2.cpp : このファイルには 'main' 関数が含まれています。プログラム実行の開始と終了がそこで行われます。
//

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

using namespace std;	//命令を短くできます
int main()
{
	int N;
	cin >> N;			//データ入力

	int ans = N * N*N;	//何通りあるか計算します
    
	cout << ans<<endl;	// 答えを出力して改行する
}

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: 'prntf' was not declared in this scope; did you mean 'printf'?
    6 |         prntf("%d\n",n*n*n);
      |         ^~~~~
      |         printf
Language: C++

#include <iostream>
using namespace std;
int main () {
  int n;
  cin>>n;
  cout<<pow(n,3);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: 'pow' was not declared in this scope
    6 |   cout<<pow(n,3);
      |         ^~~