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

#include <cstdio>
#include<iostream>
typedef long long ll;

int main(){
  ll  X, A,  B,  a  , b;
   cin>>X;
  for (A = 0; 1; A++) {
    for (B = 0; B <= A; B++) {
      a = A* A* A * A* A;
      b = B * B * B * B * B;
      if (a - b == X) {
        printf("%d %d", A, B);
        return 0;
      }
      if (a + b== X) {
        printf("%d %d", A, -B);
        return 0;
      }
    }
  }
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:4: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |    cin>>X;
      |    ^~~
      |    std::cin
In file included from a.cc:2:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
Language: C++

#include <bits/stdc++.h>
#define rep(i,n) for (long long i=0;i < (n); ++i)
using namespace std;
using ll = long long;

long long gcd(long long a, long long b){
  if (b==0) return a;
  else return gcd(b,a%b);
}

int main() {
  ll x;
  cin >> x;
  for(ll i=-118;i<=119;i++){
    for(ll j=-119;J<=118;j++){
      if((pow(i,5)-pow(j,5)) == x){
        cout << i << endl << j << endl;
        x=0;
        break;
      }
    }
    if(x==0) break;
  }
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:19: error: 'J' was not declared in this scope
   15 |     for(ll j=-119;J<=118;j++){
      |                   ^
Language: C++

#include<bits/stdc++.h>
int main(){
  int A,B,X;
  cin>>X;
  for(int i=0;i<X;i++){
    for(int j=0;j<X;j++){
      if(pow(A,5)-pow(B,5)==X){
        cout<<A<<" "<<B<<endl;
        break;
      }
    }
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 |   cin>>X;
      |   ^~~
      |   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:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |         cout<<A<<" "<<B<<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:26: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |         cout<<A<<" "<<B<<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 namespace std;
typedef long long ll;

#define INF 1999999999
#define REP(i,n) for(int i=0;i<n;i++)
#define MODA 1000000007 

int main() {
    //Z-algorithm 
    //S[0, おしり]とS[i, おしり]の共通接頭辞をa[i]に格納する
    //O(|S|)
    string S;
    int i=1,j=0;
    a[0] = S.size();
    for(int m = 1; m <= n; m++) a[m] = 0;
    while(i < S.size()){
        while(i+j < n && S[j] == S[i+j]){++j;}
        a[i] = j;
        if(j==0){
            i++;
            continue;
        }
        int k = 1;
        while(i+k < n && k+a[k] < j){
            a[i+k] = a[k];
            k++;
        }
        i += k;
        j -= k;
    }

}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:5: error: 'a' was not declared in this scope
   15 |     a[0] = S.size();
      |     ^
a.cc:16:25: error: 'n' was not declared in this scope
   16 |     for(int m = 1; m <= n; m++) a[m] = 0;
      |                         ^
a.cc:18:21: error: 'n' was not declared in this scope
   18 |         while(i+j < n && S[j] == S[i+j]){++j;}
      |                     ^
a.cc:25:21: error: 'n' was not declared in this scope
   25 |         while(i+k < n && k+a[k] < j){
      |                     ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
long long int x;
cin>>x;
  if(x!=1)
  {

    for(int i=2;i<=x;i++)
{
  if(x%i==0)
  {
   int a=i/2;
   int b=i+a;
    cout<<a<<" "<<b<<endl;
    i=x;
  }
    }
    else
      cout<<"0 -1"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:20:5: error: expected '}' before 'else'
   20 |     else
      |     ^~~~
a.cc:8:3: note: to match this '{'
    8 |   {
      |   ^
Language: C++

#include <iostream>
#include <cmath>
using namespace std;

int main(){
  int a,b,x;
  cin>>x;
  for(int i=-120;i<120;i++){
    for(int j=-120;j<120;j++){
      if(pow(i,5)-pow(j,5)==x){
        a=i;
        b=j;
        break;
      }
  	}
  }
  cout<<i<<' '<<j<<endl;
}

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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  
  int X;
  cin >> X;
 
  //calc for power 1/5
  double max_A=0;
  max_A = std::floor(std::pow(X, 1.0/5.0) );
  
  //cout << answer <<endl;
  
  int ans_A,ans_B;
  
  for(int A=1; A<max_A; A++){  
     //if B is minus
    for(int B=1; (A*A*A*A*A + B*B*B*B*B) > X;B++){
      if(A*A*A*A*A+B*B*B*B*B == X){
        ans_A=A;
      	ans_B=B*(-1);
        goto ANSWER;
      }
    }
    
    //B is plus
      for(int A=1; true; A++){  
     //if B is minus
    for(int B=1; (A*A*A*A*A - B*B*B*B*B) >= X;B++){
      if(A*A*A*A*A+B*B*B*B*B == X){
        ans_A=A;
      	ans_B=B*(-1);
        goto ANSWER;
      }
    }
  }
  
  ANSWER:
  cout >> ansA >> ansB >> endl;
}
 

Compiler output:
a.cc: In function 'int main()':
a.cc:40:11: error: 'ansA' was not declared in this scope; did you mean 'ans_A'?
   40 |   cout >> ansA >> ansB >> endl;
      |           ^~~~
      |           ans_A
a.cc:40:19: error: 'ansB' was not declared in this scope; did you mean 'ans_B'?
   40 |   cout >> ansA >> ansB >> endl;
      |                   ^~~~
      |                   ans_B
a.cc:41:2: error: expected '}' at end of input
   41 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
  long long n;
  cin>>n;
  long long a=0,b=0;
  if (n==1)
    cout<<"1 0"<<"\n";
  else if (n%2==1)
  {
    long long val = 1;
    for (int j=2;j*j<=n;j++)
    {
      if (n%j==0)
      {
        val=j;
        break;
      }
    }
    for (int j=0;j<=val;j++)
    {
      a=j;
      b=a-val;
      if (pow(a,5)-pow(b,5)==n)
      {
        cout<<a<<" "<<b<<endl;
        break;
      }
    }
    else
    {
      int flag=0;
     long long val = 1;
    for (int j=2;j*j<=n;j++)
    {
      if (n%j==0)
      {
        val=j;
        break;
      }
    }
    for (int j=0;j<=val;j++)
    {
      a=j;
      b=a-val;
      if (pow(a,5)-pow(b,5)==n)
      {
        cout<<a<<" "<<b<<endl;
        flag=1;
        break;
      }
    }
     for (int j=0;j<=val;j++)
    {
      a=j;
      b=val-a;
      if (pow(a,5)-pow(b,5)==n)
      {
        cout<<a<<" "<<b<<endl;
        
        break;
      }
    }
    
  }

}


Compiler output:
a.cc: In function 'int main()':
a.cc:31:5: error: expected '}' before 'else'
   31 |     else
      |     ^~~~
a.cc:11:3: note: to match this '{'
   11 |   {
      |   ^
Language: C++

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

using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep2(i, s, n) for (int i = (s); i < (int)(n); i++)
typedef long long ll;
using Graph = vector<vector<int>>;
typedef long long ll;
typedef pair<int, int> P;

const int MOD = 1000000007;
const int INF_32 = 1LL << 30;
const int64_t INF_64 = 1LL << 60;

int main()
{
    ll x;
    cin >> x;
    for (ll a = 0; a <= 1000; a++) {
        ll a5 = 1;
        for (int i = 0; i < 5; i++)
            a5 *= a;
        for (ll b = -1000; b <= 1000; b++) {
            ll b5 = 1;
            for (int i = 0; i < 5; i++)
                b5 *= b;
            if (a5 - b5 == x) {
                cout << a << " " << b << " " << endl;
                return;
            }
        }
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:30:17: error: return-statement with no value, in function returning 'int' [-fpermissive]
   30 |                 return;
      |                 ^~~~~~
Language: C++

l#include <bits/stdc++.h>
using namespace std;
int dx[4] = {1,0,-1,0};
int dy[4] = {0,-1,0,1};
int main(void){
    int x; cin >> x;
    for(int i=-200;i<200;i++){
	for(int j=-200;j<200;j++){
	    long long  t = pow(i,5)-pow(j,5);
	    if(t==x){
		cout << i << " " << j << endl;
		return 0;
	    }
	}
    }
    return 0;
}


Compiler output:
a.cc:1:2: error: stray '#' in program
    1 | l#include <bits/stdc++.h>
      |  ^
a.cc:1:1: error: 'l' does not name a type
    1 | l#include <bits/stdc++.h>
      | ^
a.cc: In function 'int main()':
a.cc:6:12: error: 'cin' was not declared in this scope
    6 |     int x; cin >> x;
      |            ^~~
a.cc:9:28: error: 'pow' was not declared in this scope
    9 |             long long  t = pow(i,5)-pow(j,5);
      |                            ^~~
a.cc:11:17: error: 'cout' was not declared in this scope
   11 |                 cout << i << " " << j << endl;
      |                 ^~~~
a.cc:11:42: error: 'endl' was not declared in this scope
   11 |                 cout << i << " " << j << endl;
      |                                          ^~~~
Language: C++

from sys import stdin
input = stdin.readline

from collections import deque

X = int(input())
s = {}
q = deque()

q.append([1, 0])
while True:
	ab = q.popleft()
	tmp = ab[0] ** 5 - ab[1] ** 5
	if (tmp == X):
		print(ab[0], ab[1])
		quit()
	elif (tmp > X):
		q.append([ab[0] - 1, ab[1]])
		q.append([ab[0], ab[1] - 1])
	else:
		q.append([ab[0] + 1, ab[1]])
		q.append([ab[0], ab[1] - 1])


Compiler output:
a.cc:1:1: error: 'from' does not name a type
    1 | from sys import stdin
      | ^~~~
a.cc:8:1: error: 'q' does not name a type
    8 | q = deque()
      | ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
	int ,x;
	cin>>x;
	for(int i=200;i<=-200;i++){
		for(int j=-200;j<=200;j++){
			if(i*i*i*i*i-j*j*j*j*j==x){
				cout<<i<<" "<<j;
				return 0;
			}
		}
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:13: error: expected unqualified-id before ',' token
    4 |         int ,x;
      |             ^
Language: C++

#include<iostream>
using namespace std;


int main() {
	int X;
	cin >> X;
	int Max = pow(10, 9);
	int A=0, B=0;
	bool cov = false;
	while (true) {

		int A_temp = X + pow(B, 5);
		A = 0;
		while (true) {
			int A_5 = pow(A, 5);
			if (A_5 == A_temp) {
				cov = true;
				break;
			}
			if (A_5 > A_temp) {
				break;
			}
			A++;
		}
		if (cov == true) {
			break;
		}
		B = -B;
		A_temp = X + pow(B, 5);
		A = 0;
		while (true) {
			int A_5 = pow(A, 5);
			if (A_5 == A_temp) {
				cov = true;
				break;
			}
			if (A_5 > A_temp) {
				break;
			}
			A++;
		}
		if (cov == true) {
			break;
		}
		B = -B;
		if (abs(B) > Max) {
			break;
		}

		B++;
	}


	cout << A << " " << B;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:19: error: 'pow' was not declared in this scope
    8 |         int Max = pow(10, 9);
      |                   ^~~
Language: C++

#include<iostream>
using namespace std;


int main() {
	int X;
	cin >> X;
	int Max = pow(10, 9);
	int A=0, B=0;
	bool cov = false;
	while (true) {

		int A_temp = X + pow(B, 5);
		A = 0;
		while (true) {
			int A_5 = pow(A, 5);
			if (A_5 == A_temp) {
				cov = true;
				break;
			}
			if (A_5 > A_temp) {
				break;
			}
			A++;
		}
		if (cov == true) {
			break;
		}
		B = -B;
		A_temp = X + pow(B, 5);
		A = 0;
		while (true) {
			int A_5 = pow(A, 5);
			if (A_5 == A_temp) {
				cov = true;
				break;
			}
			if (A_5 > A_temp) {
				break;
			}
			A++;
		}
		if (cov == true) {
			break;
		}
		B = -B;
		if (abs(B) > Max) {
			break;
		}

		B++;
	}


	cout << A << " " << B;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:19: error: 'pow' was not declared in this scope
    8 |         int Max = pow(10, 9);
      |                   ^~~
Language: C++

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

int main(void) {
  long long X;
  cin >> X;
  for (long long i = 1 i <= 1000; i++) {
    for (long long j = -1000; j <= 1000; j++) {
      if (i * i * i * i * i - j * j * j * j * j == X) {
        cout << i << " " << j << endl;
        return 0;
      }
    }
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:23: error: expected ';' before 'i'
    7 |   for (long long i = 1 i <= 1000; i++) {
      |                       ^~
      |                       ;
Language: C++

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

// int transactionNumber(int n,int heights[]) {
//     int count = 0;
//     for(int i=0;i<n;i++) {
//         for(int j=i+heights[i];j<n;j++) {
//             if(j-i == heights[i]+heights[j])
//                 count++;
//         }
//     }
//     return count;
// }

// int main(int argc, char const *argv[])
// {
//     ios::sync_with_stdio(0);
//     cin.tie(0);
//     int n;
//     cin >> n;
//     int heights[n];
//     for(int i=0;i<n;i++) cin >> heights[i];
//     cout << transactionNumber(n,heights) << '\n';
// }


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

int main(){
  cin.tie(0);
  ios::sync_with_stdio(false);
  cout << fixed << setprecision(20);
  int x,a,b;
  cin >> x;
  for(int i=-74;i<=74;i++) {
    for(int j=-74;j<=74;j++) {
        if(pow(i,5)-pow(j,5) == x) {
            flag = true;
            a = i;
            b = j;
            break;
        }
    }
  }
  if(flag)
    cout << a << " " << b;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:39:13: error: 'flag' was not declared in this scope
   39 |             flag = true;
      |             ^~~~
a.cc:46:6: error: 'flag' was not declared in this scope
   46 |   if(flag)
      |      ^~~~
Language: C++

#include<iostream>
using namespace std;
int main() {
	long long X;
	int A = 0, B = 0;
	cin >> X;

	for (int i = 0; i < 200; i++) {
		for (int j = 0; j < 200; j++) {
			long long Apow5 = 0, Bpow5 = 0;
			Apow5 = pow(j, 5);
			Bpow5 = pow(i, 5);

			if (X == Apow5 - Bpow5) {
				A = j;
				B = i;
				goto END;
			}

			Bpow5 = pow(-i, 5);
			if (X == Apow5 - Bpow5) {
				A = j;
				B = -i;
				goto END;
			}
		}
	}

END:
	cout << A << " " << B << endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:33: error: 'pow' was not declared in this scope; did you mean 'Bpow5'?
   11 |                         Apow5 = pow(j, 5);
      |                                 ^~~
      |                                 Bpow5
Language: C++

using namespace std;
int main() {
	long x,A5,B5;
	int a, b,ansa,ansb;
	cin >> x;
	for (a = 0;a < 100;a++)for (b = 0;b < 100;b++) {
		A5 = a * a * a * a * a;
		B5 = b * b * b * b * b;
		if (x == A5 - B5) {
			ansa = a;
			ansb = b;
			break;
		}
	}
	cout << ansa << " " << ansb << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'cin' was not declared in this scope
    5 |         cin >> x;
      |         ^~~
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:15:9: error: 'cout' was not declared in this scope
   15 |         cout << ansa << " " << ansb << endl;
      |         ^~~~
a.cc:15:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:15:40: error: 'endl' was not declared in this scope
   15 |         cout << ansa << " " << ansb << 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: Java

import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
      	long X = sc.nextInt();
        int A = 0;
        int B = 0;
        boolean tf = false;
		
      	for(int i=-100; i<100; i++){
          for(int j=-100; j<100; j++){
            if(i*i*i*i*i - j*j*j*j*j == X){
              A = i;
              B = j;
              tf = true
              break;
            }
          }
          if(tf) break;
        }
        System.out.println(A+" "+B);
    }
}

Compiler output:
Main.java:16: error: ';' expected
              tf = true
                       ^
1 error
Language: C++

scale=0
a=read()
z=0
for(i=0;200>i;i+=1){
  for(j=0;200>j;j+=1){
    if(i*i*i*i*i - j*j*j*j*j == a){
      print i," ",j
      z=1
      break
    }else if(i*i*i*i*i + j*j*j*j*j == a){
      print i," -",j
      z=1
      break
    }
  }
  if(z==1){
    break
  }
}


Compiler output:
a.cc:1:1: error: 'scale' does not name a type
    1 | scale=0
      | ^~~~~
a.cc:4:9: error: expected unqualified-id before numeric constant
    4 | for(i=0;200>i;i+=1){
      |         ^~~
a.cc:4:15: error: 'i' does not name a type
    4 | for(i=0;200>i;i+=1){
      |               ^
Language: C

#include <iostream>
#include <map>
#include <algorithm>
#include <string>
#include <vector> 
#include <numeric>
#include <cmath>
#include <queue>
#include <iomanip>
#include <functional>


#define CHMAX(a,b) a = std::max(a,b)
#define CHMIN(a,b) a = std::min(a,b)
#define MAXMIN(a,b,c) std::max(a,min(b,c))
#define CHABS(a) a = std::abs(a) 
#define COUT(a) std::cout << a << std::endl
#define CERR(a) std::cerr << a << std::endl
#define FOR(n) for(lli i = 0; i < n; i++)

using namespace std;
using lli = long long int;
using pll = pair<lli, lli>;
using tlll = tuple<lli, lli, lli>;
using vll = vector<lli>;

lli mod197 = 1000000007LL;
lli INF = 10000000000000;

// ax + by = gcd(a,b) 最大公約数
template< typename T >
T extgcd(T a, T b, T& x, T& y) {
	T d = a;
	if (b != 0) {
		d = extgcd(b, a % b, y, x);
		y -= (a / b) * x;
	}
	else {
		x = 1;
		y = 0;
	}
	return d;
}




int main(void) {

	lli A, B, X;

	cin >> X;

	for (A = -2000; A <= 2000; A++) {
		for (B = -2000; B <= 2000; B++) {
			lli x = pow(A, 5) - pow(B, 5);

			if (x == X) {
				cout << A << " " << B << endl;
				return 0;
			}

		}
	}


	return 0;
}


Compiler output:
main.c:1:10: fatal error: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: C

#include <bits/stdc++.h> //g++-9で実行（gcc version 9.3.0），g++だとデフォルトのclang

using namespace std;

//#define int long long                         //intでオーバフローした時の切り替え用
#define debug(x) cerr << #x << ": " << x << endl //エラー出力として変数名と変数の中身表示
#define DEBUG_VEC(v)                   \
    cerr << #v << ":";                 \
    for (int i = 0; i < v.size(); i++) \
        cerr << " " << v[i];           \
    cerr << endl;
#define DEBUG_MAT(v)                          \
    cerr << #v << endl;                       \
    for (int i = 0; i < v.size(); i++)        \
    {                                         \
        for (int j = 0; j < v[i].size(); j++) \
        {                                     \
            cerr << v[i][j] << " ";           \
        }                                     \
        cerr << endl;                         \
    }
#define Sp(p) cout << setprecision(25) << fixed << p << endl; //小数点以下を25桁で表示
#define all(obj) (obj).begin(), (obj).end()
#define pb push_back

//usingエイリアス（別名という意味，型定義のこと）
using ll = long long;
//template <class T> using Vec = std::vector<T>;//エイリアステンプレート

const ll MOD = (ll)1e9 + 7;
//const ll MOD = 998244353;
const ll INF = (ll)1e18 + 1;
const double EPS = 1e-9;
const long double pi = 3.1415926535897932384626433832795028841971L;

//マクロでintをlong longと定義したときはsinged
int main()
{
    cin.tie(0);                  //cinとcoutの同期を切る（高速化)
    ios::sync_with_stdio(false); //iostreamとstdioの同期を切る（高速化)


    ll X;
    cin >> X;
    for(ll A=0;A<INF;A++){
       ll tmp = A*A*A*A*A-X;
       if (tmp>=0){
               for(ll B=0;B<INF;B++){
                   ll tmp2 = B*B*B*B*B;
                   if (tmp2==tmp){
                       cout << A << B << endl;
                       return 0;
                   }                   
                   else if(tmp2>tmp){break;}
               }
       }
       else{
           ll tmp3 = -1*tmp;
           for(ll B=0;B<INF;B++){
                   ll tmp2 = B*B*B*B*B;
                   if (tmp2==tmp3){
                       cout << A << (-1)*B << endl;
                       return 0;
                   }
                   else if(tmp2>tmp3){break;}
               }
       }
    }
    return 0;
}

Compiler output:
main.c:1:10: fatal error: bits/stdc++.h: No such file or directory
    1 | #include <bits/stdc++.h> //g++-9で実行（gcc version 9.3.0），g++だとデフォルトのclang
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <bits/stdc++.h>
#define F first
#define S second
using namespace std;
typedef long long ll;
typedef pair<ll, ll>pll;
void kill(int i, int j)
{
    cout << i << ' ' << j;
    exit(0);
}
int main()
{
    ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
    ll x;
    cin >> x;
    vector<ll>v;
    for(ll i = 0;i <= 4000;++i)
        v.push_back(i * i * i * i * i);
    for(int i = 0;i < v.size();++i)
    {
        for(int j = 0;j < v.size();++j)
        {
            if(v[i] - v[j] == x)
                kill(i, j);
            if(v[i] + v[j] == x)
                kill(i, -j);
        }
    }
    return 0;
}


Compiler output:
a.cc:7:6: error: ambiguating new declaration of 'void kill(int, int)'
    7 | void kill(int i, int j)
      |      ^~~~
In file included from /usr/include/c++/14/csignal:42,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:116,
                 from a.cc:1:
/usr/include/signal.h:112:12: note: old declaration 'int kill(__pid_t, int)'
  112 | extern int kill (__pid_t __pid, int __sig) __THROW;
      |            ^~~~
Language: Java

import java.util.*;
 
class Main{
    public static void main(String[] args){
        Scanner sc=new Scanner(System.in);
        int X=sc.nextInt();
        int ansA=0;
        int ansB=0;
        Out:
        for(int A=0;A<300;A++){
            for(int B=-300;B<300;B++){
                if(A*A*A*A*A - B*B*B*B*B == X){
                    ansA=A;
                    ansB=B;
                    break Out;
                }
            }
        }
        System.out.println(ansA+" "+ansB);
    }
}
import java.util.*;

class Main{
    public static void main(String[] args){
        Scanner sc=new Scanner(System.in);
        int X=sc.nextInt();
        int ansA=0;
        int ansB=0;
        Out:
        for(int A=0;A<300;A++){
            for(int B=-300;B<300;B++){
                if(A*A*A*A*A - B*B*B*B*B == X){
                    ansA=A;
                    ansB=B;
                    break Out;
                }
            }
        }
        System.out.println(ansA+" "+ansB);
    }
}


Compiler output:
Main.java:22: error: class, interface, enum, or record expected
import java.util.*;
^
1 error
Language: C++

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

ll fb(ll b, ll m){
    return  pow(b+m,5)-pow(b,5);
}
int main() {
    ll x;
    cin >> x;
    
    bool judge=false;
    pair<ll,ll> ans;
    vector<ll> yaku(0);
    for(int i=1;i<=sqrt(x);i++){
        if(x%i==0) {
            yaku.push_back(i);
            yaku.push_back(x/i);
        }

    }
    for(auto tmp : yaku){
        for(ll b=-tmp ; ; b++){
            ll f=fb(b,tmp);
            if(f==x){
                ans.first=a;
                ans.second=b;           
                judge = true;
                break;  
            }
            if(f>x){
                break;
            }
        }
        if(judge) break;
    }
    cout << ans.first << " " << ans.second << endl;
    return 0;
}
    



Compiler output:
a.cc: In function 'int main()':
a.cc:26:27: error: 'a' was not declared in this scope
   26 |                 ans.first=a;
      |                           ^
Language: Java

import java.util.*;

class Main{
    public static void main(String[] args){
        Scanner sc=new Scanner(System.in);
        int X=sc.nextInt();
        int ansA=0;
        int ansB=0;
        Out:
        for(int A=0;A<300;A++){
            for(int B=-300;B<300;B++){
                if(A*A*A*A*A - B*B*B*B*B == X){
                    ansA=A;
                    ansB=B;
                    break Out;
                }
            }
        }
        System.out.println(A+" "+B);
    }
}

Compiler output:
Main.java:19: error: cannot find symbol
        System.out.println(A+" "+B);
                           ^
  symbol:   variable A
  location: class Main
Main.java:19: error: cannot find symbol
        System.out.println(A+" "+B);
                                 ^
  symbol:   variable B
  location: class Main
2 errors
Language: C++

#include<bits/stdc++.h>
using namespace std;
#define _GLIBCXX_DEBUG
#define acc_io cin.tie(0);ios::sync_with_stdio(false)
#define all(x) x.begin(),x.end()
#define vvl vector<vector<ll>>
#define vl  vector<ll>
#define rep(i,sta,end) for(ll i=sta;i<end;i++)
#define lcm(a,b) (a)/__gcd((a),(b))*(b)
typedef long long ll;
const ll MOD = 1000000007;
const double PI = acos(-1);
//name[i]   -> vl  name(i)
//name[i][j]-> vvl name(i,vl(j))
//or-> ||
	int a,b,x;
signed main(){
	acc_io;
	cin>>x;
	rep(i,1,1000){
		a=i;
		rep(k,0,5) a*=a;
		rep(j,-1000,1000){
			b=j;
			rep(j,k,5) b*=b;
			if((a-b)==x){
				cout<<a<<" "<<b<<endl;
				return 0;
			}
		}
	}
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:25:31: error: 'k' was not declared in this scope
   25 |                         rep(j,k,5) b*=b;
      |                               ^
a.cc:8:33: note: in definition of macro 'rep'
    8 | #define rep(i,sta,end) for(ll i=sta;i<end;i++)
      |                                 ^~~
Language: C++

#include <bits/stdc++.h>
#define rep(i,n) for(int i=0;i<(n);++i)
using namespace std;
using ll=long long;
int n,x,m,a,b,c,k;
int main(){
  for(cin>>x,a=-118;a<120;a++){
    ll a5=pow(a,5);
    for(b=-119;b<119;b++){
      ll b5=pow(b,5);
      if(a5-b5==x){
        printf("%d %d",a,b);
        return 0;
    }
  }
}

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

import java.util.*;
import java.util.stream.*;

class Main {
    public static void main(String[] args) {
        var scanner = new Scanner(System.in);
        var x = scanner.nextLong();
        var amax = (long) Math.pow( x+0.9, 0.2 );
        for(long a = 1; a <= amax; a++) {
            var b = fact(x - a*a*a*a*a, 5);
            if(b >= 0) {
                System.out.println(a + " " + (-b));
                System.exit(0);
            }
        }
        var bmax = (long) Math.pow( (x/5)+0.9, 0.25 );
        for(long b = 0; b <= bmax; b++) {
            var a = fact(x + b*b*b*b*b, 5);
            if(a > 0) {
                System.out.println(a + " " + b);
                System.exit(0);
            }
        }
    }

    static int fact(long x, int p) {
        assert x >= 0;
        var f = (long) Math.exp(x+0.9, (double) p);
        if(f*f*f*f*f != x) f = -1L;
        return (int) f;
    }
}


Compiler output:
Main.java:28: error: method exp in class Math cannot be applied to given types;
        var f = (long) Math.exp(x+0.9, (double) p);
                           ^
  required: double
  found:    double,double
  reason: actual and formal argument lists differ in length
1 error
Language: Java

import java.util.*;
import java.util.stream.*;

class Main {
  public static void main(String[] args) {
    var scanner = new Scanner(System.in);
    var x = scanner.nextInt();
    // var amax = (int) Math.pow( x+0.9, 0.2 );
    var amax = 120;
    for(int a = 1; a <= amax; a++) {
      var b5 = a*a*a*a*a - x;
      if(b5 < 0) {
        var b = -fact5(-b5);
        if(b < 0) {
          System.out.println(a + " " + b);
          System.exit(0);
        }
      } else {
        var b = fact5(b5);
        if(b >= 0) {
          System.out.println(a + " " + b);
          System.exit(0);
        }
    }
  }
    
  static int fact5(int x) {
    assert x >= 0;
    var r = (int) Math.pow(x + 0.9, 0.2);
    if(x != r*r*r*r*r) r = -1;
    return r;
  }
}


Compiler output:
Main.java:27: error: illegal start of expression
  static int fact5(int x) {
  ^
1 error
Language: Java

import java.util.*;
import java.util.stream.*;

class Main {
  public static void main(String[] args) {
    var scanner = new Scanner(System.in);
    var x = scanner.nextInt();
    var amax = (int) pow( x+0.9, 0.2 );
    for(int a = 1; a <= amax; a++) {
      var b = fact5(x - a*a*a*a*a);
      if(b >= 0) {
        System.out.println(a + " " + (-b));
        System.exit(0);
      }
    }
    var bmax = (int) pow( x/5+0.9, 0.25 );
    for(int b = 1; b <= bmax; b++) {
      var a = fact5(x + b*b*b*b*b);
      if(a >= 0) {
        System.out.println(a + " " + b);
        System.exit(0);
      }
    }
  }
    
  static int fact5(int x) {
    assert x > 0;
    var r = (int) pow(x + 0.9, 0.2);
    if(x > r*r*r*r*r) r = -1;
    return r;
  }
}


Compiler output:
Main.java:8: error: cannot find symbol
    var amax = (int) pow( x+0.9, 0.2 );
                     ^
  symbol:   method pow(double,double)
  location: class Main
Main.java:16: error: cannot find symbol
    var bmax = (int) pow( x/5+0.9, 0.25 );
                     ^
  symbol:   method pow(double,double)
  location: class Main
Main.java:28: error: cannot find symbol
    var r = (int) pow(x + 0.9, 0.2);
                  ^
  symbol:   method pow(double,double)
  location: class Main
3 errors
Language: Java

import java.util.*;
import java.util.stream.*;

class Main {
  public static void main(String[] args) {
    var scanner = new Scanner(System.in);
    var x = scanner.nextInt();
    var amax = (int) pow( x+0.9, 0.2 );
    for(int a = 1; a <= amax; a++) {
      var b = fact5(x - a*a*a*a*a);
      if(b >= 0) {
        System.out.println(a + " " + (-b));
        System.exit(0);
      }
    }
    var bmax = (int) pow( x/5+0.9, 0.25 );
    for(int b = 1; b <= bmax; b++) {
      var a = fact5(x + b*b*b*b*b);
      if(a >= 0) {
        System.out.println(a + " " + b);
        System.exit(0);
      }
    }
    
  static int fact5(int x) {
    assert x > 0;
    var r = (int) pow(x + 0.9, 0.2);
    if(x > r*r*r*r*r) r = -1;
    return r;
  }
}


Compiler output:
Main.java:25: error: illegal start of expression
  static int fact5(int x) {
  ^
1 error
Language: C++

#include<bits/stdc++.h>
using namespace std;
#define pb push_back
#define int long long
#define mp make_pair
#define endl "\n"
#define pii pair<int,int> 
#define ff first
#define ss second
#define mii map<int,int>
#define si set<int>
#define sti stack<int>
#define qi queue<int>
#define vi vector<int>
#define pq priority_queue<int>
#define IOS ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);
const int M=1e9+7;
mii m;
int power5(int x){
    return(x*x*x*x*x);
}

void pre(){
    for(int i=-200;i<=200;i++){
        m.insert({power5(i),i});
    }
}

int32_t main(){
    IOS;
    int n;
    cin>>n;
    pre();
    for(int i=-200;i<=200;i++){
        int y=power5(i);
        int x=n+y;
        if(m.find(x)!=s=m.end()){
            cout<<m.find(x)->ss<<" "<<i<<endl;
            return 0;
        }
    }   
}


Compiler output:
a.cc: In function 'int32_t main()':
a.cc:37:23: error: 's' was not declared in this scope
   37 |         if(m.find(x)!=s=m.end()){
      |                       ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
#define pb push_back
#define int long long
#define mp make_pair
#define endl "\n"
#define pii pair<int,int> 
#define ff first
#define ss second
#define mii map<int,int>
#define si set<int>
#define sti stack<int>
#define qi queue<int>
#define vi vector<int>
#define pq priority_queue<int>
#define IOS ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);
const int M=1e9+7;
mii m;
int power5(int x){
    return(x*x*x*x*x);
}

void pre(){
    for(int i=-200;i<=200;i++){
        m.insert({power5(i),i});
    }
}

int32_t main(){
    IOS;
    int n;
    cin>>n;
    pre();
    for(int i=-200;i<=200;i++){
        int y=power5(i);
        int x=n+y;
        if(m.find(x)!=s.end()){
            cout<<m.find(x)->ss<<" "<<i<<endl;
            return 0;
        }
    }   
}


Compiler output:
a.cc: In function 'int32_t main()':
a.cc:37:23: error: 's' was not declared in this scope
   37 |         if(m.find(x)!=s.end()){
      |                       ^
Language: C

#include <iostream>
#include<bits/stdc++.h>
using namespace std;
bool isPrime(int n){
    if(n==1||n==1){
        return false;
    }
    for(int i=2;i<n;++i){
        if(n%i==0){
            return false;
        }
    }
    return true;
}
int fact(int n){
    int ans = 1;
    for(int i = 1; i<= n; ++i){
        ans *= i;
    }
    return ans;
}


int main()
{
    long long x;
    cin>>x;
    for(long long i = -2000; i <2000; ++i){
        for(long long f= 2000; f > -2000; f--){
            long long e = i*i*i*i*i;
            long long b = f*f*f*f*f;
            if(e-b==x){
                cout<<i<<" "<<f<<endl;
                return 0;
            }
        }
    }
}

Compiler output:
main.c:1:10: fatal error: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: C++

#include<cstdio>
int main()
{
	int X;
	scanf_s("%d", X);
	for (int A = 0; A < 1000; ++A)
		for (int B = -1000; B < A; ++B)
			if (A * A * A * A * A - B * B * B * B * B == X)
			{
				printf_s("%d %d", A, B);
				return 0;
			}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
    5 |         scanf_s("%d", X);
      |         ^~~~~~~
      |         scanf
a.cc:10:33: error: 'printf_s' was not declared in this scope; did you mean 'printf'?
   10 |                                 printf_s("%d %d", A, B);
      |                                 ^~~~~~~~
      |                                 printf
Language: C

#define _GLIBCXX_DEBUG
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#include <bits/stdc++.h>
using namespace std;
using ll = long long;

int main(){
    int x;
    cin >> x;
    ll r;
    for(int a = 1;a <= 1000;a++){
        for(int b = 1;b <= 1000;b++){
            r = a*a*a*a*a-b*b*b*b*b;
            if(r == x){
                cout << a <<" "<< b << "\n";
                exit(0);
            }
        }
    }
}

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

#include <bits/stdc++.h>
using namespace std;
#define REP(i,n) for(int i=0; i<(n); i++)
#define REP2(i,x,n) for(int i=x; i<(n); i++)
#define ALL(n) begin(n),end(n)
#define sz(x) int(x.size())
using int = long long;
const ll LLINF = numeric_limits<long long>::max();
const int mod = 1000000007;
const int INF = 1001001001;
 
int main()
{
    int x;
    cin >> x;
    int d = sqrt(sqrt(x));
    for(int i=0;i<=d;i++){
        int a = pow(i,5);
        int b = -1*(x - a);
        for(int j=0;j<=d;j++){
            int c = pow(j,5);
            if(c==b){
                cout << i << " " << j<<endl;
                return 0;
            }
            if(-c==b){
                cout << i << " " << -j<<endl;
                return 0;
            }
        }
 
 
    }
   
 
    return 0;
}

Compiler output:
a.cc:7:7: error: expected nested-name-specifier before 'int'
    7 | using int = long long;
      |       ^~~
a.cc:8:7: error: 'll' does not name a type
    8 | const ll LLINF = numeric_limits<long long>::max();
      |       ^~
Language: C++

#include <iostream>
#include <algorithm>
#include <vector>

using namespace std;

int main() {

	int X;
	cin >> X;

	for (int i = -120; i <= 120; ++i)
	{
		for (int j = -120; j <= 120; ++j)
		{
			if (powl(i, 5) - powl(j, 5) == X) {
				cout << i << " " << j << endl;
				return 0;
			}
		}
	}

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:29: error: 'powl' was not declared in this scope
   16 |                         if (powl(i, 5) - powl(j, 5) == X) {
      |                             ^~~~
Language: C

#include<stdio.h>
using namespace std;
int main(){
  int x,i,j;
  cin>>x;
  for(i=-120;i<=120;++i)
  {
    for(j=-120;j<=120;++j)
    {
      if(i*i*i*i*i-j*j*j*j*j)
      {
        print(i,j);
        return 0;
      }
    }
  }
}

Compiler output:
main.c:2:1: error: unknown type name 'using'
    2 | using namespace std;
      | ^~~~~
main.c:2:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
    2 | using namespace std;
      |                 ^~~
main.c: In function 'main':
main.c:5:3: error: 'cin' undeclared (first use in this function)
    5 |   cin>>x;
      |   ^~~
main.c:5:3: note: each undeclared identifier is reported only once for each function it appears in
main.c:12:9: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
   12 |         print(i,j);
      |         ^~~~~
      |         printf
Language: C

#include <studio.h>
using namespace std;
int main(){
  int x,i,j;
  cin>>x;
  for(i=-120;i<=120;++i)
  {
    for(j=-120;j<=120;++j)
    {
      if(i*i*i*i*i-j*j*j*j*j==x)
      {
        print(i,j);
      return 0;
      }
    }
  }
}


Compiler output:
main.c:1:10: fatal error: studio.h: No such file or directory
    1 | #include <studio.h>
      |          ^~~~~~~~~~
compilation terminated.
Language: C

#include <bits/stdc++.h>
using namespace std;
int a,b,x;
int main(){
  int a=0;
  int b=0;
  cin >>x;
  for(i=0;i<n;++i){
    for(a=0;a<n;++a)
      for(b=0;b<n;++b)
    a^5-b^5=x;
  }
  cout<<a<<" "<<b<<endl;
}

Compiler output:
main.c: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;
#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 fi first
#define se second
#define mp make_pair
#define itrfor(itr,A) for(auto itr = A.begin(); itr !=A.end();itr++)
template <class T> using reversed_priority_queue = priority_queue<T, vector<T>, greater<T> >;
typedef long long llong;
char moji[26]={'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'};
char moji2[26]={'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z'};
char moji3[10]={'0','1','2','3','4','5','6','7','8','9'};
#define Sort(a) sort(a.begin(),a.end());
#define Reverse(a) reverse(a.begin(),a.end());
#define print(a) cout << a << endl;
#define MOD llong(1e9+7)
#define MAX int(2 * 1e5 +5)
#define debug(x)  cout << #x << " = " << (x) << endl;
#define pi acos(-1.0)
#define int llong
#define INF llong(1e18 + 3)
template<class T> bool chmax(T &a,  T b) {if(a<b){a=b; return 1;} return 0;}
template<class T> bool chmin(T &a,  T b) {if(a>b){a=b; return 1;} return 0;}
bool Add(int &a,int b){a = (a + b) % MOD;}
void myprint(int* A,int A_num){
   REP(i,A_num) cout << A[i] << " ";
   cout << endl;
}

signed main(){
    int x;
    cin >> x;
    int d = x % 5;

    int a = -5;
    while(1){
        int b = a + d;
        if( b * b * b * b * b - a * a * a * a * a == x) break;
        a ++;
        if(a > 10000) break;
    }
    cout << a + d << " " << a << endl;
}

Compiler output:
main.c: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;
typedef long long ll;
using p=pair<int,int>;
#define rep(i,n)for(ll i=0;i<n;i++)

const ll INF = 1001001001;

const double PI=3.141592653;

const ll sosu = 1000000007;//大きい素数

//提出のときに言語がc＋＋似合っていることを確認する

// lからrまでの和
ll sum(ll l,ll r){
  return ((l+r)*(r-l+1))/2;
}

int main(){
      ll x; cin>>x;
      ll ans1=0;
      ll ans2=0;
      for(ll a=-118;a<=119;a++){
        if(flag==false){
          break;
        }
        for(ll b=-119; b<=118;b++){
          if(a*a*a*a*a-b*b*b*b*b==x){
            ans1=a;
            ans2=b;
            break;
          }
        }
      }
      cout<<ans1<<" "<<ans2<<endl;
    
    return 0;
}       

       

Compiler output:
a.cc: In function 'int main()':
a.cc:25:12: error: 'flag' was not declared in this scope
   25 |         if(flag==false){
      |            ^~~~
Language: Java

import java.util.Scanner;

public class ABC166D {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int X = Integer.parseInt(sc.next());
        for (int i = -118; i <= 199; i++) {
            for (int j = -119; j <= 118; j++) {
                if (X == Math.pow(i, 5) - Math.pow(j, 5)) {
                    System.out.println(i + " " + j);
                    return;
                }
            }
        }
    }
}

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

clude <bits/stdc++.h>
using namespace std;
 
int main() {
  int x, i, j;
  int a, b;
  cin >> x;
  for (i=-118; i<120; i++) {
    for (j=-119; j<119; j++) {
      if (pow(i, 5)-pow(j, 5)==x) {
        a = i;
        b = j;
        break;
      }
    }
  }
  
  cout << a << " " << b << endl;
}

Compiler output:
a.cc:1:1: error: 'clude' does not name a type
    1 | clude <bits/stdc++.h>
      | ^~~~~
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope
    7 |   cin >> x;
      |   ^~~
a.cc:10:11: error: 'pow' was not declared in this scope
   10 |       if (pow(i, 5)-pow(j, 5)==x) {
      |           ^~~
a.cc:18:3: error: 'cout' was not declared in this scope
   18 |   cout << a << " " << b << endl;
      |   ^~~~
a.cc:18:28: error: 'endl' was not declared in this scope
   18 |   cout << a << " " << b << endl;
      |                            ^~~~
Language: C++


#include<bits/stdc++.h>
#include<windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
using namespace std;

int i,j,k,l;
int x,y;
int a,b;
int N;

int fiv(int n)
{
	
	return n*n*n*n*n;
}

int main()
{
    //#ifndef ONLINE_JUDGE
    //  freopen("input.txt","r",stdin);
    //  freopen("output.txt","w",stdout);
    //#endif
	
	
	cin >> x;
	for (int i = -200; i <= 200; i++)
	{
		for (int j = -200; j <= 200; j++) 
		{
			if (i*i*i*i*i - fiv(j)== x) 
			{
				cout << i << " " << j << endl;
				return 0;
			}
		}
	}
}
	













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

#include<bits/stdc++.h>

#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
using namespace std;

int i,j,k,l;
int x,y;
int a,b;

int fiv(int n)
{
	int a=n;
	for(int i=2;i<=5;i++)
	{
		a*=n;
	}
	return a;
}

int main()
{
    //#ifndef ONLINE_JUDGE
    //  freopen("input.txt","r",stdin);
    //  freopen("output.txt","w",stdout);
    //#endif
	cin>>x;
	for(a=-200;a<=200;a++)
	{
		for(b=-200;b<=200;b++)
		{
			if(fiv(a)-fiv(b)==x)
			{
				cout<<a<<" "<<b<<endl;
				return 0;
			}
		}
	}
	return 0 ;
}


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


#include<bits/stdc++.h>
#include<windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
using namespace std;

int i,j,k,l;
int x,y;
int a,b;

int fiv(int n)
{
	int a=n;
	for(int i=2;i<=5;i++)
	{
		a*=n;
	}
	return a;
}

int main()
{
    //#ifndef ONLINE_JUDGE
    //  freopen("input.txt","r",stdin);
    //  freopen("output.txt","w",stdout);
    //#endif
	cin>>x;
	for(a=-200;a<=200;a++)
	{
		for(b=-200;b<=200;b++)
		{
			if(fiv(a)-fiv(b)==x)
			{
				cout<<a<<" "<<b<<endl;
				return 0;
			}
		}
	}
	
	
	
	return 0 ;
}













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

import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
      Scanner scn = new Scanner(System.in);
      int x=scn.nextInt();
      int xr=Math.pow(x,(1/5));
      int a=0,b=0;
      boolean flg=true;
      
      while(flg){
        for(b=0;b>=xr;b--){
            if(Math.pow(a,5)-Math.pow(b,5)==x) {
                flg=false;
                break;
            }
        }
        if(flg){
            a++;
        }else break;
      }
      System.out.println(a+" "+b);
    }
}


Compiler output:
Main.java:7: error: incompatible types: possible lossy conversion from double to int
      int xr=Math.pow(x,(1/5));
                     ^
1 error
Language: Java

import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
      Scanner scn = new Scanner(System.in);
      int x=scn.nextDouble();
      int a=0,b=0;
      boolean flg=true;
      
      while(flg){
        for(b=0;b>=(-Math.pow(x,(1/5)));b--){
            if(Math.pow(a,5)-Math.pow(b,5)==x) {
                flg=false;
                break;
            }
        }
        if(flg){
            a++;
        }else break;
      }
      System.out.println(a+" "+b);
    }
}


Compiler output:
Main.java:6: error: incompatible types: possible lossy conversion from double to int
      int x=scn.nextDouble();
                          ^
1 error
Language: C++

#include <bits/stc++.h>
using namespace std;
int main(){
    long long ans, n=0, m=0;
    bool notsolved = true;
    for(int i = -120; i<120&&notsolved; i++){
        for(int j = -120; j<120&&notsolved; j++){
            if(pow(i,5)-pow(j,5)==ans){
                cout << i << " " << j;
                notsolved = false;
            }
        }
    }
}

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

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

int main() {
  int X,a,b; cin >> X;
  for(int i=0;i<120){
    a=i;
    for(int j=-120; j<120;j++){
      b=j;
      if(a**5 - b**5 ==x){
        cout << a << b <<endl;
        break;
      }
    }
  }
}
        

Compiler output:
a.cc: In function 'int main()':
a.cc:6:20: error: expected ';' before ')' token
    6 |   for(int i=0;i<120){
      |                    ^
      |                    ;
a.cc:10:12: error: invalid type argument of unary '*' (have 'int')
   10 |       if(a**5 - b**5 ==x){
      |            ^~
a.cc:10:19: error: invalid type argument of unary '*' (have 'int')
   10 |       if(a**5 - b**5 ==x){
      |                   ^~
a.cc:10:24: error: 'x' was not declared in this scope
   10 |       if(a**5 - b**5 ==x){
      |                        ^
Language: C

#include <bits/stdc++.h>

using namespace std;

int main (void) {
    long long X;
    cin >> X;

    for ( long long A=-200; A<200; A++ ) {
        for ( long long B=-200; B<200; B++ ) {
            if ( A * A * A * A * A - B * B * B * B * B == X ) {
                cout << A << " " << B << endl;
                return 0;
            }
        }
    }
    return 1;
}


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