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

#include <iostream>
int main(){
int x;
std::cin>>x;
std::cout<<x^3<<std::endl;
}

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

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

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

int x;

y = 2*a - b/c;

scanf("%d", &x);

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

cin >> x;

cout << x;

Compiler output:
a.cc:3:1: error: 'y' does not name a type
    3 | y = 2*a - b/c;
      | ^
a.cc:5:6: error: expected constructor, destructor, or type conversion before '(' token
    5 | scanf("%d", &x);
      |      ^
a.cc:7:7: error: expected constructor, destructor, or type conversion before '(' token
    7 | printf("%d\n", x);
      |       ^
a.cc:9:1: error: 'cin' does not name a type
    9 | cin >> x;
      | ^~~
a.cc:11:1: error: 'cout' does not name a type
   11 | cout << x;
      | ^~~~
Language: C++

int x;

x = x^3;

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

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

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

Compiler output:
a.cc:3:7: error: expected nested-name-specifier before 'nsmespace'
    3 | using nsmespace std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 | cin >>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*x*x<<endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:7:15: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 | cout <<x*x*x<<endl;
      |               ^~~~
      |               std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

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

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

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

Compiler output:
a.cc:2:2: error: invalid preprocessing directive #inclide; did you mean #include?
    2 | #inclide<string>
      |  ^~~~~~~
      |  include
Language: C++

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 | cin>>x;
      | ^~~
      | std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:6:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 | cout<<x*x*x<<endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:6:14: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 | cout<<x*x*x<<endl;
      |              ^~~~
      |              std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

using System;

class Program
{
	static void Main()
	{
		int x=int.Parse(Console.ReadLine());
		Console.WriteLine(x*x*x);
	}
}

Compiler output:
a.cc:1:7: error: expected nested-name-specifier before 'System'
    1 | using System;
      |       ^~~~~~
a.cc:10:2: error: expected ';' after class definition
   10 | }
      |  ^
      |  ;
a.cc: In static member function 'static void Program::Main()':
a.cc:7:23: error: expected primary-expression before 'int'
    7 |                 int x=int.Parse(Console.ReadLine());
      |                       ^~~
a.cc:8:17: error: 'Console' was not declared in this scope
    8 |                 Console.WriteLine(x*x*x);
      |                 ^~~~~~~
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:6:14: error: expected ';' before 'printf'
    6 |     x = x*x*x
      |              ^
      |              ;
    7 |     printf("%d\n",x);
      |     ~~~~~~
Language: C++

#include <iostream>

