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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:11:17: error: 'outl' was not declared in this scope
   11 |   cout<< NS-A <<outl ;
      |                 ^~~~
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:11:19: error: 'outl' was not declared in this scope
   11 |   cout << NS-A << outl ;
      |                   ^~~~
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:9:14: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
    9 |   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<<edndl;
  
}


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

#include<bits/stdc++.h>

using namespace std;

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

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

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

int main() {
  int a,n;
  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;
  double ans;
  ans = a*a - b
  cout << ans << endl;
}


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

#include<bits/stdc++.h>
int main(){ std::int n,a; std::cin>>n>>a;  std::cout<<(n*n)-a<<"\n"; return 0; }

Compiler output:
a.cc: In function 'int main()':
a.cc:2:18: error: expected unqualified-id before 'int'
    2 | int main(){ std::int n,a; std::cin>>n>>a;  std::cout<<(n*n)-a<<"\n"; return 0; }
      |                  ^~~
a.cc:2:37: error: 'n' was not declared in this scope; did you mean 'yn'?
    2 | int main(){ std::int n,a; std::cin>>n>>a;  std::cout<<(n*n)-a<<"\n"; return 0; }
      |                                     ^
      |                                     yn
a.cc:2:40: error: 'a' was not declared in this scope
    2 | int main(){ std::int n,a; std::cin>>n>>a;  std::cout<<(n*n)-a<<"\n"; return 0; }
      |                                        ^
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: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:19: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
    7 |     cout << N^2-A << endl;
      |               ~~~~^~~~~~~
Language: C++

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

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


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inclde; did you mean #include?
    1 | #inclde <bits/stdc++.h>
      |  ^~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   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 | #inclde <bits/stdc++.h>
a.cc:7:3: error: 'cout' was not declared in this scope
    7 |   cout <<N*N-A<< endl;
      |   ^~~~
a.cc:7:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:18: error: 'endl' was not declared in this scope
    7 |   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 | #inclde <bits/stdc++.h>
Language: C++

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

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


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inclde; did you mean #include?
    1 | #inclde <bits/stdc++.h>
      |  ^~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   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 | #inclde <bits/stdc++.h>
a.cc:7:3: error: 'cout' was not declared in this scope
    7 |   cout << N * N - A << endl;
      |   ^~~~
a.cc:7:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:24: error: 'endl' was not declared in this scope
    7 |   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 | #inclde <bits/stdc++.h>
Language: C++

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

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

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inclde; did you mean #include?
    1 | #inclde <bits/stdc++.h>
      |  ^~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   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 | #inclde <bits/stdc++.h>
a.cc:7:3: error: 'cout' was not declared in this scope
    7 |   cout << N*N-A << endl;
      |   ^~~~
a.cc:7:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:20: error: 'endl' was not declared in this scope
    7 |   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 | #inclde <bits/stdc++.h>
Language: C++

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


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

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


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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: 'black' was not declared in this scope
    7 |   black = N*N - A;
      |   ^~~~~
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: 'black' was not declared in this scope
    7 |   black = N**2 - A;
      |   ^~~~~
a.cc:7:13: error: invalid type argument of unary '*' (have 'int')
    7 |   black = N**2 - A;
      |             ^~
Language: C++

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

int main() {
  double a, n, x;
  cin >> n;
  cin >> a;
  // g = n^2 - a^2
  x = n^2 - a^2;
  cout << x << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:8: error: invalid operands of types 'double' and 'double' to binary 'operator^'
    9 |   x = n^2 - a^2;
      |       ~^~~~~~
      |       |   |
      |       |   double
      |       double
Language: C++

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

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

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

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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N,M;
  int ans;
  cin >> N >> M;
  ans = N**2 -M;
  cout << ans << endl;
  return 0
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:11: error: invalid type argument of unary '*' (have 'int')
    8 |   ans = N**2 -M;
      |           ^~
a.cc:10:11: error: expected ';' before '}' token
   10 |   return 0
      |           ^
      |           ;
   11 | }
      | ~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N,M;
  int ans;
  cin >> N >> M;
  ans = N**2 -M;
  cout << ans <<endl;
  return 0
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:11: error: invalid type argument of unary '*' (have 'int')
    8 |   ans = N**2 -M;
      |           ^~
