Language: C++

#define setbits(n) __builtin_popcountll(n)
#define done {cout<<"-1"<<endl; return;}

#define inf INT_MAX
#define ninf INT_MIN
//const ll N = 1e5 + 5;
#define MOD 1000000007
ll power(ll a, ll b)    //a is base, b is exponent
{
	if (b == 0)
		return 1;
	if (b == 1)
		return a;
	if (b % 2 == 1)
		return (power(a, b - 1) * a) % MOD;
	ll q = power(a, b / 2);
	return (q * q) % MOD;
}

void solve() {
	int n;
	cin >> n;
	cout << (power(10, n) + 0LL - 2 * power(9, n) + power(8, n) + MOD) % MOD;
}
int main() {
	ios_base::sync_with_stdio(false);
	cin.tie(0); cout.tie(0);
#ifndef ONLINE_JUDGE
	freopen("inputc.txt", "r", stdin);
	freopen("outputc.txt", "w", stdout);
#endif
	int t = 1;
	//cin>>t;
	while (t--) solve();
	cerr << "Time : " << 1000 * ((double)clock()) / (double)CLOCKS_PER_SEC << "ms\n";
	return 0;
}

Compiler output:
a.cc:8:1: error: 'll' does not name a type
    8 | ll power(ll a, ll b)    //a is base, b is exponent
      | ^~
a.cc: In function 'void solve()':
a.cc:22:9: error: 'cin' was not declared in this scope
   22 |         cin >> n;
      |         ^~~
a.cc:23:9: error: 'cout' was not declared in this scope
   23 |         cout << (power(10, n) + 0LL - 2 * power(9, n) + power(8, n) + MOD) % MOD;
      |         ^~~~
a.cc:23:18: error: 'power' was not declared in this scope
   23 |         cout << (power(10, n) + 0LL - 2 * power(9, n) + power(8, n) + MOD) % MOD;
      |                  ^~~~~
a.cc: In function 'int main()':
a.cc:26:9: error: 'ios_base' has not been declared
   26 |         ios_base::sync_with_stdio(false);
      |         ^~~~~~~~
a.cc:27:9: error: 'cin' was not declared in this scope
   27 |         cin.tie(0); cout.tie(0);
      |         ^~~
a.cc:27:21: error: 'cout' was not declared in this scope
   27 |         cin.tie(0); cout.tie(0);
      |                     ^~~~
a.cc:29:36: error: 'stdin' was not declared in this scope
   29 |         freopen("inputc.txt", "r", stdin);
      |                                    ^~~~~
a.cc:1:1: note: 'stdin' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | #define setbits(n) __builtin_popcountll(n)
a.cc:29:9: error: 'freopen' was not declared in this scope
   29 |         freopen("inputc.txt", "r", stdin);
      |         ^~~~~~~
a.cc:30:37: error: 'stdout' was not declared in this scope
   30 |         freopen("outputc.txt", "w", stdout);
      |                                     ^~~~~~
a.cc:30:37: note: 'stdout' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:35:9: error: 'cerr' was not declared in this scope
   35 |         cerr << "Time : " << 1000 * ((double)clock()) / (double)CLOCKS_PER_SEC << "ms\n";
      |         ^~~~
a.cc:35:46: error: 'clock' was not declared in this scope
   35 |         cerr << "Time : " << 1000 * ((double)clock()) / (double)CLOCKS_PER_SEC << "ms\n";
      |                                              ^~~~~
a.cc:1:1: note: 'clock' is defined in header '<ctime>'; this is probably fixable by adding '#include <ctime>'
  +++ |+#include <ctime>
    1 | #define setbits(n) __builtin_popcountll(n)
a.cc:35:65: error: 'CLOCKS_PER_SEC' was not declared in this scope
   35 |         cerr << "Time : " << 1000 * ((double)clock()) / (double)CLOCKS_PER_SEC << "ms\n";
      |                                                                 ^~~~~~~~~~~~~~