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

#include <bits/stdc++,h>
using namespace std;
int main() {
  int N,A;
  cin >> N >> A;
  cout << N^2-A << endl;
  }


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

#include <bits,stdc++,h>
using namespace std;
int main() {
  int N,A;
  cin >> N >> A;
  cout << N^2-A << endl;
  }

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

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

int main() {
  double A,B;
  cin >> A;
  cin >> B;
  
  cout<< A^2 - B <<endl;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:18: error: invalid operands of types 'double' and '<unresolved overloaded function type>' to binary 'operator<<'
    9 |   cout<< A^2 - B <<endl;
      |            ~~~~~~^~~~~~
Language: C++

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

int main(){
  int s, white;
  cin >> s >> white;
  
  cout << s * s - white << endl;
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'nameplace'
    2 | using nameplace std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin >> s >> white;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |   cout << s * s - white << endl;
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:28: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |   cout << s * s - white << endl;
      |                            ^~~~
      |                            std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

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

int main(){
  int s, white;
  cin >> s >> white;
  
  cout << s ** 2 - white << endl;

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'nameplace'
    2 | using nameplace std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin >> s >> white;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |   cout << s ** 2 - white << endl;
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:14: error: invalid type argument of unary '*' (have 'int')
    8 |   cout << s ** 2 - white << endl;
      |              ^~~
a.cc:8:29: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |   cout << s ** 2 - white << 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)
      |     ^~~~
a.cc:8:34: error: expected '}' at end of input
    8 |   cout << s ** 2 - white << endl;
      |                                  ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

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

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


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

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

int main(){
	int N, A;
	cin N >> A;
	
	cout << N * N - A << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:12: error: expected ';' before 'N'
    6 |         cin N >> A;
      |            ^~
      |            ;
Language: C++

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

int main() {
  int n, a;
  cin >> n >> a;
  cout << n^2-a << 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^2-a << endl;
      |             ~~~~^~~~~~~
Language: C++

# include <iostream>
using namespace std;

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

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

#include<iostream>
using namespace std;
int main()
{
    int N,A;
  	cin >> N >> A;
  	cout << N * N - A; << endl;
}

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

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

int main(){

  int N,A;
  
  cin >> N >> A ;
  
  cout << N * N - A << endl;
}

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

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

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

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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N;
  int A;
  
  cin >> N >> A;
  cout << N * N - A << endl:
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:28: error: expected ';' before ':' token
    9 |   cout << N * N - A << endl:
      |                            ^
      |                            ;
Language: C++

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

int main(){
  int N,A = 0;
  cin >> N >> A;
  cout << N^2-A << 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^2-A << endl;
      |             ~~~~^~~~~~~
Language: C++

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

int main(){
  int N,A = 0;
  cin >> N >> A;
  cout << N^2-A << endl;
}

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

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

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

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

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

int main() {
 int N;
  int A;
  
  cin >> N >> A;
  
  cout << N^2-A << endl;
}

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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int num_of_cells_on_one_side;
  int num_whole_cells;
  int num_black_cells;
  int num_white_cells;
  
  cin >> num_of_cells_on_one_side;
  cin >> num_black_cells;
  num_whole_cells = num_of_cells_on_one_side * num_of_cells_on_one_side;
  num_white_cells = num_whole_cells - num_white_cells
  
  cout << num_white_cells << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:54: error: expected ';' before 'cout'
   13 |   num_white_cells = num_whole_cells - num_white_cells
      |                                                      ^
      |                                                      ;
   14 | 
   15 |   cout << num_white_cells << endl;
      |   ~~~~
Language: C++

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

int main(){
  int N, A ;
  
  cin >> N >> A;
  cout << N**2-A;
}


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

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

int main() {
  int N, A;
  cin >> N >> A;
  cout << N * N - A
}

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

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

int main() {
  int N , A;
  cin >> N >> A;
  cout << N ** 2 - A << endl;
}

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

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

int main() {

  int N,A;

  // nameに10を代入
  cin >> N;
  cin >> A;

  cout << N*N-<< endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:15: error: expected primary-expression before '<<' token
   12 |   cout << N*N-<< endl;
      |               ^~
Language: C++

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

int main() {
  int N,A;
  cin >> N >> A;
  cout << N**2-A <<endl;
}

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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N, A;
  cin >> N >> A;
  cout << N^2 - A << endl;
}

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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  double N, A;
  cin >> N >> A;
  cout << N^2 - A << endl;
}

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

#include <bits/stdc++.h>
using namespace std;
 
double main() {
  double N, A;
  cin >> N >> A;
  cout << N^2 - A << endl;
}

Compiler output:
a.cc:4:1: error: '::main' must return 'int'
    4 | double main() {
      | ^~~~~~
a.cc: In function 'int main()':
a.cc:7:19: error: invalid operands of types 'double' and '<unresolved overloaded function type>' to binary 'operator<<'
    7 |   cout << N^2 - A << endl;
      |             ~~~~~~^~~~~~~
Language: C

#include <stdio.h>
int main(void){
	int a,b;
	scanf("%d%d",a,b);
	printf("%d",n*n-a);
}

Compiler output:
main.c: In function 'main':
main.c:5:21: error: 'n' undeclared (first use in this function)
    5 |         printf("%d",n*n-a);
      |                     ^
main.c:5:21: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

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

int main() {

  int N;
  int A;
  cin >> N >> A;
  cout << N**2-A << endl;
}


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

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

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


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

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


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

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

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


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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:12:30: error: expected ';' before 'return'
   12 |   cout << (N * N) - A << endl
      |                              ^
      |                              ;
   13 | 
   14 |   return (0);
      |   ~~~~~~
Language: C++

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

int main() {
  int N , A;
  cin >> N >> A；
  cout << N * N - A << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:15: error: 'A\U0000ff1b' was not declared in this scope
    6 |   cin >> N >> A；
      |               ^~~
Language: C++

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

int main() {
  int N , A ;
  cin >> N >> A；
  cout << N*N - A << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:15: error: 'A\U0000ff1b' was not declared in this scope
    6 |   cin >> N >> A；
      |               ^~~
Language: C++

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

int main() {
  int N , A ;
  cin >> N >> A ；
  cout << N*N - A << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:16: error: expected ';' before '\U0000ff1b'
    6 |   cin >> N >> A ；
      |                ^~~
      |                ;
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  ina n, a;
  cin >> n >> a ;
  cout << n*n - a <<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'ina' was not declared in this scope; did you mean 'int'?
    5 |   ina n, a;
      |   ^~~
      |   int
a.cc:6:10: error: 'n' was not declared in this scope; did you mean 'yn'?
    6 |   cin >> n >> a ;
      |          ^
      |          yn
a.cc:6:15: error: 'a' was not declared in this scope
    6 |   cin >> n >> a ;
      |               ^
Language: C++

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

int main() {
	int a, b ;
    cin >> a >> b ;
	cout << a^2-b << endl;
    
}

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

#include <bits/stdc++.h>
 using namespace std;
  int main() {
 int a,b;
 cin >> a;
 cin >> b;
 cout << a^2-b << endl;
}

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

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

int main() {
  int a, b;
  cin >> a >> b;
  cout << a * a -b << dl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:23: error: 'dl' was not declared in this scope
    7 |   cout << a * a -b << dl;
      |                       ^~
Language: C++

#include <bits/stdc++.h>
using namespace std
  
int main() {
  int N, A;
  cin >> N >> A;
  cout << N*N - A << endl;
}

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

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

int main() {
  int N,A;
  cin >> N >> A;
  cout << N*N - a << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:17: error: 'a' was not declared in this scope
    7 |   cout << N*N - a << endl;
      |                 ^
Language: C++

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

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

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

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

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

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

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

int main() {
  int n, a;
  cin >> n;
  cin >> a;
  cout << n^2-a << endl;
}


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

    #include <bits/stdc++.h>
    using namespace std;
     
    int main() {
      
      int masu,nokori;
      cin >> masu >> nokori;
      
      cout << masu * masu - nokori << endl;
      
      {
      

Compiler output:
a.cc: In function 'int main()':
a.cc:11:8: error: expected '}' at end of input
   11 |       {
      |       ~^
a.cc:11:8: error: expected '}' at end of input
a.cc:4:16: note: to match this '{'
    4 |     int main() {
      |                ^
Language: C++

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

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

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

#include<bits/stdc++.h>
using namespace std;
int main () {
  int a,b;
  cin >> a;
  cin >> b;
  cout << a**2-b << endl;
}

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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
	int N,A;
    cin >> N >> A;
	cout << N^2-A <<endl;
  // ここにプログラムを追記
}


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

#inclue<iostream>

int main(){
  int a, n;
  std::cin >> n >> a;
  std::cout << n*n - a << std::endl;
  return 0;
}


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inclue; did you mean #include?
    1 | #inclue<iostream>
      |  ^~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:5:8: error: 'cin' is not a member of 'std'
    5 |   std::cin >> n >> a;
      |        ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inclue<iostream>
a.cc:6:8: error: 'cout' is not a member of 'std'
    6 |   std::cout << n*n - a << std::endl;
      |        ^~~~
a.cc:6:8: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:6:32: error: 'endl' is not a member of 'std'
    6 |   std::cout << n*n - a << std::endl;
      |                                ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #inclue<iostream>
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(void){
  int a;
  int b;
  cin>>a>>b;
  cout<<a**2-b;
}

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

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

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


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

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

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

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

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

int main() {
  int N, A;
  cin  >> N >> A;
  cout << N^2-A << 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^2-A << endl;
      |             ~~~~^~~~~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  int a,b;
  cin >> a >> b;
  if(false){
    cout << a+b-24;
  }
  else{
    cout << a*a-b;
}


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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:11: error: expected ';' before 'X'
    8 |   cin >> A
      |           ^
      |           ;
    9 | 
   10 |   X = N * N - A;
      |   ~
Language: C++

//#include <bits/stdc++.h>

using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: 'cin' was not declared in this scope
    8 |   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 | //#include <bits/stdc++.h>
a.cc:12:3: error: 'cout' was not declared in this scope
   12 |   cout << X << endl;
      |   ^~~~
a.cc:12:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:12:16: error: 'endl' was not declared in this scope
   12 |   cout << X << endl;
      |                ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | //#include <bits/stdc++.h>
Language: C++

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

int main ( ) {
    int N, A, X;

    cin >> N; 
    cin >> A;

    X = N * N - A;
    cout << X << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: 'cin' was not declared in this scope
    7 |     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 | //#include <bits/stdc++.h>
a.cc:11:5: error: 'cout' was not declared in this scope
   11 |     cout << X << endl;
      |     ^~~~
a.cc:11:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:11:18: error: 'endl' was not declared in this scope
   11 |     cout << X << endl;
      |                  ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | //#include <bits/stdc++.h>
Language: C++

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

int main ( ) {
    int N, A, X;

    cin >> R >> G;

    X = N * N - A;

    cout << X << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: 'cin' was not declared in this scope
    7 |     cin >> R >> G;
      |     ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | //#include <bits/stdc++.h>
a.cc:7:12: error: 'R' was not declared in this scope
    7 |     cin >> R >> G;
      |            ^
a.cc:7:17: error: 'G' was not declared in this scope
    7 |     cin >> R >> G;
      |                 ^
a.cc:11:5: error: 'cout' was not declared in this scope
   11 |     cout << X << endl;
      |     ^~~~
a.cc:11:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:11:18: error: 'endl' was not declared in this scope
   11 |     cout << X << endl;
      |                  ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | //#include <bits/stdc++.h>
Language: C++

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


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

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

int main() {
  int N,a;
  cin >> N >> a;
  cout << N^2-A << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:15: error: 'A' was not declared in this scope
    7 |   cout << N^2-A << endl;
      |               ^
Language: C++

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

int main(){
	int n, a;
	cin >> n >> a;
	cout << n^2-a << endl;
}

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

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

int main() {
int N;
  int A;
  cin N;
  cin A;
  cout << N*N-A << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:6: error: expected ';' before 'N'
    7 |   cin N;
      |      ^~
      |      ;
a.cc:8:6: error: expected ';' before 'A'
    8 |   cin A;
      |      ^~
      |      ;
Language: C++

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

int main() {
  int N,A;
  cin >> N >> A;
  cout << N**2 - A << endl;
}


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

#include<bits/stdc++.h>
using namespace std;
int main(){
  int a,b;
  cin >> a >> b;
  cout << a**2 - b << endl;
}

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

#include<bits/stdc++.h>
using namespace std;
int main(){
  cin >> a >> b;
  cout << a**2 - b << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:10: error: 'a' was not declared in this scope
    4 |   cin >> a >> b;
      |          ^
a.cc:4:15: error: 'b' was not declared in this scope
    4 |   cin >> a >> b;
      |               ^
a.cc:5:13: error: invalid type argument of unary '*' (have 'int')
    5 |   cout << a**2 - b << endl;
      |             ^~
Language: C++

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

int main() {
  int A,B;
  cin >>A>>B
  cout << A**2-B<< endl;
}

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

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

int main(){
    //入力
    int N,A;
    cin >> N;
    cin >> A;

    //出力
    cout << N^2-A << endl;
}

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

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

int main() {
  int N, A;
  cin >> N >> A;
  cout << N**2 - A <<endl;
}

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

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

int main() {
  int N, A;
  cin >> N >> A;
  cout << N * N ^ A << endl;
}

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 ^ A << endl;
      |                   ~~^~~~~~~
Language: C++

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

int main(){
  int N,A;
  cin >>N>>A;
  cout << N**2-A << endl;
}

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

#include <bits/stdc++.h>
using namespace std;
 double N, A;
 cin >> N >> A;
 cout << N * N - A << endl;
int main() {

Compiler output:
a.cc:4:2: error: 'cin' does not name a type
    4 |  cin >> N >> A;
      |  ^~~
a.cc:5:2: error: 'cout' does not name a type
    5 |  cout << N * N - A << endl;
      |  ^~~~
a.cc: In function 'int main()':
a.cc:6:13: error: expected '}' at end of input
    6 | int main() {
      |            ~^
Language: C++

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

main() {
  int N;
  int A;
  cin >> N;
  cin >> A;
  cout << N * N - A << endl;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inxlude; did you mean #include?
    1 | #inxlude <bits/stdc++.h>
      |  ^~~~~~~
      |  include
a.cc:4:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    4 | main() {
      | ^~~~
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope
    7 |   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 | #inxlude <bits/stdc++.h>
a.cc:9:3: error: 'cout' was not declared in this scope
    9 |   cout << N * N - A << endl;
      |   ^~~~
a.cc:9:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:24: error: 'endl' was not declared in this scope
    9 |   cout << N * N - A << endl;
      |                        ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #inxlude <bits/stdc++.h>
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  int n,a;
  cin >> n >> a;
  cout << n^2-a << endl;
}

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

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

int main() {
  int N;
  int A;
  cin >> N >> A;
  cout << N^2-A << endl;
}

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

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

int main() {
  int N , A;
  cin >> N >> A;
  cout << N^2 - A << endl;
}

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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N,A;
  cin >> N >> A;
  cout << N^2-A << 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^2-A << endl;
      |             ~~~~^~~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N,A;
  
  cin >> N>>A ;
  cout << N^N-A << endl;
}


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

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

int main(){
  int N,A;
  cin >> N >> A;
  cout << N*N-A << endl;
}

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

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

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

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

int main(){
  int N,A;
  cin >> N >> A;
  cout << N^2-A << 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^2-A << endl;
      |             ~~~~^~~~~~~
Language: C++

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

int main() {
  int a, b;
  cin >> a >> b;
  cout << a ** 2 - b;
}

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

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

int main() {
  double a, b;
  cin >> a >> b;
  cout << a ** 2 - b;
}

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

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

int main (){
  
  int N, A;
  cin >> N;
  cin >> A;
  
  cout << N * N - A << endl;
}

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

n = int(input())
a = int(input());
print(n*n-a)

Compiler output:
a.cc:1:1: error: 'n' does not name a type
    1 | n = int(input())
      | ^
a.cc:3:6: error: expected constructor, destructor, or type conversion before '(' token
    3 | print(n*n-a)
      |      ^
Language: C++

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

int main(){

  cin >> N >> A;
  cout << N*N - A << endl;
  
}

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

#include <bits/stdc++.h>
using namespace std;
int main(){
  int N,A
  cin >> N >> A;
  cout << N*N - A << endl;
}

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

#include <bits/stdc++.h>
using namespace std;
int main(){
  cin >> N, A;
  cout << N*N - A << endl;
}

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

#include<stdio.h>
#include<iostream.h>
using namespace std;
int main(){
  int n,a;
  std::cin>>n>>a;
  int s=(n*n)-a;
  std::cout<<s;
  return 0;
}

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

 
int main() {
 // ここにプログラムを追記
 //0≤R,G≤4500整数　入力は以下の形式で標準入力から与えられる。 
 int n,a ; cin >> n >> a;
 //cout<<m<<r<<endl;
 /*N×Nのマス目があります。

このマス目の各マスを白色または黒色に塗ることにしました (すべてのマスをどちらか片方の色に塗ります)。

ちょうど Aマスを白色に塗るとき、黒色に塗ることになるマスはいくつあるでしょうか。 */

//
 
 cout << n*n -a <<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:12: error: 'cin' was not declared in this scope
    5 |  int n,a ; cin >> n >> a;
      |            ^~~
a.cc:15:2: error: 'cout' was not declared in this scope
   15 |  cout << n*n -a <<endl;
      |  ^~~~
a.cc:15:19: error: 'endl' was not declared in this scope
   15 |  cout << n*n -a <<endl;
      |                   ^~~~
Language: C++

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

int main() {
  int N,A;
  cin >> N >> A;
  cout << N^2 - A << endl;
}


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

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

int main(){
  int n,a;
  cin >> n >> a;
  cout << n^2-a << 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^2-a << endl;
      |             ~~~~^~~~~~~
Language: C++

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

int main(){
  int n,a;
  cin >> n >> a;
  cout << n^2-a << endl;
}

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

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

int main() {
  int A, N;
  cin >> A >> N;
  cout << N^2-A << 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^2-A << endl;
      |             ~~~~^~~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N;
  int A;
  cin >> N >> A;
  cout << N ^ 2 - A << endl;
}

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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N,A;
  cin >> N >> A;
  cout << N^N-A << 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^N-A << endl;
      |             ~~~~^~~~~~~
Language: C++

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

int main() {
  // ここにプログラムを追記
  double n,a;
  sin >> n >> a;
  cout << n*n-a << endl;
}


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

include<iostream>
using namespace std;

int main(void){
  int x, i, result;
  
  cin >> x;
  cin >> i;
  
  result = x * x;
   cout << result - i << endl;
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope
    7 |   cin >> x;
      |   ^~~
a.cc:11:4: error: 'cout' was not declared in this scope
   11 |    cout << result - i << endl;
      |    ^~~~
a.cc:11:26: error: 'endl' was not declared in this scope
   11 |    cout << result - i << endl;
      |                          ^~~~
Language: C++

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

int main(){
  int n, a:
  cin >> n >> a;
  cout << n * n - a << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:11: error: found ':' in nested-name-specifier, expected '::'
    5 |   int n, a:
      |           ^
      |           ::
a.cc:5:10: error: 'a' has not been declared
    5 |   int n, a:
      |          ^
a.cc:6:7: error: qualified-id in declaration before '>>' token
    6 |   cin >> n >> a;
      |       ^~
a.cc:7:19: error: 'a' was not declared in this scope
    7 |   cout << n * n - a << endl;
      |                   ^
Language: C++

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

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


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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int "square";
  int "white";
  cin >> square >> white;
  cout << square * square - white;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:7: error: expected unqualified-id before string constant
    5 |   int "square";
      |       ^~~~~~~~
a.cc:6:7: error: expected unqualified-id before string constant
    6 |   int "white";
      |       ^~~~~~~
a.cc:7:10: error: 'square' was not declared in this scope
    7 |   cin >> square >> white;
      |          ^~~~~~
a.cc:7:20: error: 'white' was not declared in this scope; did you mean 'write'?
    7 |   cin >> square >> white;
      |                    ^~~~~
      |                    write
Language: C++

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

int main() {
  int N, A;
  cin >> N >> A ;
  cout << N ^ 2 - A << endl;
}


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 ^ 2 - A << endl;
      |               ~~~~~~^~~~~~~
Language: C++

#include "bits/stdc++.h"
using namespace std;
using ll = long long;
using Graph = vector<vector<int>>;
#define int ll
#define double long double
#define YES {cout<<"YES"<<'\n';}
#define NO {cout<<"NO"<<'\n';}
#define Yes {cout<<"Yes"<<'\n';}
#define No {cout<<"No"<<'\n';}
#define yes {cout<<"yes"<<'\n';}
#define no {cout<<"no"<<'\n';}
void YN(bool flg){cout<<(flg?"YES":"NO")<<'\n';}
void Yn(bool flg){cout<<(flg?"Yes":"No")<<'\n';}
void yn(bool flg){cout<<(flg?"yes":"no")<<'\n';}
#define SORT(a) sort(a.begin(),a.end())
#define REVERSE(a) reverse(a.begin(),a.end())
#define REP(i, n) for(int i = 0; i < n; i++)
#define REPR(i, n) for(int i = n; i >= 0; i--)
#define FOR(i, m, n) for(int i = m; i < n; i++)
#define out(n) {cout << n << '\n';}
typedef vector<int> VI;
typedef vector<string> VS;
typedef vector<bool> VB;
typedef vector<VI> VVI;
const int MOD = 1000000007;
const long long INF = 10e10;
const double PI = acos(-1.0);
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return 1; } return 0; }
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return 1; } return 0; }
template<class T>auto MAX(const T& a) { return *max_element(a.begin(),a.end()); }
template<class T>auto MIN(const T& a) { return *min_element(a.begin(),a.end()); }
int ABS(int a) {if(a<0) a = -a; return a;}
template<class T, class U>U SUM(const T& a, const U& v) { return accumulate(a.begin(),a.end(), v); }
template<class T, class U>U COUNT(const T& a, const U& v) { return count(a.begin(),a.end(), v); }
template<class T, class U>int LOWER(const T& a, const U& v) { return lower_bound(a.begin(),a.end(), v) - a.begin(); }
template<class T, class U>int UPPER(const T& a, const U& v) { return upper_bound(a.begin(),a.end(), v) - a.begin(); }
int GCD(int a, int b) { return b ? GCD(b, a%b) : a; }
int LCM(int a, int b) { int g = GCD(a, b); return a / g * b; }
int POW(int a, int n) { int r = 1; while (n > 0) { if (n & 1)r *= a; a *= a; n /= 2; }return r; }
int isPrime(int n){if(n<2){return 0;}for(int i=2; i*i<=n; i++){if(n%i==0){return 0;}}return 1;}
/*素因数分解*/map< int, int >prime_factor(int n){map< int, int > ret;for(int i = 2; i * i <= n; i++) {while(n % i == 0) {ret[i]++;n /= i;}}if(n != 1) ret[n] = 1;return ret;}
/*約数の個数*/int divisor_number(int n){auto p = prime_factor(n); int res = 1; for(auto x:p)res*=(x.second+1); return res;}
/*約数列挙*/vector<int> divisor(int n){vector<int> v; for(int i=1; i*i<=n; i++){if(n%i==0){v.push_back(i);if(i!=n/i){v.push_back(n/i);}}}sort(v.begin(),v.end()); return v;}
//----------------ライブラリとか----------------

signed main(){
    cin.tie(0);
    ios::sync_with_stdio(0);
    cout<<fixed<<setprecision(15);

    int n,a; cin >> n >> a;
    out(max(n*n-a),0LL);

    return 0;
}

Compiler output:
a.cc:53:23: error: macro "out" passed 2 arguments, but takes just 1
   53 |     out(max(n*n-a),0LL);
      |                       ^
a.cc:21:9: note: macro "out" defined here
   21 | #define out(n) {cout << n << '\n';}
      |         ^~~
a.cc: In function 'int main()':
a.cc:53:5: error: 'out' was not declared in this scope
   53 |     out(max(n*n-a),0LL);
      |     ^~~
Language: C++

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

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


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

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

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

Compiler output:
a.cc:3:17: error: 'math' is not a namespace-name
    3 | using namespace math;
      |                 ^~~~
Language: C++

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

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

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