a.cc:10:11: error: expected ';' before '}' token
   10 |   return 0
      |           ^
      |           ;
   11 | }
      | ~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:15: error: expected ';' before 'cout'
    8 |   ans = N*N -M
      |               ^
      |               ;
    9 |   cout << ans <<endl;
      |   ~~~~         
a.cc:10:11: error: expected ';' before '}' token
   10 |   return 0
      |           ^
      |           ;
   11 | }
      | ~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N,M;
  int ans;
  cin >> N >> M;
  ans = N**2 -M
  cout << ans <<endl;
  return 0
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:11: error: invalid type argument of unary '*' (have 'int')
    8 |   ans = N**2 -M
      |           ^~
a.cc:10:11: error: expected ';' before '}' token
   10 |   return 0
      |           ^
      |           ;
   11 | }
      | ~
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:23: error: expected primary-expression before '<<' token
    7 |   cout << a * a - 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: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: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: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 = 0, W = 0;
  cin >> N >> W;
  cout << N^2 - W << 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 - W << endl;
      |             ~~~~~~^~~~~~~
Language: C++

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

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


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

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

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

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

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

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:11: error: found ':' in nested-name-specifier, expected '::'
    9 |   cin >> b:
      |           ^
      |           ::
a.cc:9:10: error: 'b' is not a class, namespace, or enumeration
    9 |   cin >> b:
      |          ^
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:9:11: error: found ':' in nested-name-specifier, expected '::'
    9 |   cin >> b:
      |           ^
      |           ::
a.cc:9:10: error: 'b' is not a class, namespace, or enumeration
    9 |   cin >> b:
      |          ^
a.cc:11:19: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
   11 |   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: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;

typedef long long ll;
 
int main(){
  int n, a;
  cin >> n >> a;
  cout << n*n-a; << endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:18: error: expected primary-expression before '<<' token
    9 |   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: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;

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:9:21: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
    9 |     cout << N^2 - A << endl;
      |               ~~~~~~^~~~~~~
Language: C++

#include <stdc++.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: stdc++.h: No such file or directory
    1 | #include <stdc++.h>
      |          ^~~~~~~~~~
compilation terminated.
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:8: error: expected initializer before '.' token
    5 |   int n.a;
      |        ^
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 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(){
  float a = 0;
  float k = 0;
  
  cin >> a;
  cin >> k;
  cout << a^2 - k << endl;
}


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

#include <bit/stdc++.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: bit/stdc++.h: No such file or directory
    1 | #include <bit/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: In function 'int main()':
a.cc:6:19: error: invalid type argument of unary '*' (have 'int')
    6 |         cout << n**2 - a << endl;
      |                   ^~
Language: C++

#include <bit/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: bit/stdc++.h: No such file or directory
    1 | #include <bit/stdc++.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <algorithm>
#include <string>
#include <sstream>
#include <complex>
#include <vector>
#include <list>
#include <queue>
#include <deque>
#include <stack>
#include <map>
#include <set>
#include <fstream>
#include <numeric>
using namespace std;
typedef long long int ll;

#define EPS (1e-7)
#define INF 1e18
#define max(p,q)((p)>(q)?(p):(q))
#define min(p,q)((p)<(q)?(p):(q))
#define PI (acos(-1))

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

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

    return 0;
}


Compiler output:
a.cc:31:5: error: expected initializer before 'int'
   31 |     int a, b;
      |     ^~~
a.cc:32:5: error: 'cin' does not name a type; did you mean 'min'?
   32 |     cin >> a >> b;
      |     ^~~
      |     min
a.cc:33:5: error: 'cout' does not name a type
   33 |     cout << (a * a - b) << endl;
      |     ^~~~
a.cc:35:5: error: expected unqualified-id before 'return'
   35 |     return 0;
      |     ^~~~~~
a.cc:36:1: error: expected declaration before '}' token
   36 | }
      | ^
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: 'cont' was not declared in this scope; did you mean 'const'?
    7 |   cont << N * N - A << endl;
      |   ^~~~
      |   const
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:1:1: error: 'include' does not name a type
    1 | include <bits/stdc++.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin >> A >> N;
      |   ^~~
