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

#include <iostream>
#include <string>
using namespace std;
 
int main() {
  long long N;
  cin >> N;
  long long X, Y;
  bool flag = true;
  X = N;
  vector<char> res;
  while(flag) {
    Y = X % 26;
    res.push_back('a'+(Y-1));
    X = X / 26;
    if (X < 26) {
      res.push_back('a'+(X-1));
      break;
    }
  }
  for (int i=res.size()-1;i>=0;i--) {
    cout << res[i];
  }
  cout << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:3: error: 'vector' was not declared in this scope
   11 |   vector<char> res;
      |   ^~~~~~
a.cc:2:1: note: 'std::vector' is defined in header '<vector>'; this is probably fixable by adding '#include <vector>'
    1 | #include <iostream>
  +++ |+#include <vector>
    2 | #include <string>
a.cc:11:10: error: expected primary-expression before 'char'
   11 |   vector<char> res;
      |          ^~~~
a.cc:14:5: error: 'res' was not declared in this scope
   14 |     res.push_back('a'+(Y-1));
      |     ^~~
a.cc:21:14: error: 'res' was not declared in this scope
   21 |   for (int i=res.size()-1;i>=0;i--) {
      |              ^~~
Language: C++


#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define all(x) (x).begin(),(x).end()
const ll INF = 1LL << 60;



int main(){
   unsigned long n;
   cin >> n;
   unsigned long temp=n;
   unsigned long m=n;
   string ans;
   while(true){
       if(temp > 0){
           temp = n / 26;
           ans.push_back('a' + (n % 26) - 1);
           n=temp;
       }
       else{
           ans.push_back('a' + (m%26));
           break;
        }
   reverse(all(ans)); //後ろから順に入れているので逆順にする
   cout << ans << endl;

}

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

#include <iostream>
#include <string>
using namespace std;
using long long ll;

int main() {
  ll N;
  cin >> N;
  ll X, Y;
  bool flag = true;
  X = N;
  vector<char> res;
  while(flag) {
    Y = X % 26;
    res.push_back('a'+(Y-1));
    X = X / 26;
    if (X < 26) {
      res.push_back('a'+(X-1));
      break;
    }
  }
  for (int i=res.size()-1;i>=0;i--) {
    cout << res[i];
  }
  cout << endl;
}

Compiler output:
a.cc:4:7: error: expected nested-name-specifier before 'long'
    4 | using long long ll;
      |       ^~~~
a.cc: In function 'int main()':
a.cc:7:3: error: 'll' was not declared in this scope
    7 |   ll N;
      |   ^~
a.cc:8:10: error: 'N' was not declared in this scope
    8 |   cin >> N;
      |          ^
a.cc:9:5: error: expected ';' before 'X'
    9 |   ll X, Y;
      |     ^~
      |     ;
a.cc:11:3: error: 'X' was not declared in this scope
   11 |   X = N;
      |   ^
a.cc:12:3: error: 'vector' was not declared in this scope
   12 |   vector<char> res;
      |   ^~~~~~
a.cc:2:1: note: 'std::vector' is defined in header '<vector>'; this is probably fixable by adding '#include <vector>'
    1 | #include <iostream>
  +++ |+#include <vector>
    2 | #include <string>
a.cc:12:10: error: expected primary-expression before 'char'
   12 |   vector<char> res;
      |          ^~~~
a.cc:14:5: error: 'Y' was not declared in this scope
   14 |     Y = X % 26;
      |     ^
a.cc:15:5: error: 'res' was not declared in this scope
   15 |     res.push_back('a'+(Y-1));
      |     ^~~
a.cc:22:14: error: 'res' was not declared in this scope
   22 |   for (int i=res.size()-1;i>=0;i--) {
      |              ^~~
Language: C++

#include <iostream>
#include <vector>
 
using namespace std;
int N;
vector<char*> data;
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"}
  
int main(){
  cin>>N;
  int x;
  while(N>26){
  	N%26=x;	
  	(N-y)/26=N;
  	data.push_back(moji[x-1]);
  }
  data.push_back(moji[n-1]);
  for(int i=0;i<data.size();i++)cout<<data[data.size()-i]<<endl;
}

Compiler output:
a.cc:7:119: error: too many initializers for 'char [26]'
    7 | 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"}
      |                                                                                                                       ^
Language: C++

#include <iostream>
#include <vector>

using namespace std;
int N;
vector<char*> data;
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")
  
int main(){
  cin>>N;
  int x;
  while(N>26){
  	N%26=x;	
  	(N-y)/26=N;
  	data.push_back(moji[x-1]);
  }
  data.push_back(moji[n-1]);
  for(int i=0;i<data.size();i++)cout<<data[data.size()-i]<<endl;
}
  

Compiler output:
a.cc:7:119: error: expected '}' before ')' token
    7 | 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")
      |               ~                                                                                                       ^
a.cc:7:119: error: too many initializers for 'char [26]'
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  long long N;
  cin >> N;
  int i=0, j=0;
  long long a = N;
  char henkan [26]="abcdefghijklmnopqrstuvwxyz";
  char ans[10];
  while(a > 0){
    j = a % 26;
    a = a / 26;
    ans[i]=henkan[j];
    i++;
  }
  i--;
  for(j = i; j >= 0; j--){
    cout << ans[j];
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:20: error: initializer-string for 'char [26]' is too long [-fpermissive]
    8 |   char henkan [26]="abcdefghijklmnopqrstuvwxyz";
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Language: C++

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

char remainder(int n,char alph[]){
    int ans;
    char re;
    if((ans = n/26) != 0){
        re += remainder(n/26,alph);
    }
    re += alph[n%26];
}

int main(){
    long n;
    cin >> n;
    char ans;
    char alph[];
    int i=1;
    for(char a='a';a<='z';++a){
        alph[i++] = a;
    }
    ans = remainder(n,alph);
    cout << ans << endl;
}

Compiler output:
a.cc: In function 'char remainder(int, char*)':
a.cc:11:1: warning: no return statement in function returning non-void [-Wreturn-type]
   11 | }
      | ^
a.cc: In function 'int main()':
a.cc:17:10: error: storage size of 'alph' isn't known
   17 |     char alph[];
      |          ^~~~
Language: C++

using namespace std;

int main()
{
	unsigned long long N;
	cin >> N;
	char C[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'};
	vector<unsigned long long> V;
	
	unsigned long long R, tmp;
	
	while(N > 0)
	{
		tmp = N;
		N = tmp / 26;
		R = tmp % 26;
		//cout << R;
		if(R > 0)
		{
			V.push_back(R-1);
		}
	}
	
	for(int i = V.size() - 1; i>=0; i--)
	{
		cout << C[V[i]];
	}
	
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: 'cin' was not declared in this scope
    6 |         cin >> N;
      |         ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | using namespace std;
a.cc:8:9: error: 'vector' was not declared in this scope
    8 |         vector<unsigned long long> V;
      |         ^~~~~~
a.cc:1:1: note: 'std::vector' is defined in header '<vector>'; this is probably fixable by adding '#include <vector>'
  +++ |+#include <vector>
    1 | using namespace std;
a.cc:8:16: error: expected primary-expression before 'unsigned'
    8 |         vector<unsigned long long> V;
      |                ^~~~~~~~
a.cc:20:25: error: 'V' was not declared in this scope
   20 |                         V.push_back(R-1);
      |                         ^
a.cc:24:21: error: 'V' was not declared in this scope
   24 |         for(int i = V.size() - 1; i>=0; i--)
      |                     ^
a.cc:26:17: error: 'cout' was not declared in this scope
   26 |                 cout << C[V[i]];
      |                 ^~~~
a.cc:26:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

#include <bits/stdc++.h>
#define loop2(i, s, n, a) for (long i = long(s); i < long(n); i += a)
#define loop(i, s, n) loop2(i, s, n, 1)
#define rep(i, n) loop(i, 0, n)

using ll = long long;
using namespace std;

int main(){
    ll n; cin >> n;
    
    string ans = "";
    ll nn;
    rep(i,10){
        if(n > (pow(26,i)-1)/25*26 && n <= (pow(26,i+1)-1)/25*26){
            nn = i+1; break;
        }
    }
    // nnは桁数
    while(n>26){
        n -= (pow(26,nn-1)-1)/25*26;
        rep(i,26){
          ll base = pow(26,nn-1)
            if(n > base*i && n <= base*(i+1)){
                ans += 'a'+i; n -= base*i; break;
            }
        }
        n += (pow(26,nn-2)-1)/25*26;
        nn--;
    }
    ans += 'a'+(n-1);
    cout << ans << endl;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:24:13: error: expected ',' or ';' before 'if'
   24 |             if(n > base*i && n <= base*(i+1)){
      |             ^~
Language: C++

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

char remainder(int n,char alph[]){
    int ans;
    char re;
    if((ans = n/26) != 0){
        remainder(n/26,alph);
    }else{
        re += alph[n%26];
    }
}

int main(){
    long n;
    cin >> n;
    char ans;
    char alph[];
    alph[1] = 'a';
    for(int i =2 ;i <= 26 ;i++){
        alph[i] = al - 1 ;
    }
    ans = remainder(n,alph);
    cout << ans << endl;
}

Compiler output:
a.cc: In function 'char remainder(int, char*)':
a.cc:12:1: warning: no return statement in function returning non-void [-Wreturn-type]
   12 | }
      | ^
a.cc: In function 'int main()':
a.cc:18:10: error: storage size of 'alph' isn't known
   18 |     char alph[];
      |          ^~~~
a.cc:21:19: error: 'al' was not declared in this scope
   21 |         alph[i] = al - 1 ;
      |                   ^~
Language: C++

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

char remainder(int n,char alph[]){
    int ans;
    char re;
    if((ans = n/26) != 0){
        remainder(n/26,alph);
    }else{
        re += alph[n%26];
    }
}

int main(){
    long n;
    cin >> n;
    char ans;
    char alph[];
    alph[1] = a;
    for(int i =2 ;i <= 26 ;i++){
        alph[i] = al - 1 ;
    }
    ans = remainder(n,alph);
    cout << ans << endl;
}

Compiler output:
a.cc: In function 'char remainder(int, char*)':
a.cc:12:1: warning: no return statement in function returning non-void [-Wreturn-type]
   12 | }
      | ^
a.cc: In function 'int main()':
a.cc:18:10: error: storage size of 'alph' isn't known
   18 |     char alph[];
      |          ^~~~
a.cc:19:15: error: 'a' was not declared in this scope
   19 |     alph[1] = a;
      |               ^
a.cc:21:19: error: 'al' was not declared in this scope
   21 |         alph[i] = al - 1 ;
      |                   ^~
Language: Java

import java.io.BufferedReader;
import java.io.InputStreamReader;

public class One_Line {

	public static void main(String[] args) throws Exception {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		long t=Long.parseLong(br.readLine().trim());
		

		System.out.println(algo(t));
	}
	
//	/
	
	
	
	public static String algo(long n) {
		if(n<=26) {
			return algo2(n);
		}
		long n2=n/26;
		long n1=n%26;
		String res=algo(n2)+algo2(n1);
		return res;	
	}
	
	public static String algo2(long n) {

		char a=(char)(96+n);

		String s1=String.valueOf(a);
		return s1;
	}
	
	
	

}

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

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

int main() {
  float N;
  cin >> N;
  float A, B, C, D, E, F, G, H, I, J, K;
  float AAA, AA, BBB, BB, CC, DD;
  int P, Q, R, S, T, U, V, W, X, Y, Z;
  
  AAA = fmodf(N, 26*26*26*26);
  AA = fmodf(AAA, 26*26*26);
  A = fmodf(AA, 26*26*26);
  P = A-1;
  N = N-A*26*26*26*26*26*26*26*26*26*26;
  BBB = fmodf(N, 26*26*26);
  BB = fmodf(BBB, 26*26*26);
  B = fmodf(BB, 26*26*26);
  Q = B-1;
  N = N-B*26*26*26*26*26*26*26*26*26;
  CC = fmodf(N, 26*26*26*26);
  C = fmodf(CC, 26*26*26*26);
  R = C-1;
  N = N-C*26*26*26*26*26*26*26*26;
  DD = fmodf(N, 26*26*26*26);
  D = fmodf(DD, 26*26*26);
  S = D-1;
  N = N-D*26*26*26*26*26*26*26;
  E = fmodf(N, 26*26*26*26*26*26);
  T = E-1;
  N = N-E*26*26*26*26*26*26;
  F = fmodf(N, 26*26*26*26*26);
  U = F-1;
  N = N-F*26*26*26*26*26;
  G = fmodf(N, 26*26*26*26);
  V = G-1;
  N = N-G*26*26*26*26;
  H = fmodf(N, 26*26*26);
  W = H-1;
  N = N-H*26*26*26;
  I = fmodf(N, 26*26);
  X = I-1;
  N = N-I*26*26;
  J = fmodf(N, 26);
  Y = J-1;
  N = N-J*26;
  K = N;
  Z = K-1;
  
  vector<int> vec(11);
  vec.at(0) = P;
  vec.at(1) = Q;
  vec.at(2) = R;
  vec.at(3) = S;
  vec.at(4) = T;
  vec.at(5) = U;
  vec.at(6) = V;
  vec.at(7) = W;
  vec.at(8) = X;
  vec.at(9) = Y;
  vec.at(10) = Z;
  
  string Ans; 
  
  for (M = 0; M < 11; M++) {
    if (vec.at(M) == 0)
      Ans += "a";
    if (vec.at(M) == 1)
      Ans += "b";
    if (vec.at(M) == 2)
      Ans += "c";
    if (vec.at(M) == 3)
      Ans += "d";
    if (vec.at(M) == 4)
      Ans += "e";
    if (vec.at(M) == 5)
      Ans += "f";
    if (vec.at(M) == 6)
      Ans += "g";
    if (vec.at(M) == 7)
      Ans += "h";
    if (vec.at(M) == 8)
      Ans += "i";
    if (vec.at(M) == 9)
      Ans += "j";
    if (vec.at(M) == 10)
      Ans += "k";
    if (vec.at(M) == 11)
      Ans += "l";
    if (vec.at(M) == 12)
      Ans += "m";
    if (vec.at(M) == 13)
      Ans += "n";
    if (vec.at(M) == 14)
      Ans += "o";
    if (vec.at(M) == 15)
      Ans += "p";
    if (vec.at(M) == 16)
      Ans += "q";
    if (vec.at(M) == 17)
      Ans += "r";
    if (vec.at(M) == 18)
      Ans += "s";
    if (vec.at(M) == 19)
      Ans += "t";
    if (vec.at(M) == 20)
      Ans += "u";
    if (vec.at(M) == 21)
      Ans += "v";
    if (vec.at(M) == 22)
      Ans += "w";
    if (vec.at(M) == 23)
      Ans += "x";
    if (vec.at(M) == 24)
      Ans += "y";
    if (vec.at(M) == 25)
      Ans += "z";
  }
  cout << Ans << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:66:8: error: 'M' was not declared in this scope
   66 |   for (M = 0; M < 11; M++) {
      |        ^
Language: C++

//<editor-fold desc="definitions">
#include <bits/stdc++.h>
#define se cout << "test ok" << endl;
#define sp << " " <<
#define enl "\n"
using namespace std;
using ll=long long;
using ld=long double;
using pi = pair<int, int>;
using pl = pair<ll, ll>;
using vi = vector<int>;
using vii = vector<vector<int>>;
using viii = vector<vector<vector<int>>>;
using vl = vector<ll>;
using vll = vector<vector<ll>>;
using vlll = vector<vector<vector<ll>>>;
template<class T> using V = vector<T>;
template<class T> using VV = vector<vector<T>>;
template<class T> using VVV = vector<vector<vector<T>>>;
template<class T1, class T2> using P = pair<T1, T2>;
ll mod = ll(1e9)+7;
ll inf = ll(1e18);
void bl(bool b, ostream& out=cout){ out << (b ? "Yes" : "No") << endl; }
void bl2(bool b, ostream& out=cout){ out << (b ? "YES" : "NO") << endl; }
template<typename T> inline bool chmax(T &a, T b){ if(a<b){a=b; return true;} return false; }
template<typename T> inline bool chmin(T &a, T b){ if(a>b){a=b; return true;} return false; }
int dx[] = {1, 0, -1, 0, 1, -1, 1, -1};
int dy[] = {0, 1, 0, -1, 1, -1, -1, 1};

#include "../debug/debug.hpp"
dbg::Debug debug;
//</editor-fold>

class COneQuadrillionAndOneDalmatians {
public:
  void dfs(char c){

  }

  void solve(std::istream& in, std::ostream& out){
    ll n;
    in >> n;
    vector<char> ans;
    ll buf = n;
    while(buf > 0){
      ll r = buf%26LL;
//      r--;
//      if(r < 0) r = 25;
      ans.push_back(char(r+'a'));
      buf /= 26;
    }

    reverse(ans.begin(), ans.end());
    string res;
    for(auto& e : ans){
      if(e == 'a') res += 'z';
      else res += char(e-1);
    }

    out << res << endl;
  }
};


Compiler output:
a.cc:30:10: fatal error: ../debug/debug.hpp: No such file or directory
   30 | #include "../debug/debug.hpp"
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <iostream>
#include <vector>

using namespace std;

int main()
{
	long long N;
	cin >> N;

	vector<char> ans;

	for (int i = 0; N >= 0; i++) {
		N -= 1;
		ans.push_back((char)(N % 26L + 97L));
		if (N >= 26L)
			N /= 26L;
		else
			N = -1;
	}
	reverse(ans.begin(), ans.end());

	for (int i = 0; i < (int)ans.size(); i++) {
		cout << ans.at(i);
	}
	cout << endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:21:9: error: 'reverse' was not declared in this scope
   21 |         reverse(ans.begin(), ans.end());
      |         ^~~~~~~
Language: C++

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

int main() {
	long long n;
	char ans[10000];
	cin >> n;

	int i;
	for (i = 0; n > 26;i++) {
		int m = n % 26;
		n = n / 26;
		ans[i] = 'a'-1 + m ;
	}
	ans[i] = 'a' - 1 + n;

	for (int j = i; j >= 0; j--) cout << ans[j];
	cout << endl;


Compiler output:
a.cc: In function 'int main()':
a.cc:19:22: error: expected '}' at end of input
   19 |         cout << endl;
      |                      ^
a.cc:5:12: note: to match this '{'
    5 | int main() {
      |            ^
Language: C++

#include <iostream>
using LL = long long;
using namespace std;

LL pow_l(LL x, LL n) {
	LL res = 1;
	for (int i = 0; i < n; i++) {
		res *= x;
	}

	return res;
}


int main() {
	
	LL N;
	cin >> N;
	LL keta = 1;
	LL N_ = N;
	// 文字数を求める
	while (true) {
		LL temp = N_ - pow(26, keta);
		if (temp <= 0) {
			break;
		}
		N_ = temp;
		keta++;
	}
	string ans = "";
	int a_ = 'a' - 1;
	N_ = N;
	while (keta >= 0) {
		keta--;
		LL sho = N_ / pow_l(26, keta);
		LL amari = N_ % pow_l(26, keta);
		//if (sho == 0) 
		{
			//cout << keta << " " << sho << endl;
		}
		if (sho >= 27) {
			sho = 26;
			amari = N_ - 26 * pow_l(26, keta);
		}
		char s = a_ + sho;
		ans.append(1, s);
		N_ = amari;
		if (keta == 0) {
			break;
		}
	}
	cout << ans << endl;
	return 0;


}

Compiler output:
a.cc: In function 'int main()':
a.cc:23:32: error: 'pow' was not declared in this scope
   23 |                 LL temp = N_ - pow(26, keta);
      |                                ^~~
Language: C++

// C++ program to find Excel 
// column name from a given 
// column number 
#include <bits/stdc++.h> 
#define MAX 50 
using namespace std; 
  
// Function to print Excel column name for a given column number 
void printString(int n) 
{ 
    char str[MAX]; // To store result (Excel column name) 
    int i = 0; // To store current index in str which is result 
  
    while (n > 0) { 
        // Find remainder 
        int rem = n % 26; 
  
        // If remainder is 0, then a 'Z' must be there in output 
        if (rem == 0) { 
            str[i++] = 'Z'; 
            n = (n / 26) - 1; 
        } 
        else // If remainder is non-zero 
        { 
            str[i++] = (rem - 1) + 'A'; 
            n = n / 26; 
        } 
    } 
    str[i] = '\0'; 
  
    // Reverse the string and print result 
    reverse(str, str + strlen(str)); 
    cout << str << endl; 
  
    return; 
}

int main()
{
  l1 n;
  cin>>n;
  printString(n);
  return 0;

Compiler output:
a.cc: In function 'int main()':
a.cc:40:3: error: 'l1' was not declared in this scope; did you mean 'y1'?
   40 |   l1 n;
      |   ^~
      |   y1
a.cc:41:8: error: 'n' was not declared in this scope; did you mean 'yn'?
   41 |   cin>>n;
      |        ^
      |        yn
a.cc:43:12: error: expected '}' at end of input
   43 |   return 0;
      |            ^
a.cc:39:1: note: to match this '{'
   39 | {
      | ^
Language: Java

import java.util.*;

public class Main { 
	// Driver program to test above function 
	public static void main(String[] args) 
	{ 
		Scanner sc = new Scanner(System.in);
      	long num = sc.nextLong();
      	StringBuilder columnName = new StringBuilder(); 

		while (num > 0) { 
		
			long rem = num % 26; 
			if (rem == 0) { 
				columnName.append("Z"); 
				num = (num / 26) - 1; 
			} 
			else 
			{ 
				columnName.append((char)((rem - 1) + 'A')); 
				num = num / 26; 
			} 
		} 
		String lowerCase = columnName.toString().toLowerCase();
		System.out.println(lowerCase.reverse()); 
	} 
      	
} 



Compiler output:
Main.java:25: error: cannot find symbol
		System.out.println(lowerCase.reverse()); 
		                            ^
  symbol:   method reverse()
  location: variable lowerCase of type String
1 error
Language: C++

#include <iostream>
#include <stdlib.h>
#include <stdio.h>
#include <vector>
#include <algorithm>
#include <iterator>

using namespace std;

int main() {
	long long N;
	cin >> N;
	vector<char> name;

	while (N > 0) {
		decltype(name)::iterator it = name.begin();
		name.insert(it, N % 26 + 96);
		N /= 26;
	}
	string str(name.begin(), name.end());
	cout << str << endl;

	return 0;


Compiler output:
a.cc: In function 'int main()':
a.cc:23:18: error: expected '}' at end of input
   23 |         return 0;
      |                  ^
a.cc:10:12: note: to match this '{'
   10 | int main() {
      |            ^
Language: C++

#include <stdio.h>

int main(void)
{
	char s[1000],ab[26]={"abcdefghijklmnopqrstuvwxyz"};
	long long N,i;
	int a[1000],count=0;
	scanf("%lld",&N);
	for(i=N;i>0;i=(i-i%26)/26){
		if(i%26!=0)a[count]=i%26;
		else a[count]=26;
		count++;
	}
	for(i=count-1;i>=0;i--){
		printf("%c",ab[a[i]-1]);
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:30: error: initializer-string for 'char [26]' is too long [-fpermissive]
    5 |         char s[1000],ab[26]={"abcdefghijklmnopqrstuvwxyz"};
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Language: C++

#include <iostream>
#include <algorithm>

#define int long long

using namespace std;

const int N = 2e5 + 10;

int32_t main()
{
    ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);    
    int n;
    cin >> n;
    --n;
    if (!n) ans = 'a';
    string ans;
    while (n)
    {
        ans += char((n % 26) + 'a');
        n /= 26;
    }
    reverse(ans.begin(), ans.end());
    for (int i = 0; i + 1 < ans.length(); ++i) --ans[i];
    cout << ans;
    return 0;
}

Compiler output:
a.cc: In function 'int32_t main()':
a.cc:16:13: error: 'ans' was not declared in this scope; did you mean 'abs'?
   16 |     if (!n) ans = 'a';
      |             ^~~
      |             abs
Language: Java

import java.util.*;

public class Main { 
	// Driver program to test above function 
	public static void main(String[] args) 
	{ 
		Scanner sc = new Scanner(System.in);
      	long num = sc.nextLong();
      	StringBuilder columnName = new StringBuilder(); 

		while (num > 0) { 
		
			long rem = num % 26; 
			if (rem == 0) { 
				columnName.append("Z"); 
				num = (num / 26) - 1; 
			} 
			else 
			{ 
				columnName.append((char)((rem - 1) + 'A')); 
				num = num / 26; 
			} 
		} 
		columnName.toLowerCase();
		System.out.println(columnName.reverse()); 
	} 
      	
} 



Compiler output:
Main.java:24: error: cannot find symbol
		columnName.toLowerCase();
		          ^
  symbol:   method toLowerCase()
  location: variable columnName of type StringBuilder
1 error
Language: C++

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

typedef long long ll;
typedef long double ld;
typedef pair<int,int> Pii;
typedef pair<ll, ll> Pll;
typedef pair<int, Pii > P1;

#define rep(i,n) for(int i=0;i<n;i++)
#define sor(v) sort(v.begin(),v.end())
#define rev(s) reverse(s.begin(),s.end())
#define lb(vec,a) lower_bound(vec.begin(),vec.end(),a)
#define ub(vec,a) upper_bound(vec.begin(),vec.end(),a)
#define mp1(a,b,c) P1(a,P(b,c))
#define get_arsize(a) (sizeof(a)/sizeof(a[0]))

const ll MOD = 1000000007;
const double EPS = 1e-10;
const int MAX = 200000;

int main() {
  ll n;
  cin >> n;
  ll k = n - 1;
  ll d = 26;
  vector<ll> v;
  while(true) {
    //cout << k << ":" << k%d<< endl;
    v.push_back(k % d);
    if (k / d > 0) {
      k -= k%d;
      k /= d;
    } else {
      break;
    }
  }
  rev(v);
  for(ll i = 0, i < v.size(); ++i) {
      cout << char(int (v[i]) + 'a');
  }
  cout << endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:39:18: error: expected ';' before '<' token
   39 |   for(ll i = 0, i < v.size(); ++i) {
      |                  ^~
      |                  ;
a.cc:39:19: error: expected primary-expression before '<' token
   39 |   for(ll i = 0, i < v.size(); ++i) {
      |                   ^
Language: Java

public class Main {

	public static void main(String[] args) {

		// 読み込み
		Scanner sc = new Scanner(System.in);
		long N = sc.nextLong();
		
		long div = N;
		int mod = 0;
		
		List<Integer> list = new ArrayList<>();
		
		while(true) {
			mod = (int) (div % 26);
			div = div / 26;
			
			list.add(mod);
			
			if(div == 0) {
				break;
			}
		}
		
		Collections.reverse(list);
		
		for(int i : list) {
			
			switch(i) {
			case 1 :
				System.out.print("a");
				break;
			case 2 :
				System.out.print("b");
				break;
			case 3 :
				System.out.print("c");
				break;
			case 4 :
				System.out.print("d");
				break;
			case 5 :
				System.out.print("e");
				break;
			case 6 :
				System.out.print("f");
				break;
			case 7 :
				System.out.print("g");
				break;
			case 8 :
				System.out.print("h");
				break;
			case 9 :
				System.out.print("i");
				break;
			case 10 :
				System.out.print("j");
				break;
			case 11 :
				System.out.print("k");
				break;
			case 12 :
				System.out.print("l");
				break;
			case 13 :
				System.out.print("m");
				break;
			case 14 :
				System.out.print("n");
				break;
			case 15 :
				System.out.print("o");
				break;
			case 16 :
				System.out.print("p");
				break;
			case 17 :
				System.out.print("q");
				break;
			case 18 :
				System.out.print("r");
				break;
			case 19 :
				System.out.print("s");
				break;
			case 20 :
				System.out.print("t");
				break;
			case 21 :
				System.out.print("u");
				break;
			case 22 :
				System.out.print("v");
				break;
			case 23 :
				System.out.print("w");
				break;
			case 24 :
				System.out.print("x");
				break;
			case 25 :
				System.out.print("y");
				break;
			case 26 :
				System.out.print("z");
				break;					
			}
		}
	}
}


Compiler output:
Main.java:6: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:6: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		                 ^
  symbol:   class Scanner
  location: class Main
Main.java:12: error: cannot find symbol
		List<Integer> list = new ArrayList<>();
		^
  symbol:   class List
  location: class Main
Main.java:12: error: cannot find symbol
		List<Integer> list = new ArrayList<>();
		                         ^
  symbol:   class ArrayList
  location: class Main
Main.java:25: error: cannot find symbol
		Collections.reverse(list);
		^
  symbol:   variable Collections
  location: class Main
5 errors
Language: C++

#include <bits/stdc++.h>
char str[1000010];
int mian()
{
	long long n;
	scanf("%d",n);
	sprintf(str,"%d",n);
}


Compiler output:
a.cc: In function 'int mian()':
a.cc:8:1: warning: no return statement in function returning non-void [-Wreturn-type]
    8 | }
      | ^
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C++

#include<iostream>
#include<vector>
#include<string>
#include<algorithm>
#include <queue>
using namespace std;
int main() {
	long long int N;
	cin >> N;
	int num, dig;
	num = N;
	for (int i = 1; i < 10000; i++) {
		if (num - pow(26, i) <= 0) {
			dig = i;
			break;
		}
		num -= pow(26, i);
	}
	string ans;
	num = N;
	for (int i = dig; i > 0; i--) {
		for (int j = 0; j < 26; j++) {
			if (num - pow(26, i-1) <= 0) {
				if(i>1)ans.push_back('a' + j-1);
				else ans.push_back('a' + j);
				break;
			}
			num -= pow(26, i-1);
		}
	}
	cout << ans;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:27: error: 'pow' was not declared in this scope
   13 |                 if (num - pow(26, i) <= 0) {
      |                           ^~~
a.cc:17:24: error: 'pow' was not declared in this scope
   17 |                 num -= pow(26, i);
      |                        ^~~
a.cc:23:35: error: 'pow' was not declared in this scope
   23 |                         if (num - pow(26, i-1) <= 0) {
      |                                   ^~~
a.cc:28:32: error: 'pow' was not declared in this scope
   28 |                         num -= pow(26, i-1);
      |                                ^~~
Language: C++

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

int main() {
  int N;
  cin >> N;
  int k = log(N)/log(26);
  string ans;
  
  for(int i=0;i<k;i++){
    int l = N % pow(26,i);
    if(l==1)
      ans += 'a'
    if(l==2)
      ans += 'b'
    if(l==3)
      ans += 'c'
    if(l==4)
      ans += 'd'
    if(l==5)
      ans += 'e'
    if(l==6)
      ans += 'f'
    if(l==7)
      ans += 'g'
    if(l==8)
      ans += 'h'
    if(l==9)
      ans += 'i'
    if(l==10)
      ans += 'j'
    if(l==11)
      ans += 'k'
    if(l==12)
      ans += 'l'
    if(l==13)
      ans += 'm'
    if(l==14)
      ans += 'n'
    if(l==15)
      ans += 'o'
    if(l==16)
      ans += 'p'
    if(l==17)
      ans += 'q'
    if(l==18)
      ans += 'r'
    if(l==19)
      ans += 's'
    if(l==20)
      ans += 't'
    if(l==21)
      ans += 'u'
    if(l==22)
      ans += 'v'
    if(l==23)
      ans += 'w'
    if(l==24)
      ans += 'x'
    if(l==25)
      ans += 'y'
    if(l==0)
      ans += 'z'
    N -= pow(26,i);
  }
  
  cout << ans << endl;

}




Compiler output:
a.cc: In function 'int main()':
a.cc:12:15: error: invalid operands of types 'int' and '__gnu_cxx::__promote<double>::__type' {aka 'double'} to binary 'operator%'
   12 |     int l = N % pow(26,i);
      |             ~ ^ ~~~~~~~~~
      |             |      |
      |             int    __gnu_cxx::__promote<double>::__type {aka double}
a.cc:14:17: error: expected ';' before 'if'
   14 |       ans += 'a'
      |                 ^
      |                 ;
   15 |     if(l==2)
      |     ~~
Language: C++

#include<iostream>
#include<cmath>
#include<numeric>
#include<functional>
#include<string>
#include<algorithm>
#include<vector>
#include<map>
#include<iomanip>
#include<queue>
#define rep(i,n) for(int i=0;i<n;i++)
#define rep1(i,n) for(int i=1;i<n;i++)
#define ll long long
#define INF 2147483647
using namespace std;
using Graph=vector<vector<int>>;

char num2alpha(int n){
  for(char moji='a';moji<='z';++moji){
    if(n==(int)(moji-'a'+1)){
      return moji;
    }
  }
}
}

int main(){
  ll n; cin>>n;
  vector<int> v;
  while(1){
    ll tmp=n%26;
    if(tmp==0)
      tmp+=26;
    v.push_back(tmp);
    n=n-p;
    n/=26;
    if(n==0){
      break;
    }
  }
  for(auto itr=v.end();itr=v.begin();--itr){
    cout<<num2alpha(*itr);
  }
}

Compiler output:
a.cc:25:1: error: expected declaration before '}' token
   25 | }
      | ^
a.cc: In function 'int main()':
a.cc:35:9: error: 'p' was not declared in this scope
   35 |     n=n-p;
      |         ^
a.cc:41:27: error: could not convert '(itr = v.std::vector<int>::begin())' from '__gnu_cxx::__normal_iterator<int*, std::vector<int> >' to 'bool'
   41 |   for(auto itr=v.end();itr=v.begin();--itr){
      |                        ~~~^~~~~~~~~~
      |                           |
      |                           __gnu_cxx::__normal_iterator<int*, std::vector<int> >
a.cc: In function 'char num2alpha(int)':
a.cc:24:1: warning: control reaches end of non-void function [-Wreturn-type]
   24 | }
      | ^
Language: C++

#include <bits/stdc++.h>
#include <iostream>
char str[10000000000000010];
int mian()
{
	long long n;
	cin>>n;
	sprintf(str,"%d",n);
}


Compiler output:
a.cc: In function 'int mian()':
a.cc:7:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |         cin>>n;
      |         ^~~
      |         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:9:1: warning: no return statement in function returning non-void [-Wreturn-type]
    9 | }
      | ^
Language: Java

import java.util.*;
class Main{
  public static void main(String args[]){
    Scanner obj=new Scanner(System.in);
    long n=obj.nextLong();
    Strinng s="";
    while(n>0){
      if(n%26!=0)
      s=s+(char)(96+n%26);
      else
        s=(char)(122)+s;
      n=n/26;
    }
    System.out.println(s);
  }
}

Compiler output:
Main.java:6: error: cannot find symbol
    Strinng s="";
    ^
  symbol:   class Strinng
  location: class Main
1 error
Language: C++

// One Quadrillion and One Dalmatians.cpp : This file contains the 'main' function. Program execution begins and ends there.
//

#include <iostream>
#include <string>

int main()
{
    unsigned long long q;
    std::cin >> q;

    int d = 1;
    for (d = 1; q - (std::pow(26ull, d)) > 0; d++) q -= (std::pow(26ull, d));

    q--;

    std::string out = "";
    for (int i = d - 1; i >= 0; i--)
    {
        out += 'a' + (q / (unsigned long long)std::pow(26ull, i));
        q %= (unsigned long long)std::pow(26ull, i);
    }

    std::cout << out;
}

// Run program: Ctrl + F5 or Debug > Start Without Debugging menu
// Debug program: F5 or Debug > Start Debugging menu

// Tips for Getting Started: 
//   1. Use the Solution Explorer window to add/manage files
//   2. Use the Team Explorer window to connect to source control
//   3. Use the Output window to see build output and other messages
//   4. Use the Error List window to view errors
//   5. Go to Project > Add New Item to create new code files, or Project > Add Existing Item to add existing code files to the project
//   6. In the future, to open this project again, go to File > Open > Project and select the .sln file


Compiler output:
a.cc: In function 'int main()':
a.cc:13:27: error: 'pow' is not a member of 'std'
   13 |     for (d = 1; q - (std::pow(26ull, d)) > 0; d++) q -= (std::pow(26ull, d));
      |                           ^~~
a.cc:13:63: error: 'pow' is not a member of 'std'
   13 |     for (d = 1; q - (std::pow(26ull, d)) > 0; d++) q -= (std::pow(26ull, d));
      |                                                               ^~~
a.cc:20:52: error: 'pow' is not a member of 'std'
   20 |         out += 'a' + (q / (unsigned long long)std::pow(26ull, i));
      |                                                    ^~~
a.cc:21:39: error: 'pow' is not a member of 'std'
   21 |         q %= (unsigned long long)std::pow(26ull, i);
      |                                       ^~~
Language: C++

/*
このコード、と～おれ!
Be accepted!
∧＿∧　
（｡･ω･｡)つ━☆・*。
⊂　　 ノ 　　　・゜+.
　しーＪ　　　°。+ *´¨)
 　　　　　　　　　.· ´¸.·*´¨) ¸.·*¨)
		  　　　　　　　　　　(¸.·´ (¸.·'* ☆
*/

#include <cstdio>
#include <algorithm>
#include <string>
#include <cmath>
#include <cstring>
#include <vector>
#include <numeric>
#include <iostream>
#include <random>
#include <map>
#include <unordered_map>
#include <queue>
#include <regex>
#include <functional>
#include <complex>
#include <list>
#include <cassert>
#include <iomanip>
#include <set>
#include <stack>
#include <bitset>

////多倍長整数, cpp_intで宣言
//#include <boost/multiprecision/cpp_int.hpp>
//using namespace boost::multiprecision;

#pragma gcc target ("avx2")
#pragma gcc optimization ("Ofast")
#pragma gcc optimization ("unroll-loops")
#define rep(i, n) for(int i = 0; i < (n); ++i)
#define rep1(i, n) for(int i = 1; i <= (n); ++i)
#define rep2(i, n) for(int i = 2; i < (n); ++i)
#define repr(i, n) for(int i = n; i >= 0; --i)
#define reprm(i, n) for(int i = n - 1; i >= 0; --i)
#define printynl(a) printf(a ? "yes\n" : "no\n")
#define printyn(a) printf(a ? "Yes\n" : "No\n")
#define printYN(a) printf(a ? "YES\n" : "NO\n")
#define printim(a) printf(a ? "possible\n" : "imposible\n")
#define printdb(a) printf("%.50lf\n", a) //少数出力
#define printLdb(a) printf("%.50Lf\n", a) //少数出力
#define printdbd(a) printf("%.16lf\n", a) //少数出力(桁少なめ)
#define prints(s) printf("%s\n", s.c_str()) //string出力
#define all(x) (x).begin(), (x).end()
#define allsum(a, b, c) ((a + b) * c / 2LL) //等差数列の和、初項,末項,項数
#define pb push_back
#define rpriq priq<int, vector<int>, greater<int>>
#define deg_to_rad(deg) (((deg)/360.0L)*2.0L*PI)
#define rad_to_deg(rad) (((rad)/2.0L/PI)*360.0L)
#define Please return
#define AC 0
#define manhattan_dist(a, b, c, d) (abs(a - c) + abs(b - d)) /*(a, b) から (c, d) のマンハッタン距離 */
#define inf numeric_limits<double>::infinity();
#define linf numeric_limits<long double>::infinity()

using ll = long long;

constexpr int INF = 1073741823;
constexpr int MINF = -1073741823;
constexpr ll LINF = ll(4661686018427387903);
constexpr ll MOD = 1e9 + 7;
constexpr long double eps = 1e-6;
const long double PI = acosl(-1.0L);

using namespace std;

void scans(string& str) {
	char c;
	str = "";
	scanf("%c", &c);
	if (c == '\n')scanf("%c", &c);
	while (c != '\n' && c != -1 && c != ' ') {
		str += c;
		scanf("%c", &c);
	}
}

void scanc(char& str) {
	char c;
	scanf("%c", &c);
	if (c == -1)return;
	while (c == '\n') {
		scanf("%c", &c);
	}
	str = c;
}

double acot(double x) {
	return PI / 2 - atan(x);
}

ll LSB(ll n) { return (n & (-n)); }

/*-----------------------------------------ここからコード-----------------------------------------*/



int main() {

	ll n;
	scanf("%lld", &n);
	char str[10000];
	_itoa(n, str, 26);
	string s = str;
	for (auto& aa : s)aa = (int)'a' + (int)(aa >= 'a' ? aa - 'a' + 9 + 1 : aa - '0') - 1;
	prints(s);

	Please AC;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:113:9: error: '_itoa' was not declared in this scope
  113 |         _itoa(n, str, 26);
      |         ^~~~~
Language: Java

import java.util.*;

public class Main { 
	
	private static void printString(int columnNumber) 
	{ 
		StringBuilder columnName = new StringBuilder(); 

		while (columnNumber > 0) { 
		
			int rem = columnNumber % 26; 
			if (rem == 0) { 
				columnName.append("Z"); 
				columnNumber = (columnNumber / 26) - 1; 
			} 
			else 
			{ 
				columnName.append((char)((rem - 1) + 'A')); 
				columnNumber = columnNumber / 26; 
			} 
		} 

		System.out.println(columnName.reverse()); 
	} 

	// Driver program to test above function 
	public static void main(String[] args) 
	{ 
		Scanner sc = new Scanner(System.in);
      	int num = sc.nextLong();
      	printString(num);
	} 
} 



Compiler output:
Main.java:30: error: incompatible types: possible lossy conversion from long to int
      	int num = sc.nextLong();
      	                     ^
1 error
Language: Java

import java.util.*;
class atcoder2
{
  public static void main(String args[])
  {
    Scanner sc=new Scanner(System.in);
    long n=sc.nextInt();
    String s="";
    while(n!=0)
    {
      long p=n%26 + 96;
      String str =new Character((char)p).toString();
      s=str+s;
      n=n/26;
    }
    System.out.println(s);
  }
}

Compiler output:
Main.java:12: warning: [removal] Character(char) in Character has been deprecated and marked for removal
      String str =new Character((char)p).toString();
                  ^
1 warning
Language: C++

/*
このコード、と～おれ!
Be accepted!
∧＿∧　
（｡･ω･｡)つ━☆・*。
⊂　　 ノ 　　　・゜+.
　しーＪ　　　°。+ *´¨)
 　　　　　　　　　.· ´¸.·*´¨) ¸.·*¨)
		  　　　　　　　　　　(¸.·´ (¸.·'* ☆
*/

#include <cstdio>
#include <algorithm>
#include <string>
#include <cmath>
#include <cstring>
#include <vector>
#include <numeric>
#include <iostream>
#include <random>
#include <map>
#include <unordered_map>
#include <queue>
#include <regex>
#include <functional>
#include <complex>
#include <list>
#include <cassert>
#include <iomanip>
#include <set>
#include <stack>
#include <bitset>

////多倍長整数, cpp_intで宣言
//#include <boost/multiprecision/cpp_int.hpp>
//using namespace boost::multiprecision;

#pragma gcc target ("avx2")
#pragma gcc optimization ("Ofast")
#pragma gcc optimization ("unroll-loops")
#define rep(i, n) for(int i = 0; i < (n); ++i)
#define rep1(i, n) for(int i = 1; i <= (n); ++i)
#define rep2(i, n) for(int i = 2; i < (n); ++i)
#define repr(i, n) for(int i = n; i >= 0; --i)
#define reprm(i, n) for(int i = n - 1; i >= 0; --i)
#define printynl(a) printf(a ? "yes\n" : "no\n")
#define printyn(a) printf(a ? "Yes\n" : "No\n")
#define printYN(a) printf(a ? "YES\n" : "NO\n")
#define printim(a) printf(a ? "possible\n" : "imposible\n")
#define printdb(a) printf("%.50lf\n", a) //少数出力
#define printLdb(a) printf("%.50Lf\n", a) //少数出力
#define printdbd(a) printf("%.16lf\n", a) //少数出力(桁少なめ)
#define prints(s) printf("%s\n", s.c_str()) //string出力
#define all(x) (x).begin(), (x).end()
#define allsum(a, b, c) ((a + b) * c / 2LL) //等差数列の和、初項,末項,項数
#define pb push_back
#define rpriq priq<int, vector<int>, greater<int>>
#define deg_to_rad(deg) (((deg)/360.0L)*2.0L*PI)
#define rad_to_deg(rad) (((rad)/2.0L/PI)*360.0L)
#define Please return
#define AC 0
#define manhattan_dist(a, b, c, d) (abs(a - c) + abs(b - d)) /*(a, b) から (c, d) のマンハッタン距離 */
#define inf numeric_limits<double>::infinity();
#define linf numeric_limits<long double>::infinity()

using ll = long long;

constexpr int INF = 1073741823;
constexpr int MINF = -1073741823;
constexpr ll LINF = ll(4661686018427387903);
constexpr ll MOD = 1e9 + 7;
constexpr long double eps = 1e-6;
const long double PI = acosl(-1.0L);

using namespace std;

void scans(string& str) {
	char c;
	str = "";
	scanf("%c", &c);
	if (c == '\n')scanf("%c", &c);
	while (c != '\n' && c != -1 && c != ' ') {
		str += c;
		scanf("%c", &c);
	}
}

void scanc(char& str) {
	char c;
	scanf("%c", &c);
	if (c == -1)return;
	while (c == '\n') {
		scanf("%c", &c);
	}
	str = c;
}

double acot(double x) {
	return PI / 2 - atan(x);
}

ll LSB(ll n) { return (n & (-n)); }

/*-----------------------------------------ここからコード-----------------------------------------*/

#include<unistd.h>

int main() {

	ll n;
	scanf("%lld", &n);
	char str[10000];
	itoa(n, str, 26);
	string s = str;
	for (auto& aa : s)aa = (int)'a' + (int)(aa >= 'a' ? aa - 'a' + 9 + 1 : aa - '0') - 1;
	prints(s);

	Please AC;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:113:9: error: 'itoa' was not declared in this scope
  113 |         itoa(n, str, 26);
      |         ^~~~
Language: Java

// Java program to find Excel 
// column name from a given 
// column number 

public class Main { 
	
	private static void printString(long columnNumber) 
	{ 
		StringBuilder columnName = new StringBuilder(); 

		while (columnNumber > 0) { 
		
			int rem = columnNumber % 26; 
			if (rem == 0) { 
				columnName.append("Z"); 
				columnNumber = (columnNumber / 26) - 1; 
			} 
			else 
			{ 
				columnName.append((char)((rem - 1) + 'A')); 
				columnNumber = columnNumber / 26; 
			} 
		} 

		System.out.println(columnName.reverse()); 
	} 

	// Driver program to test above function 
	public static void main(String[] args) 
	{ 
		Scanner sc = new Scanner(System.in);
      	long num = sc.nextLong();
      	printString(num);
	} 
} 



Compiler output:
Main.java:13: error: incompatible types: possible lossy conversion from long to int
			int rem = columnNumber % 26; 
			                       ^
Main.java:31: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:31: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		                 ^
  symbol:   class Scanner
  location: class Main
3 errors
Language: C++

/*
このコード、と～おれ!
Be accepted!
∧＿∧　
（｡･ω･｡)つ━☆・*。
⊂　　 ノ 　　　・゜+.
　しーＪ　　　°。+ *´¨)
 　　　　　　　　　.· ´¸.·*´¨) ¸.·*¨)
		  　　　　　　　　　　(¸.·´ (¸.·'* ☆
*/

#include <cstdio>
#include <algorithm>
#include <string>
#include <cmath>
#include <cstring>
#include <vector>
#include <numeric>
#include <iostream>
#include <random>
#include <map>
#include <unordered_map>
#include <queue>
#include <regex>
#include <functional>
#include <complex>
#include <list>
#include <cassert>
#include <iomanip>
#include <set>
#include <stack>
#include <bitset>

////多倍長整数, cpp_intで宣言
//#include <boost/multiprecision/cpp_int.hpp>
//using namespace boost::multiprecision;

#pragma gcc target ("avx2")
#pragma gcc optimization ("Ofast")
#pragma gcc optimization ("unroll-loops")
#define rep(i, n) for(int i = 0; i < (n); ++i)
#define rep1(i, n) for(int i = 1; i <= (n); ++i)
#define rep2(i, n) for(int i = 2; i < (n); ++i)
#define repr(i, n) for(int i = n; i >= 0; --i)
#define reprm(i, n) for(int i = n - 1; i >= 0; --i)
#define printynl(a) printf(a ? "yes\n" : "no\n")
#define printyn(a) printf(a ? "Yes\n" : "No\n")
#define printYN(a) printf(a ? "YES\n" : "NO\n")
#define printim(a) printf(a ? "possible\n" : "imposible\n")
#define printdb(a) printf("%.50lf\n", a) //少数出力
#define printLdb(a) printf("%.50Lf\n", a) //少数出力
#define printdbd(a) printf("%.16lf\n", a) //少数出力(桁少なめ)
#define prints(s) printf("%s\n", s.c_str()) //string出力
#define all(x) (x).begin(), (x).end()
#define allsum(a, b, c) ((a + b) * c / 2LL) //等差数列の和、初項,末項,項数
#define pb push_back
#define rpriq priq<int, vector<int>, greater<int>>
#define deg_to_rad(deg) (((deg)/360.0L)*2.0L*PI)
#define rad_to_deg(rad) (((rad)/2.0L/PI)*360.0L)
#define Please return
#define AC 0
#define manhattan_dist(a, b, c, d) (abs(a - c) + abs(b - d)) /*(a, b) から (c, d) のマンハッタン距離 */
#define inf numeric_limits<double>::infinity();
#define linf numeric_limits<long double>::infinity()

using ll = long long;

constexpr int INF = 1073741823;
constexpr int MINF = -1073741823;
constexpr ll LINF = ll(4661686018427387903);
constexpr ll MOD = 1e9 + 7;
constexpr long double eps = 1e-6;
const long double PI = acosl(-1.0L);

using namespace std;

void scans(string& str) {
	char c;
	str = "";
	scanf("%c", &c);
	if (c == '\n')scanf("%c", &c);
	while (c != '\n' && c != -1 && c != ' ') {
		str += c;
		scanf("%c", &c);
	}
}

void scanc(char& str) {
	char c;
	scanf("%c", &c);
	if (c == -1)return;
	while (c == '\n') {
		scanf("%c", &c);
	}
	str = c;
}

double acot(double x) {
	return PI / 2 - atan(x);
}

ll LSB(ll n) { return (n & (-n)); }

/*-----------------------------------------ここからコード-----------------------------------------*/

#include <bits/stdc++.h>

int main() {

	ll n;
	scanf("%lld", &n);
	char str[10000];
	itoa(n, str, 26);
	string s = str;
	for (auto& aa : s)aa = (int)'a' + (int)(aa >= 'a' ? aa - 'a' + 9 + 1 : aa - '0') - 1;
	prints(s);

	Please AC;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:113:9: error: 'itoa' was not declared in this scope
  113 |         itoa(n, str, 26);
      |         ^~~~