Language: C++

#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep1(i, n) for (int i = 1; i <= (int)(n); i++)
#define rev(i, n) for(int i = (int)(n - 1); i >= 0; i--)
#define rev1(i, n) for(int i = (int)(n); i > 0; i--)
#define pb push_back
#define all(v) (v).begin(), (v).end()
#define resort(v) sort((v).rbegin(), (v).rend())
#define vi vector<int>
#define vvi vector<vector<int>>
using ll = long long;
using P = pair<int, int>;
/* ------------------------------------------------ */
ll fact(int i) {       //階乗(i <= 20 まで)
    if (i == 0) return 1;
    return (fact(i - 1)) * i;
}
ll gcd(ll a, ll b) {        //最大公約数
    if(b == 0) return a;
    return gcd(b, a % b); 
}
ll lcm(ll a, ll b) {      //最小公倍数
    return a * b / gcd(a, b);
}
int keta(ll n) {        //桁数を求める
    if(n == 0) return 1;
    int count = 0;
    while(n != 0) {
        n /= 10;
        count++;
    }
    return count;
}
ll ketasum(ll n) {    //各桁の和
    ll sum = 0;
    while(n != 0) {
        sum += n % 10;
        n /= 10;
    }
    return sum;
}
/* ------------------------------------------------ */

int main() {
    ll x;
    cin >> x;
    for(int i = -300;i<=300;i++) {
        for(int j = -300;j<=300;j++) {
            if(i*i*i*i*i-j*j*j*j*j==x){
                cout << i << ' ' << j << endl;
                return 0;
            }
        }
    }#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep1(i, n) for (int i = 1; i <= (int)(n); i++)
#define rev(i, n) for(int i = (int)(n - 1); i >= 0; i--)
#define rev1(i, n) for(int i = (int)(n); i > 0; i--)
#define pb push_back
#define all(v) (v).begin(), (v).end()
#define resort(v) sort((v).rbegin(), (v).rend())
#define vi vector<int>
#define vvi vector<vector<int>>
using ll = long long;
using P = pair<int, int>;
/* ------------------------------------------------ */
ll fact(int i) {       //階乗(i <= 20 まで)
    if (i == 0) return 1;
    return (fact(i - 1)) * i;
}
ll gcd(ll a, ll b) {        //最大公約数
    if(b == 0) return a;
    return gcd(b, a % b); 
}
ll lcm(ll a, ll b) {      //最小公倍数
    return a * b / gcd(a, b);
}
int keta(ll n) {        //桁数を求める
    if(n == 0) return 1;
    int count = 0;
    while(n != 0) {
        n /= 10;
        count++;
    }
    return count;
}
ll ketasum(ll n) {    //各桁の和
    ll sum = 0;
    while(n != 0) {
        sum += n % 10;
        n /= 10;
    }
    return sum;
}
/* ------------------------------------------------ */

int main() {
    ll x;
    cin >> x;
    for(int i = -400;i<=400;i++) {
        for(int j = -400;j<=400;j++) {
            if(i*i*i*i*i-j*j*j*j*j==x){
                cout << i << ' ' << j << endl;
                return 0;
            }
        }
    }
    

    
}
    

    
}

Compiler output:
a.cc:55:6: error: stray '#' in program
   55 |     }#include <bits/stdc++.h>
      |      ^
a.cc: In function 'int main()':
a.cc:55:7: error: 'include' was not declared in this scope
   55 |     }#include <bits/stdc++.h>
      |       ^~~~~~~
a.cc:55:16: error: 'bits' was not declared in this scope
   55 |     }#include <bits/stdc++.h>
      |                ^~~~
a.cc:55:21: error: 'stdc' was not declared in this scope; did you mean 'std'?
   55 |     }#include <bits/stdc++.h>
      |                     ^~~~
      |                     std
a.cc:56:1: error: expected primary-expression before 'using'
   56 | using namespace std;
      | ^~~~~
a.cc:69:16: error: a function-definition is not allowed here before '{' token
   69 | ll fact(int i) {       //階乗(i <= 20 まで)
      |                ^
a.cc:73:20: error: a function-definition is not allowed here before '{' token
   73 | ll gcd(ll a, ll b) {        //最大公約数
      |                    ^
a.cc:77:20: error: a function-definition is not allowed here before '{' token
   77 | ll lcm(ll a, ll b) {      //最小公倍数
      |                    ^
a.cc:80:16: error: a function-definition is not allowed here before '{' token
   80 | int keta(ll n) {        //桁数を求める
      |                ^
a.cc:89:18: error: a function-definition is not allowed here before '{' token
   89 | ll ketasum(ll n) {    //各桁の和
      |                  ^
a.cc:99:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
   99 | int main() {
      |         ^~
a.cc:99:9: note: remove parentheses to default-initialize a variable
   99 | int main() {
      |         ^~
      |         --
a.cc:99:9: note: or replace parentheses with braces to value-initialize a variable
a.cc:99:12: error: a function-definition is not allowed here before '{' token
   99 | int main() {
      |            ^