a.cc:6:3: error: 'cout' was not declared in this scope
    6 |   cout << N ^ 2 - A << endl;
      |   ^~~~
a.cc:6:24: error: 'endl' was not declared in this scope
    6 |   cout << N ^ 2 - A << endl;
      |                        ^~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'cont' was not declared in this scope; did you mean 'const'?
    6 |   cont << N ^ 2 - A << endl;
      |   ^~~~
      |   const
a.cc:6:21: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
    6 |   cont << N ^ 2 - A << endl;
      |               ~~~~~~^~~~~~~
Language: C++

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

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <bits/stdc++.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin >> A >> N;
      |   ^~~
a.cc:6:3: error: 'cont' was not declared in this scope; did you mean 'const'?
    6 |   cont << N ^ 2 - A << endl;
      |   ^~~~
      |   const
a.cc:6:24: error: 'endl' was not declared in this scope
    6 |   cont << N ^ 2 - A << endl;
      |                        ^~~~
Language: C

#include <stdio.h>

int main() {
  int n,a;
  scanf_s("%d", &n);
  scanf_s("%d", &a);
  
  int ans = n * n - a;
  printf("%d",ans);
  
  return 0;
}

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

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:9: error: 'cin' was not declared in this scope
    5 |         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 | using namespace std;
a.cc:6:9: error: 'cout' was not declared in this scope
    6 |         cout << N * N - A << endl;
      |         ^~~~
a.cc:6:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:6:30: error: 'endl' was not declared in this scope
    6 |         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 | using namespace std;
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'cin' was not declared in this scope
    5 |         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 | using namespace std;
a.cc:7:9: error: expected ',' or ';' before 'cout'
    7 |         cout << N * N1 - 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:7:15: 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^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 << b^2-a<< 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 << b^2-a<< endl;
      |             ~~~^~~~~~~
Language: C++

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

int main() {
  int a, b;
  cin >> a >> b;
  cout << b^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 << b^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:7:20: 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 N,A 
    cin >> N >> A;
  cout << N*N - A << endl;
}

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

/* ex2_3
   masaaki52	*/