int main() {

	const int x;
	const int num = x ^ 3 
	std::cout << num << std::endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:19: error: uninitialized 'const x' [-fpermissive]
    5 |         const int x;
      |                   ^
a.cc:7:9: error: expected ',' or ';' before 'std'
    7 |         std::cout << num << std::endl;
      |         ^~~
Language: C++

#include <iostream>

int main() {
	const int x = 0;
	cin >> x;
	const int num = x * x * x ;
	std::cout << num << std::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 >> 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
      |                  ^~~
Language: C++

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

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

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

using namespace std;

int main(){
  int x, cubic;
  scanf("%d", &x);
  cubic = x*x*x;
  
  return cubic;
}

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

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

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

#include <iostream>

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

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

using System;

class Test{
  static void Main(){
    int x = int.Parse(Console.ReadLine());
    Console.WriteLine(x * x * x);
  }
}

Compiler output:
a.cc:1:7: error: expected nested-name-specifier before 'System'
    1 | using System;
      |       ^~~~~~
a.cc:8:2: error: expected ';' after class definition
    8 | }
      |  ^
      |  ;
a.cc: In static member function 'static void Test::Main()':
a.cc:5:13: error: expected primary-expression before 'int'
    5 |     int x = int.Parse(Console.ReadLine());
      |             ^~~
a.cc:6:5: error: 'Console' was not declared in this scope
    6 |     Console.WriteLine(x * x * x);
      |     ^~~~~~~
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:8:11: error: expected ';' before 'printf'
    8 |    x=x*x*x
      |           ^
      |           ;
    9 |    printf("%d\n",x);
      |    ~~~~~~
Language: C++

#include<iostream>
using namespace() {
int main() {
   int x;
   cin >> x;
   cout << x*x*x <<endl; // bug
}

Compiler output:
a.cc:2:16: error: expected identifier before '(' token
    2 | using namespace() {
      |                ^
a.cc:2:16: error: expected ';' before '(' token
    2 | using namespace() {
      |                ^
      |                ;
a.cc:2:17: error: expected unqualified-id before ')' token
    2 | using namespace() {
      |                 ^
Language: C++

#include<stdafx.h>
#include <stdio.h>
#include <tchar.h>
#include<iomanip>
#include<iostream>
#define _USE_MATH_DEFINES
#include<math.h>
#include<cmath>
#include<algorithm>
#include<string>
#include<cctype>
#include<vector>
#include<queue>
using namespace std;
#define rep(n) for(int i=0;i<n;i++)
#define reps(m,n,c) for(int c=m;c<n;c++)
#define repd(m,n,j) for(int j=n;j>m;j--)
#define oR ||
#define anD &&
#define max(m,n) ((n<m)?m:n)
#define min(m,n) ((n>m)?m:n)

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

}

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


#include <stdio.h>
#include <tchar.h>
#include<iomanip>
#include<iostream>
#define _USE_MATH_DEFINES
#include<math.h>
#include<cmath>
#include<algorithm>
#include<string>
#include<cctype>
#include<vector>
#include<queue>
using namespace std;
#define rep(n) for(int i=0;i<n;i++)
#define reps(m,n,c) for(int c=m;c<n;c++)
#define repd(m,n,j) for(int j=n;j>m;j--)
#define oR ||
#define anD &&
#define max(m,n) ((n<m)?m:n)
#define min(m,n) ((n>m)?m:n)

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

}

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

#include <iostream>
using namespace std;

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:25: error: expected '}' at end of input
    5 |   printf("%d\n", x*x*x);
      |                         ^
a.cc:2:11: note: to match this '{'
    2 | int main(){
      |           ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:11: error: expected ';' before '}' token
    6 |   return 0
      |           ^
      |           ;
    7 | }
      | ~
Language: C++

#include <iostream>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:17: error: expected primary-expression before 'int'
    5 |     std::cin >> int x;
      |                 ^~~
a.cc:6:18: error: 'x' was not declared in this scope
    6 |     std::cout << x * x * x << std::endl;
      |                  ^
Language: C++

#include<iostream>
using namespace std;

int main(void) {
	int x;
	cin >> x;
	cout << pow(x, 3) << endl;

	return 0;
}

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

#include<stdio.h>

void X_Cubic(int x){
    printf("%d\n",x*x*x);
}

Compiler output:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C++

#include<iostream.h>

int main()
{
	cout<<"2*2*2="<<2*2*2<<endl;
	cout<<"3*3*3="<<3*3*3<<endl;
	return 0;
}

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

#include<stdio.h>

int main()
{
	cout<<"2*2*2="<<2*2*2<<endl;
	cout<<"3*3*3="<<3*3*3<<endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'cout' was not declared in this scope
    5 |         cout<<"2*2*2="<<2*2*2<<endl;
      |         ^~~~
a.cc:5:32: error: 'endl' was not declared in this scope
    5 |         cout<<"2*2*2="<<2*2*2<<endl;
      |                                ^~~~
Language: C++

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

void main(vold)
{
double x=2,y=3,z;

z=pow(x,y);
printf("%.1f???%.1f??????%.1f??§??????\n",x,y,z);

double a=3,b=3,c;

c=pow(a,b);
printf("%.1f???%.1f??????%.1f??§??????\n",a,b,c);
}

Compiler output:
a.cc:4:6: error: variable or field 'main' declared void
    4 | void main(vold)
      |      ^~~~
a.cc:4:11: error: 'vold' was not declared in this scope; did you mean 'void'?
    4 | void main(vold)
      |           ^~~~
      |           void
Language: C++

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

void main(vold)
{
double x=2,y=3,z;

z=pow(x,y);
printf("%.1f^%.1f=%.1f\n",x,y,z);

double a=3,b=3,c;

c=pow(a,b);
printf("%.1f^%.1f=%.1f\n",a,b,c);
}

Compiler output:
a.cc:4:6: error: variable or field 'main' declared void
    4 | void main(vold)
      |      ^~~~
a.cc:4:11: error: 'vold' was not declared in this scope; did you mean 'void'?
    4 | void main(vold)
      |           ^~~~
      |           void
Language: C++

#include <stdio.h>

int main(void)
{
	int base;
	int expont,i;
	int answer=1;
	
	printf("???=");
	scanf("%d,&exponent);
	i=exponent;
	
	while(i!=0){
		answer=answer*base;
		--i;
	}
	
	printf("%d???%d???=%d\n",base,exponentanswer);
	
	return 0;
}

Compiler output:
a.cc:9:18: warning: trigraph ??= ignored, use -trigraphs to enable [-Wtrigraphs]
    9 |         printf("???=");
a.cc:10:15: warning: missing terminating " character
   10 |         scanf("%d,&exponent);
      |               ^
a.cc:10:15: error: missing terminating " character
   10 |         scanf("%d,&exponent);
      |               ^~~~~~~~~~~~~~~
a.cc:18:25: warning: trigraph ??= ignored, use -trigraphs to enable [-Wtrigraphs]
   18 |         printf("%d???%d???=%d\n",base,exponentanswer);
a.cc: In function 'int main()':
a.cc:11:11: error: 'exponent' was not declared in this scope; did you mean 'expont'?
   11 |         i=exponent;
      |           ^~~~~~~~
      |           expont
a.cc:18:39: error: 'exponentanswer' was not declared in this scope
   18 |         printf("%d???%d???=%d\n",base,exponentanswer);
      |                                       ^~~~~~~~~~~~~~
Language: C++

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:1: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
    4 | scanf_s("%d",&i);
      | ^~~~~~~
      | scanf
a.cc:5:8: error: unable to find string literal operator 'operator""i' with 'const char [4]', 'long unsigned int' arguments
    5 | printf("%d\n"i*i*i);
      |        ^~~~~~~
Language: C++

#include<stdio.h>

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

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

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

scanf("%d"&x);

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

return 0;

}

Compiler output:
a.cc:8:16: warning: missing terminating " character
    8 | printf("%d\n"&x");
      |                ^
a.cc:8:16: error: missing terminating " character
    8 | printf("%d\n"&x");
      |                ^~~
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]
a.cc:8:14: error: invalid operands of types 'const char [4]' and 'int' to binary 'operator&'
    8 | printf("%d\n"&x");
      |        ~~~~~~^~
      |        |      |
      |        |      int
      |        const char [4]
Language: C++

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

scanf("%d"&x);

printf("%d*%d*%d\n"&x");

return 0;

}

Compiler output:
a.cc:8:22: warning: missing terminating " character
    8 | printf("%d*%d*%d\n"&x");
      |                      ^
a.cc:8:22: error: missing terminating " character
    8 | printf("%d*%d*%d\n"&x");
      |                      ^~~
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]
a.cc:8:20: error: invalid operands of types 'const char [10]' and 'int' to binary 'operator&'
    8 | printf("%d*%d*%d\n"&x");
      |        ~~~~~~~~~~~~^~
      |        |            |
      |        |            int
      |        const char [10]
Language: C++

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

scanf("%d"&x);

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

return 0;

}

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

#include<stdio.h>
int main(void){
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]
a.cc:5:12: error: expected ')' before 'x'
    5 | printf("%d" x*x*x);
      |       ~    ^~
      |            )
Language: C++

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

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

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

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:8: error: expected ';' before 'printf'
    5 | y=x*x*x
      |        ^
      |        ;
    6 | printf("%d",y);
      | ~~~~~~
Language: C++

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

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

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

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

#include <iostream>

using namespace std;

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

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

import java.util.*;

class Main{

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


}

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.util.*;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:5:15: error: expected ':' before 'static'
    5 |         public static void main(String[] args) {
      |               ^~~~~~~
      |               :
a.cc:5:33: error: 'String' has not been declared
    5 |         public static void main(String[] args) {
      |                                 ^~~~~~
a.cc:5:42: error: expected ',' or '...' before 'args'
    5 |         public static void main(String[] args) {
      |                                          ^~~~
a.cc:14:2: error: expected ';' after class definition
   14 | }
      |  ^
      |  ;
a.cc: In static member function 'static void Main::main(int*)':
a.cc:6:17: error: 'Scanner' was not declared in this scope
    6 |                 Scanner hoge = new Scanner(System.in);
      |                 ^~~~~~~
a.cc:7:25: error: 'hoge' was not declared in this scope
    7 |                 int d = hoge.nextInt();
      |                         ^~~~
a.cc:8:17: error: 'System' was not declared in this scope
    8 |                 System.out.println(d*d*d);
      |                 ^~~~~~
Language: C++

import java.io.*;
class Main {
    public static void main(String argv[]) {
        try{
	int x;
        BufferedReader d =new BufferedReader(new InputStreamReader(System.in));
	x= Integer.parseInt(d.readLine());
        System.out.println(x=x*x);
	}catch(IOException e){}
    }
}

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:3:11: error: expected ':' before 'static'
    3 |     public static void main(String argv[]) {
      |           ^~~~~~~
      |           :
a.cc:3:29: error: 'String' has not been declared
    3 |     public static void main(String argv[]) {
      |                             ^~~~~~
a.cc:11:2: error: expected ';' after class definition
   11 | }
      |  ^
      |  ;
a.cc: In static member function 'static void Main::main(int*)':
a.cc:6:9: error: 'BufferedReader' was not declared in this scope
    6 |         BufferedReader d =new BufferedReader(new InputStreamReader(System.in));
      |         ^~~~~~~~~~~~~~
a.cc:7:12: error: 'Integer' was not declared in this scope
    7 |         x= Integer.parseInt(d.readLine());
      |            ^~~~~~~
a.cc:7:29: error: 'd' was not declared in this scope
    7 |         x= Integer.parseInt(d.readLine());
      |                             ^
a.cc:8:9: error: 'System' was not declared in this scope
    8 |         System.out.println(x=x*x);
      |         ^~~~~~
a.cc:9:16: error: 'IOException' does not name a type
    9 |         }catch(IOException e){}
      |                ^~~~~~~~~~~
Language: C++

#include <iostream>
using namespace std;

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

return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:13: error: expected primary-expression before '<<' token
    8 | cout<<x*x*x*<<'\n';
      |             ^~
Language: C++

#include <stdio.h>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:1: error: 'cin' was not declared in this scope
    4 | cin >> int input;
      | ^~~
a.cc:4:8: error: expected primary-expression before 'int'
    4 | cin >> int input;
      |        ^~~
a.cc:5:1: error: 'cout' was not declared in this scope
    5 | cout << input*input*input << endl;
      | ^~~~
a.cc:5:9: error: 'input' was not declared in this scope; did you mean 'int'?
    5 | cout << input*input*input << endl;
      |         ^~~~~
      |         int
a.cc:5:30: error: 'endl' was not declared in this scope
    5 | cout << input*input*input << endl;
      |                              ^~~~
Language: C++

#include <stdio.h>

int main(){
std::cin >> int input;
std::cout << input*input*input << std::endl;
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:6: error: 'cin' is not a member of 'std'
    4 | std::cin >> int input;
      |      ^~~
a.cc:2:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    1 | #include <stdio.h>
  +++ |+#include <iostream>
    2 | 
a.cc:4:13: error: expected primary-expression before 'int'
    4 | std::cin >> int input;
      |             ^~~
a.cc:5:6: error: 'cout' is not a member of 'std'
    5 | std::cout << input*input*input << std::endl;
      |      ^~~~
a.cc:5:6: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:5:14: error: 'input' was not declared in this scope; did you mean 'int'?
    5 | std::cout << input*input*input << std::endl;
      |              ^~~~~
      |              int
a.cc:5:40: error: 'endl' is not a member of 'std'
    5 | std::cout << input*input*input << std::endl;
      |                                        ^~~~
a.cc:2:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
    1 | #include <stdio.h>
  +++ |+#include <ostream>
    2 |
Language: C++

#include <stdio.h>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:6: error: 'cin' is not a member of 'std'
    4 | std::cin >> int input;
      |      ^~~
a.cc:2:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    1 | #include <stdio.h>
  +++ |+#include <iostream>
    2 | 
a.cc:4:13: error: expected primary-expression before 'int'
    4 | std::cin >> int input;
      |             ^~~
a.cc:5:6: error: 'cout' is not a member of 'std'
    5 | std::cout << input*input*input << std::endl;
      |      ^~~~
a.cc:5:6: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:5:14: error: 'input' was not declared in this scope; did you mean 'int'?
    5 | std::cout << input*input*input << std::endl;
      |              ^~~~~
      |              int
a.cc:5:40: error: 'endl' is not a member of 'std'
    5 | std::cout << input*input*input << std::endl;
      |                                        ^~~~
a.cc:2:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
    1 | #include <stdio.h>
  +++ |+#include <ostream>
    2 |
Language: C++

#include <iostream>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:13: error: expected primary-expression before 'int'
    4 | std::cin >> int input;
      |             ^~~
a.cc:5:14: error: 'input' was not declared in this scope; did you mean 'int'?
    5 | std::cout << input*input*input << std::endl;
      |              ^~~~~
      |              int
Language: C++

#include<iostream>
usingnamespace std;

int main()
{

 int x;
 cin>>x;
 cout<<x*x*x<<'\n';

 return 0;
}

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

#include<iostream>
using namespace std;

int main(){

int x;
cin>>x;
cout<<x^3;


return 0;
}

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

int main(){

float x;
cin<<x;
cout>>x^3;

return 0;
}

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

int main(){

float x;
cin>>x;
cout<<x^3;

return 0;
}

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

int main(){

int x;
cin >> x;
cout << x^3<<'\n;';

return 0;
}

Compiler output:
a.cc:8:14: warning: multi-character character constant [-Wmultichar]
    8 | cout << x^3<<'\n;';
      |              ^~~~~
a.cc:2:7: error: expected nested-name-specifier before 'namespase'
    2 | using namespase std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:7:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 | cin >> x;
      | ^~~
      | std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 | cout << x^3<<'\n;';
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:12: warning: left shift count >= width of type [-Wshift-count-overflow]
    8 | cout << x^3<<'\n;';
      |           ~^~~~~~~
Language: C++

#include<iostream>
using namespace std;

int main(){

int x;
cin>>x;
cout<<x^3;

return 0;
}

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

int x;
cin>>x;
cout<<x**3;

return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: invalid type argument of unary '*' (have 'int')
    8 | cout<<x**3;
      |         ^~
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:8:8: error: no match for 'operator^' (operand types are 'std::basic_ostream<char>' and 'int')
    8 | cout<<x^3<<'\n';
      | ~~~~~~~^~~~~~~~
      |     |    |
      |     |    int
      |     std::basic_ostream<char>
a.cc:8:8: note: candidate: 'operator^(int, int)' (built-in)
    8 | cout<<x^3<<'\n';
      | ~~~~~~~^~~~~~~~
a.cc:8:8: 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(){

int x;
cin>>x;
x=x^3
cout<<x<<'\n';

return 0;
}

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

#include<iostream>

using namespace std;


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

return 0;
}

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

return 0;
}

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