#include <stdio.h>
int main(void){
  int N;
  int A;
  int black;
  scanf("%d",&N);//入力受け取り
  scanf("%d",&A);//入力受け取り
  black = N*N - A;//計算結果をblackに代入
  printf("%d\n",a);//blackを出力
  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:11:17: error: 'a' undeclared (first use in this function)
   11 |   printf("%d\n",a);//blackを出力
      |                 ^
main.c:11:17: note: each undeclared identifier is reported only once for each function it appears in
Language: C

/*  ex2_3
      fmuacshai */

#include <stdio.h>

int main(void){
    int N,A,B;
  //Nは一辺のマスの個数、Aは白のマス目の数、Bは黒のマスの個数
    scanf("%d",&N);
  //Nを入力
    scanf("%d",&A);
  //Aを入力
    if(1<=N && N<=100 && 1<=A && A<=N*N){
      B＝N*N-A;
        printf("%d\n",B);
    }
  //条件を満たすもののみ結果を出力する
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:14:7: error: unknown type name 'B\U0000ff1dN'
   14 |       B＝N*N-A;
      |       ^~~~
main.c:14:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
   14 |       B＝N*N-A;
      |             ^
Language: C

/*  ex2_3
      fmuacshai */

#include <stdio.h>

int main(void){
    int N,A,B;
  //Nは一辺のマスの個数、Aは白のマス目の数、Bは黒のマスの個数
    scanf("%d",&N);
  //Nを入力
    scanf("%d",&A);
  //Aを入力
    if(1<=N && N<=100 && 1<=A && A<=N*N){
      B＝N*N-A
        printf("%d\n",B);
    }
  //条件を満たすもののみ結果を出力する
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:14:7: error: unknown type name 'B\U0000ff1dN'
   14 |       B＝N*N-A
      |       ^~~~
main.c:14:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
   14 |       B＝N*N-A
      |             ^
Language: C

/* 2_3
 * cy_an  */

#include <stdio.h>

int main(void){
    int N,A;
    scanf("%d", &N);          // マス目の数Nの入力
    scanf("%d", &A);          // 白色に塗るマス(A)の入力
    printf("%d\n",n * n - w); // 結果の表示

    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:19: error: 'n' undeclared (first use in this function)
   10 |     printf("%d\n",n * n - w); // 結果の表示
      |                   ^
main.c:10:19: note: each undeclared identifier is reported only once for each function it appears in
main.c:10:27: error: 'w' undeclared (first use in this function)
   10 |     printf("%d\n",n * n - w); // 結果の表示
      |                           ^
Language: C

/* ex2_3 melo */
 
#include <stdio.h>
 
int main(void){
  int N ,A;　/*　整数の箱を二つ作る　*/
  scanf("%d\n",&N);　/*　Nに整数値を代入　*/
  scanf("%d\n",&A);　/*　Nに整数値を代入　*/
  printf("%d\n",N*N-A);　/*　Nの二乗（全てのマスの数）から色が変わったマスを引く　*/
  return 0;
 
}


Compiler output:
main.c: In function 'main':
main.c:6:12: error: stray '\343' in program
    6 |   int N ,A;<U+3000>/*<U+3000><U+6574><U+6570><U+306E><U+7BB1><U+3092><U+4E8C><U+3064><U+4F5C><U+308B><U+3000>*/
      |            ^~~~~~~~
main.c:7:20: error: stray '\343' in program
    7 |   scanf("%d\n",&N);<U+3000>/*<U+3000>N<U+306B><U+6574><U+6570><U+5024><U+3092><U+4EE3><U+5165><U+3000>*/
      |                    ^~~~~~~~
main.c:8:20: error: stray '\343' in program
    8 |   scanf("%d\n",&A);<U+3000>/*<U+3000>N<U+306B><U+6574><U+6570><U+5024><U+3092><U+4EE3><U+5165><U+3000>*/
      |                    ^~~~~~~~
main.c:9:24: error: stray '\343' in program
    9 |   printf("%d\n",N*N-A);<U+3000>/*<U+3000>N<U+306E><U+4E8C><U+4E57><U+FF08><U+5168><U+3066><U+306E><U+30DE><U+30B9><U+306E><U+6570><U+FF09><U+304B><U+3089><U+8272><U+304C><U+5909><U+308F><U+3063><U+305F><U+30DE><U+30B9><U+3092><U+5F15><U+304F><U+3000>*/
      |                        ^~~~~~~~
Language: C

/* ex2_3 melo */
 
#include <stdio.h>
 
int main(void){
  int N ,A;　/*整数の箱を二つ作る*/
  scanf("%d\n",&N);　/*Nに整数値を代入*/
  scanf("%d\n",&A);　/*Nに整数値を代入*/
  printf("%d\n",N*N-A);　/*Nの二乗（全てのマスの数）から色が変わったマスを引く*/
  return 0;
 
}

Compiler output:
main.c: In function 'main':
main.c:6:12: error: stray '\343' in program
    6 |   int N ,A;<U+3000>/*<U+6574><U+6570><U+306E><U+7BB1><U+3092><U+4E8C><U+3064><U+4F5C><U+308B>*/
      |            ^~~~~~~~
main.c:7:20: error: stray '\343' in program
    7 |   scanf("%d\n",&N);<U+3000>/*N<U+306B><U+6574><U+6570><U+5024><U+3092><U+4EE3><U+5165>*/
      |                    ^~~~~~~~
main.c:8:20: error: stray '\343' in program
    8 |   scanf("%d\n",&A);<U+3000>/*N<U+306B><U+6574><U+6570><U+5024><U+3092><U+4EE3><U+5165>*/
      |                    ^~~~~~~~
main.c:9:24: error: stray '\343' in program
    9 |   printf("%d\n",N*N-A);<U+3000>/*N<U+306E><U+4E8C><U+4E57><U+FF08><U+5168><U+3066><U+306E><U+30DE><U+30B9><U+306E><U+6570><U+FF09><U+304B><U+3089><U+8272><U+304C><U+5909><U+308F><U+3063><U+305F><U+30DE><U+30B9><U+3092><U+5F15><U+304F>*/
      |                        ^~~~~~~~
Language: C

/* ex2_3 melo */
 
#include <stdio.h>
 
int main(void){
  int N ,A;　//整数の箱を二つ作る
  scanf("%d\n",&N);　//Nに整数値を代入
  scanf("%d\n",&A);　//Nに整数値を代入
  printf("%d\n",N*N-A);　//Nの二乗（全てのマスの数）から色が変わったマスを引く
  return 0;
 
}

Compiler output:
main.c: In function 'main':
main.c:6:12: error: stray '\343' in program
    6 |   int N ,A;<U+3000>//<U+6574><U+6570><U+306E><U+7BB1><U+3092><U+4E8C><U+3064><U+4F5C><U+308B>
      |            ^~~~~~~~
main.c:7:20: error: stray '\343' in program
    7 |   scanf("%d\n",&N);<U+3000>//N<U+306B><U+6574><U+6570><U+5024><U+3092><U+4EE3><U+5165>
      |                    ^~~~~~~~
main.c:8:20: error: stray '\343' in program
    8 |   scanf("%d\n",&A);<U+3000>//N<U+306B><U+6574><U+6570><U+5024><U+3092><U+4EE3><U+5165>
      |                    ^~~~~~~~
main.c:9:24: error: stray '\343' in program
    9 |   printf("%d\n",N*N-A);<U+3000>//N<U+306E><U+4E8C><U+4E57><U+FF08><U+5168><U+3066><U+306E><U+30DE><U+30B9><U+306E><U+6570><U+FF09><U+304B><U+3089><U+8272><U+304C><U+5909><U+308F><U+3063><U+305F><U+30DE><U+30B9><U+3092><U+5F15><U+304F>
      |                        ^~~~~~~~
Language: C

/* ex2_3
   ruuu0048 */
#include <stdio.h>
 
int main(void){
 
    int N,A; //マス目とAを宣言
 
    scanf("%d",&N); //マス目の入力
    scanf("%d",&A); //Aの入力
 
    printf("%d\n",N * N - A); //計算結果を出力
 
    return 0; 
 
}
/*
	ex2_3
	ruuu0048
*/
#include <stdio.h>

int main(void){

    int N,A; //マス目とAを宣言

    scanf("%d",&N); //マス目の入力
    scanf("%d",&A); //Aの入力

    printf("%d\n",N * N - A); //計算結果を出力

    return 0; 

}
提出情報


Compiler output:
main.c:23:5: error: redefinition of 'main'
   23 | int main(void){
      |     ^~~~
main.c:5:5: note: previous definition of 'main' with type 'int(void)'
    5 | int main(void){
      |     ^~~~
main.c:35:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input
   35 | 提出情報
      | ^~~~~~~~
Language: C

/*  Bichrome Cells  
    unomi    */

#include <stdio.h>
int main(void){
    int N=0, A=0;
    #Nを入力
    scanf("%d",&N);
    #Aを入力
    scanf("%d",&A);
    #N*N-Aを出力
    printf("%d\n",N*N-A);

    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:6: error: invalid preprocessing directive #N\U00003092\U00005165\U0000529b
    7 |     #Nを入力
      |      ^~~~~~~
main.c:9:6: error: invalid preprocessing directive #A\U00003092\U00005165\U0000529b
    9 |     #Aを入力
      |      ^~~~~~~
main.c:11:6: error: invalid preprocessing directive #N
   11 |     #N*N-Aを出力
      |      ^
Language: C

/* ex2_3 melo */
 
#include <stdio.h>
 
int main(void){
    int N ,A;
    scanf("%d\n",&N);
    scanf("%d\n",&A);
    printf("%d\n",N*N-A);
return 0;
 
}
/* ex2_3 melo */

#include <stdio.h>

int main(void){
    int N ,A;
    scanf("%d\n",&N);
    scanf("%d\n",&A);
    printf("%d\n",N*N-A);
	return 0;

}

Compiler output:
main.c:17:5: error: redefinition of 'main'
   17 | int main(void){
      |     ^~~~
main.c:5:5: note: previous definition of 'main' with type 'int(void)'
    5 | int main(void){
      |     ^~~~
Language: C

/* ex2_3
  sachiyan */

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

Compiler output:
main.c: In function 'main':
main.c:7:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'scanf'
    7 |     scanf("%d", &N);
      |     ^~~~~
main.c:8:18: error: 'A' undeclared (first use in this function)
    8 |     scanf("%d", &A);
      |                  ^
main.c:8:18: note: each undeclared identifier is reported only once for each function it appears in
Language: C

/* ex2_3
  ryo_1129*/

#include <stdio.h>

int main(void){
    int N, A;　//変数宣言
    scanf("%d", &N);
    scanf("%d", &A); // 入力

    printf("%d\n", N*N-A);　//出力
    return 0;

}

Compiler output:
main.c: In function 'main':
main.c:7:14: error: stray '\343' in program
    7 |     int N, A;<U+3000>//<U+5909><U+6570><U+5BA3><U+8A00>
      |              ^~~~~~~~
main.c:11:27: error: stray '\343' in program
   11 |     printf("%d\n", N*N-A);<U+3000>//<U+51FA><U+529B>
      |                           ^~~~~~~~
Language: C

/* Kadai2_3
 saitomo*/

#include <stdio.h>

int main(void){
      int number;
      int black;
      //値を入力
      scanf("%d",&number);
      scanf("%d",&black);
      N=N*N;
      printf("%d",number-black);
}


Compiler output:
main.c: In function 'main':
main.c:12:7: error: 'N' undeclared (first use in this function)
   12 |       N=N*N;
      |       ^
main.c:12:7: note: each undeclared identifier is reported only once for each function it appears in
Language: C

/* ex2_3
   KKOO  */

#include <stdio.h>

int main(void) {
    int ALL,WHITE;
    printf("ALL=");
    scanf("%d",&ALL); //マス目の一辺の入力
    printf("WHITE=");
    scanf("%d",&WHITE);　//白いマスの入力
    printf("BLACK=%d\n",ALL*ALL-WHITE);　//黒いマスの出力

    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:11:24: error: stray '\343' in program
   11 |     scanf("%d",&WHITE);<U+3000>//<U+767D><U+3044><U+30DE><U+30B9><U+306E><U+5165><U+529B>
      |                        ^~~~~~~~
main.c:12:40: error: stray '\343' in program
   12 |     printf("BLACK=%d\n",ALL*ALL-WHITE);<U+3000>//<U+9ED2><U+3044><U+30DE><U+30B9><U+306E><U+51FA><U+529B>
      |                                        ^~~~~~~~
Language: C

/*  ex2_1
    potter0723sw  */

#include <stdio.h>

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


Compiler output:
main.c: In function 'main':
main.c:8:11: error: expected expression before '%' token
    8 |     scanf(%d, &N);
      |           ^
main.c:9:11: error: expected expression before '%' token
    9 |     scanf(%d, &A);
      |           ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:7:3: error: 'black' undeclared (first use in this function)
    7 |   black = grid_width * grid_width - white;
      |   ^~~~~
main.c:7:3: 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 R, G;
  cin >> R >> G endl;
  cout << R * R - G << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:16: error: expected ';' before 'endl'
    6 |   cin >> R >> G endl;
      |                ^~~~~
      |                ;
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:19: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
    7 |   cout << n^2 - a << endl;
      |             ~~~~~~^~~~~~~
Language: C++

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

Compiler output:
a.cc:1:2: error: stray '#' in program
    1 | !#nclude <bits/stdc++.h>
      |  ^
a.cc:1:1: error: expected unqualified-id before '!' token
    1 | !#nclude <bits/stdc++.h>
      | ^
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin >> N >> A;
      |   ^~~
a.cc:7:3: error: 'cout' was not declared in this scope
    7 |   cout << N*N - A << endl;
      |   ^~~~
a.cc:7:22: error: 'endl' 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*N - A << endl;
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <bits/stdc++.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin >> N >> A;
      |   ^~~
a.cc:7:3: error: 'cout' was not declared in this scope
    7 |   cout << N*N - A << endl;
      |   ^~~~
a.cc:7:22: error: 'endl' was not declared in this scope
    7 |   cout << N*N - A << endl;
      |                      ^~~~
Language: C++

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


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

#include <bits/stdc++.j>
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/stdc++.j: No such file or directory
    1 | #include <bits/stdc++.j>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
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:8:13: error: invalid type argument of unary '*' (have 'int')
    8 |   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: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;
  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 N,A;
  cin>>N;
  cin>>A;
  
  cout<<N*N-A<<endl;
  
}

Compiler output:
a.cc:4:5: error: cannot declare '::main' to be a global variable
    4 | int main{
      |     ^~~~
a.cc:5:3: error: expected primary-expression before 'int'
    5 |   int N,A;
      |   ^~~
a.cc:5:3: error: expected '}' before 'int'
a.cc:4:9: note: to match this '{'
    4 | int main{
      |         ^
a.cc:6:3: error: 'cin' does not name a type
    6 |   cin>>N;
      |   ^~~
a.cc:7:3: error: 'cin' does not name a type
    7 |   cin>>A;
      |   ^~~
a.cc:9:3: error: 'cout' does not name a type
    9 |   cout<<N*N-A<<endl;
      |   ^~~~
a.cc:11:1: error: expected declaration before '}' token
   11 | }
      | ^
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:1: error: 'include' does not name a type
    1 | include<bits/stdc++.h>
      | ^~~~~~~
a.cc:4:5: error: cannot declare '::main' to be a global variable
    4 | int main{
      |     ^~~~
a.cc:5:3: error: expected primary-expression before 'int'
    5 |   int N,A;
      |   ^~~
a.cc:5:3: error: expected '}' before 'int'
a.cc:4:9: note: to match this '{'
    4 | int main{
      |         ^
a.cc:6:3: error: 'cin' does not name a type
    6 |   cin>>N;
      |   ^~~
a.cc:7:3: error: 'cin' does not name a type
    7 |   cin>>A;
      |   ^~~
a.cc:9:3: error: 'cout' does not name a type
    9 |   cout<<N*N-A<<endl;
      |   ^~~~
a.cc:11:1: error: expected declaration before '}' token
   11 | }
      | ^
Language: C++

incled<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:1: error: 'incled' does not name a type
    1 | incled<bits/stdc++.h>
      | ^~~~~~
a.cc:4:5: error: cannot declare '::main' to be a global variable
    4 | int main{
      |     ^~~~
a.cc:5:3: error: expected primary-expression before 'int'
    5 |   int N,A;
      |   ^~~
a.cc:5:3: error: expected '}' before 'int'
a.cc:4:9: note: to match this '{'
    4 | int main{
      |         ^
a.cc:6:3: error: 'cin' does not name a type
    6 |   cin>>N;
      |   ^~~
a.cc:7:3: error: 'cin' does not name a type
    7 |   cin>>A;
      |   ^~~
a.cc:9:3: error: 'cout' does not name a type
    9 |   cout<<N*N-A<<endl;
      |   ^~~~
a.cc:11:1: error: expected declaration before '}' token
   11 | }
      | ^
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:6:4: error: expected primary-expression before '>>' token
    6 |    >>in >> N >> A;
      |    ^~
a.cc:6:6: error: 'in' was not declared in this scope; did you mean 'yn'?
    6 |    >>in >> N >> A;
      |      ^~
      |      yn
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: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;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:10:13: error: invalid type argument of unary '*' (have 'int')
   10 |   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:11:13: error: invalid type argument of unary '*' (have 'int')
   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 * N - A << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:6: 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: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 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^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:16: 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:16: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
    7 |  cout << N^2-A << endl;
      |            ~~~~^~~~~~~
a.cc:7:24: error: expected '}' at end of input
    7 |  cout << N^2-A << endl;
      |                        ^
a.cc:4:12: note: to match this '{'
    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:24: error: expected '}' at end of input
    7 |  cout << N*2-A << endl;
      |                        ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^