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

#include <iostream>

#include <string>

#include <math.h>

#include <algorithm>

#include <iomanip>

#include <vector>

#include <set>

#include <list>

#include <queue>

#include <stack>

#include <map>

using namespace std;

#define _CRT_SECURE_NO_WARNINGS

#define Abs                           \

	ios_base::sync_with_stdio(false); \	cout.tie(NULL);                   \

	cin.tie(NULL);

#define FOR(i, b, a) for (ll i = b; i < a; i++)

#define FOR1(i, b, a) for (ll i = b; i <= a; i++)

#define FORd(i, b, a) for (ll i = (a)-1; i >= b; i--)

const double PI = acos(-1);

#define all(v) ((v).begin()), ((v).end())

#define allr(v) ((v).rbegin()), ((v).rend())

#define iq(v)   v.resize(unique(v.begin(), v.end()) - v.begin())

#define endl "\n"

#define sz(v) ((ll)((v).size()))

#define fx(n)           fixed << setprecision(n)

typedef unsigned long long ull;

typedef long long ll;

typedef vector<ll> vi;

typedef pair<ll, ll> pii;

const int mod = 1e9 + 7;

int main()

{

	Abs;

	ll n;

	cin >> n;

	string s = "", s1 = "z";

	for (char i = 'a'; i < 'z'; i++)

		s1 += i;

	if (n == 26)

		cout << 'z';

	else if (n < 26)

		cout << s1[n];

	else

	{

		while (n > 0)

		{

			ll k = (n % 26);

			s += s1[k];

			n = (n / 26);

		}

		reverse(all(s));

		cout << s;

	}

}

Compiler output:
a.cc:29:43: error: stray '\' in program
   29 |         ios_base::sync_with_stdio(false); \     cout.tie(NULL);                   \
      |                                           ^
a.cc:29:34: error: expected constructor, destructor, or type conversion before '(' token
   29 |         ios_base::sync_with_stdio(false); \     cout.tie(NULL);                   \
      |                                  ^
a.cc:29:49: error: 'cout' does not name a type
   29 |         ios_base::sync_with_stdio(false); \     cout.tie(NULL);                   \
      |                                                 ^~~~
a.cc:31:9: error: 'cin' does not name a type
   31 |         cin.tie(NULL);
      |         ^~~
Language: Java

import java.util.*;

class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long n = sc.nextLong();
    n--;
    long i = 0;
    ArrayList<Integer> name = new ArrayList<Integer>();

    //String base26 = Integer.toString(n-1, 26);

    while(n > 0) {
      long tmp = n % 26;
      n /= 26;
      if(i==0){
        tmp++;
      }
      tmp += 96;
      name.add(tmp);
      i++;
    }

    //listから配列へ変換(int)
    int[] hoge = new int[name.size()];
    for(int j=0; j<name.size();j++) {
      hoge[j] = name.get(j);
    }
    //System.out.println(name.get(0));
    //System.out.println(hoge[0]);

    String[] ansname =new String[name.size()];
    //数値をストリングに変換して， 文字列配列にいれる
    for(int j=0; j<name.size();j++) {
      String ans = Character.toString((char) hoge[j]);
      ansname[name.size()-j-1] = ans;
    }
    for(int j=0; j<name.size();j++) {
      System.out.print(ansname[j]);
    }
	}
}


Compiler output:
Main.java:20: error: incompatible types: long cannot be converted to Integer
      name.add(tmp);
               ^
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
1 error
Language: Java

import java.util.*;
public class Main
{
 public static void main(String[] args)throws Exception
  {
    Scanner sc=new Scanner(System.in);
    long n=sc.nextLong();
    long begin[]=new long[10];
    long end[]=new long[10];
    begin[0]=1;
    end[0]=26;
    for(int i=1;i<10;i++)
    {
      begin[i]=end[i-1]+1;
      int p=2;
      end[i]=(long)(Math.pow(26,p));
      for(int k=1;k<p;k++)
        end[i]-=(long)(Math.pow(26,k));
      p++;
    }
   String s="";
   for(int i=0;i<10;i++)
   {
     if(n>=begin[i]&&n<=end[i])
     {
       while(n!=0)
       {
         int r=int(n%begin[i]);
         s+=(char)(96+r);
         n=long(n/begin[i]);
       }
       System.out.println(s);break;
     }
   }
  }
}

Compiler output:
Main.java:28: error: '.class' expected
         int r=int(n%begin[i]);
                  ^
Main.java:28: error: not a statement
         int r=int(n%begin[i]);
                    ^
Main.java:28: error: ';' expected
         int r=int(n%begin[i]);
                             ^
Main.java:30: error: '.class' expected
         n=long(n/begin[i]);
               ^
Main.java:30: error: not a statement
         n=long(n/begin[i]);
                 ^
Main.java:30: error: ';' expected
         n=long(n/begin[i]);
                          ^
6 errors
Language: Java

import java.util.*;
public class Main{
   public static void main(String[] args) {
     Scanner sc = new Scanner(System.in);
     long  n = sc.nextLong();
     int i = 0,j;
     int tmp = n;
     while(true){
       i++;
       if(tmp<=(int)Math.pow(26,i)){
          break;        
       }else{
         tmp-=(int)Math.pow(26,i);
       }
     }
     char[] ans = new char[100];
     for (j = 1;j<i;j++){
       n-=(int)Math.pow(26,j);
     }
     n--;
     int test;
     for(j=1;j<=i;j++){
       test = 26;
       ans[j-1] = 'a';
       ans[j-1] += n%test;
       n -= n%test;
       n /=test;
     }
     for(j=i-1;j>=0;j--){
       System.out.print(ans[j]);
     }
     
   }
   
}


Compiler output:
Main.java:7: error: incompatible types: possible lossy conversion from long to int
     int tmp = n;
               ^
1 error
Language: Java

import java.util.*;

public class Main{
	public static void main(String args[]){
    	Scanner sc = new Scanner(System.in);
        
        long n = sc.nextLong();
      
      	List<String> alpa = Arrays.asList("","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");
      
		long r = 0L;
      	String result = "";
      
      	while(n < 26){
        	r = n/26L;
          	n -= r*26L;
          
          	result += alpa.get(Integer.parseInt(r));
        }
      	if(n != 0)
          result += alpa.get(Integer.parseInt(r));
      
      	System.out.print(r);
    }
}


Compiler output:
Main.java:18: error: incompatible types: long cannot be converted to String
          	result += alpa.get(Integer.parseInt(r));
          	                                    ^
Main.java:21: error: incompatible types: long cannot be converted to String
          result += alpa.get(Integer.parseInt(r));
                                              ^
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
2 errors
Language: Java

import java.util.*;

public class Main{
	public static void main(String args[]){
    	Scanner sc = new Scanner(System.in);
        
        long n = sc.nextLong();
      
      	List<String> alpa = Arrays.asList("","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");
      
		long r = 0L;
      	String result = "";
      
      	while(n < 26){
        	r = n/26L;
          	n -= r*26L;
          
          	result += alpa.get(Integer.parse(r));
        }
      	if(n != 0)
          result += alpa.get(Integer.parse(r));
      
      	System.out.print(r);
    }
}


Compiler output:
Main.java:18: error: cannot find symbol
          	result += alpa.get(Integer.parse(r));
          	                          ^
  symbol:   method parse(long)
  location: class Integer
Main.java:21: error: cannot find symbol
          result += alpa.get(Integer.parse(r));
                                    ^
  symbol:   method parse(long)
  location: class Integer
2 errors
Language: C++

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

int main() {
  int64_t N;cin>>N;
  int L;int M=0;
  for (int i=0;i++){
    if(M<N && N<std::pow(26,i+1)+M){
      L = i+1;
      break;
    }
    else{
      M=std::pow(26,i+1);
    }
  }
  int64_t Nt=N-M-1;
  vector<int> vec(L);
  for(int j=0;j<L;j++;){
    vec.at(j) = Nt/std::pow(26,M-j);
    Nt = Nt - vec.at(j)*std::pow(26,M-j);
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:19: error: expected ';' before ')' token
    7 |   for (int i=0;i++){
      |                   ^
      |                   ;
a.cc:18:22: error: expected ')' before ';' token
   18 |   for(int j=0;j<L;j++;){
      |      ~               ^
      |                      )
a.cc:18:23: error: expected primary-expression before ')' token
   18 |   for(int j=0;j<L;j++;){
      |                       ^
Language: Java

import java.util.*;

public class Main{
	public static void main(String args[]){
    	Scanner sc = new Scanner(System.in);
        
        long n = sc.nextLong();
      
      	List<String> alpa = Arrays.asList("","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");
      
		long r = 0L;
      	String result = "";
      
      	while(n < 26){
        	r = n/26L;
          	n -= r*26L;
          
          	result += alpa.get(r);
        }
      	if(n != 0)
          result += alpa.get(r);
      
      	System.out.print(r);
    }
}


Compiler output:
Main.java:18: error: incompatible types: possible lossy conversion from long to int
          	result += alpa.get(r);
          	                   ^
Main.java:21: error: incompatible types: possible lossy conversion from long to int
          result += alpa.get(r);
                             ^
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
2 errors
Language: Java

import java.util.*;

public class Main{
	public static void main(String args[]){
    	Scanner sc = new Scanner(System.in);
        
        long n = sc.nextLong();
      
      	List<String> alpa = Arrays.asList("","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 r = 0;
      	String result = "";
      
      	while(n < 26){
        	r = n/26;
          	n -= r*26;
          
          	result += alpa.get(r);
        }
      	if(n != 0)
          result += alpa.get(r);
      
      	System.out.print(r);
    }
}


Compiler output:
Main.java:15: error: incompatible types: possible lossy conversion from long to int
        	r = n/26;
        	     ^
1 error
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  long long N;
  long long X=0;
  long long Y=0;
  cin >> N;
  long long Z=N;
  for (X=26; X<N/26; X*=26){
  }
  for (;X>=26;X/=26){
    cout << (cher)Z/X+71;
    Z=Z%X;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:14: error: 'cher' was not declared in this scope; did you mean 'char'?
   13 |     cout << (cher)Z/X+71;
      |              ^~~~
      |              char
Language: Java

import java.util.*;

public class Main{
	public static void main(String args[]){
    	Scanner sc = new Scanner(System.in);
        
        long n = sc.nextLong();
      
      	String alpa = Arrays.asList("","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 r = 0;
      	String result = "";
      
      	while(n < 26){
        	r = n/26;
          	n -= r*26;
          
          	result += alpa.get(r);
        }
      	if(n != 0)
          result += alpa.get(r);
      
      	System.out.print(r);
    }
}


Compiler output:
Main.java:9: error: incompatible types: no instance(s) of type variable(s) T exist so that List<T> conforms to String
      	String alpa = Arrays.asList("","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");
      	                           ^
  where T is a type-variable:
    T extends Object declared in method <T>asList(T...)
Main.java:15: error: incompatible types: possible lossy conversion from long to int
        	r = n/26;
        	     ^
Main.java:18: error: cannot find symbol
          	result += alpa.get(r);
          	              ^
  symbol:   method get(int)
  location: variable alpa of type String
Main.java:21: error: cannot find symbol
          result += alpa.get(r);
                        ^
  symbol:   method get(int)
  location: variable alpa of type String
4 errors
Language: C++

#include<iostream>
#include<vector>
#include<string>
#include<algorithm>
#include <queue>
#include <math.h>
using namespace std;
int main() {
	long long int N;
	cin >> N;
	long long int num,
	int 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 = 1; i <=dig; i++) {
		for (int j = 1; j <= 26; j++) {
			int ptr = num - j*pow(26, i - 1);
			int DIG = pow(26, i);
			if ( ptr % DIG==0) {
				ans.push_back('a' + j-1 );
				num -= j * pow(26, i - 1);
				break;
			}
		}
	}
	reverse(ans.begin(), ans.end());
	cout << ans;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:9: error: expected unqualified-id before 'int'
   12 |         int dig;
      |         ^~~
a.cc:16:25: error: 'dig' was not declared in this scope; did you mean 'div'?
   16 |                         dig = i;
      |                         ^~~
      |                         div
a.cc:23:29: error: 'dig' was not declared in this scope; did you mean 'div'?
   23 |         for (int i = 1; i <=dig; i++) {
      |                             ^~~
      |                             div
Language: C++

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

int main(){
  int64_t N;cin>>N;
  vector<int64_t> A(15);
  while(N<=26LL){
  if(N>=26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL){
    A[0] = N/26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL;
    N = N % 26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL;
  }
  else if(N>=26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL){
    A[1] = N/26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL;
    N = N % 26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL;
  }
  else if(N>=26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL){
    A[2] = N/26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL;
    N = N % 26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL;
  }
  else if(N>=26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL){
    A[3] = N/26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL;
    N = N % 26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL;
  }
   else if(N>=26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL){
    A[4] = N/26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL;
    N = N % 26LL*26LL*26LL*26LL*26LL*26LL*26LL*26LL;
  }
  else if(N>=26LL*26LL*26LL*26LL*26LL*26LL*26LL){
    A[5] = N/26LL*26LL*26LL*26LL*26LL*26LL*26LL;
    N = N % 26LL*26LL*26LL*26LL*26LL*26LL*26LL;
  }
  else if(N>=26LL*26LL*26LL*26LL*26LL*26LL){
    A[6] = N/26LL*26LL*26LL*26LL*26LL*26LL;
    N = N % 26LL*26LL*26LL*26LL*26LL*26LL;
  }
  else if(N>=26LL*26LL*26LL*26LL*26LL*26LL){
    A[6] = N/26LL*26LL*26LL*26LL*26LL*26LL;
    N = N % 26LL*26LL*26LL*26LL*26LL*26LL;
  }
  else if(N>=26LL*26LL*26LL*26LL*26LL){
    A[7] = N/26LL*26LL*26LL*26LL*26LL;
    N = N % 26LL*26LL*26LL*26LL*26LL;
  }
  else if(N>=26LL*26LL*26LL*26LL){
    A[8] = N/26LL*26LL*26LL*26LL;
    N = N % 26LL*26LL*26LL*26LL;
  }
  else if(N>=26LL*26LL*26LL){
    A[9] = N/26LL*26LL*26LL;
    N = N % 26LL*26LL*26LL;
  }
  else if(N>=26LL*26LL){
    A[10] = N/26LL*26LL;
    N = N % 26LL*26LL;
  }
  else{
    A[11] = N/26LL;
    N = N % 26LL;
    A[12] = N;
  }
  }
  for(int i=0;i<14;i++){
    if(A[i]!=0)cout<<char(A[i]+96)<<;
  }
}
  


Compiler output:
a.cc: In function 'int main()':
a.cc:63:37: error: expected primary-expression before ';' token
   63 |     if(A[i]!=0)cout<<char(A[i]+96)<<;
      |                                     ^
Language: C++

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

int main() {
 int64_t N, p, a;
  string ans;
  ans="";
  vector<string> q = {"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"};
  if (N>=std::pow(27,10)) {
    for (int i = 0; i <11; i++) {
      a = std::pow(27,(10-i));
      p=(N-(N%a))/a;
      ans = ans + q.at(p-1);
    }
  }
   if ((N>=std::pow(27,9))&&(N<std::pow(27,10))) {
    for (int i = 0; i <10; i++) {
      a = std::pow(27,(9-i));
      p=(N-(N%a))/a;
      ans = ans + q.at(p-1);
    }
  }
  if ((N>=std::pow(27,8))&&(N<std::pow(27,9))) {
    for (int i = 0; i <9; i++) {
      a = std::pow(27,(8-i));
      p=(N-(N%a))/a;
      ans = ans + q.at(p-1);
    }
  }
  if ((N>=std::pow(27,7))&&(N<std::pow(27,8))) {
    for (int i = 0; i <8; i++) {
      a = std::pow(27,(7-i));
      p=(N-(N%a))/a;
      ans = ans + q.at(p-1);
    }
  }
  if ((N>=std::pow(27,6))&&(N<std::pow(27,7))) {
    for (int i = 0; i <7; i++) {
      a = std::pow(27,(6-i));
      p=(N-(N%a))/a;
      ans = ans + q.at(p-1);
    }
  }
  if ((N>=std::pow(27,5))&&(N<std::pow(27,6))) {
    for (int i = 0; i <6; i++) {
      a = std::pow(27,(5-i));
      p=(N-(N%a))/a;
      ans = ans + q.at(p-1);
    }
  }
  if ((N>=std::pow(27,4))&&(N<std::pow(27,5))) {
    for (int i = 0; i <5; i++) {
      a = std::pow(27,(4-i));
      p=(N-(N%a))/a;
      ans = ans + q.at(p-1);
    }
  }
 if ((N>=std::pow(27,3))&&(N<std::pow(27,4))) {
    for (int i = 0; i <4; i++) {
      a = std::pow(27,(3-i));
      p=(N-(N%a))/a;
      ans = ans + q.at(p-1);
    }
  }
  if ((N>=std::pow(27,2))&&(N<std::pow(27,3))) {
    for (int i = 0; i <3; i++) {
      a = std::pow(27,(2-i));
      p=(N-(N%a))/a;
      ans = ans + q.at(p-1);
    }
  }
  if ((N>=27)&&(N<27*27)) {
    for (int i = 0; i <2; i++) {
      a = std::pow(27,(1-i));
      p=(N-(N%a))/a;
      ans = ans + q.at(p-1);
    }
  }
  if ((N>=1)&&(N<27)) {
    ans = q.at(N-1)
  }
  cout << ans << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:80:20: error: expected ';' before '}' token
   80 |     ans = q.at(N-1)
      |                    ^
      |                    ;
   81 |   }
      |   ~
Language: C++

A=list(input().split(" "))
B=list(input().split(" "))
C=sorted(B)
D=[]
M=0
for i in range(int(A[1])):
    D.append(int(C[i]))
for j in range(len(D)):
    M=D[j]+M
print(M)

Compiler output:
a.cc:1:1: error: 'A' does not name a type
    1 | A=list(input().split(" "))
      | ^
Language: Java

import java.util.Scanner;

public class Prob3 {
	public static void main(String[] args){
		Scanner scanner = new Scanner(System.in);
		long number = scanner.nextLong();
		String result = new String();
		
		while(number > 0) {
			int nums = (int) ('a' + (number - 1) % 26);
			char temporal = (char) nums;
			result = temporal + result;
			number = number / 26;
			if(temporal == 'z')
				number--;
		}
		System.out.print(result);
	}
}


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

#include <iostream>

#include <string>

#include <math.h>

#include <algorithm>

#include <iomanip>

#include <vector>

#include <set>

#include <list>

#include <queue>

#include <stack>

#include <map>

using namespace std;

#define _CRT_SECURE_NO_WARNINGS

#define Abs                           \

	ios_base::sync_with_stdio(false); \	cout.tie(NULL);                   \

	cin.tie(NULL);

#define FOR(i, b, a) for (ll i = b; i < a; i++)

#define FOR1(i, b, a) for (ll i = b; i <= a; i++)

#define FORd(i, b, a) for (ll i = (a)-1; i >= b; i--)

const double PI = acos(-1);

#define all(v) ((v).begin()), ((v).end())

#define allr(v) ((v).rbegin()), ((v).rend())

#define iq(v)   v.resize(unique(v.begin(), v.end()) - v.begin())

#define endl "\n"

#define sz(v) ((ll)((v).size()))

#define fx(n)           fixed << setprecision(n)

typedef unsigned long long ull;

typedef long long ll;

typedef vector<ll> vi;

typedef pair<ll, ll> pii;

const int mod = 1e9 + 7;

int main()

{

	Abs;

	ll n;

	cin >> n;

	string s = "";

	if (n < 27)

		cout << (char)(n + 96);

	else

	{

		while (n > 0)

		{

			ll k = (n % 26);

			if (!k)

				k = 26;

			k += 96;

			s += (char)k;

			n = (n / 26);

		}

		reverse(all(s));

		cout << s;

	}

}

Compiler output:
a.cc:29:43: error: stray '\' in program
   29 |         ios_base::sync_with_stdio(false); \     cout.tie(NULL);                   \
      |                                           ^
a.cc:29:34: error: expected constructor, destructor, or type conversion before '(' token
   29 |         ios_base::sync_with_stdio(false); \     cout.tie(NULL);                   \
      |                                  ^
a.cc:29:49: error: 'cout' does not name a type
   29 |         ios_base::sync_with_stdio(false); \     cout.tie(NULL);                   \
      |                                                 ^~~~
a.cc:31:9: error: 'cin' does not name a type
   31 |         cin.tie(NULL);
      |         ^~~
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;
  
  N = N-1
  AAA = N/(26*26*26*26);
  AA = AAA/(26*26*26);
  A = AA/(26*26*26);
  P = floor(A)-1;
  N = N-floor(A)*26*26*26*26*26*26*26*26*26*26;
  BBB = N/(26*26*26);
  BB = BBB/(26*26*26);
  B = BB/(26*26*26);
  Q = floor(B)-1;
  N = N-floor(B)*26*26*26*26*26*26*26*26*26;
  CC = N/(26*26*26*26);
  C = CC/(26*26*26*26);
  R = floor(C)-1;
  N = N-floor(C)*26*26*26*26*26*26*26*26;
  DD = N/(26*26*26*26);
  D = DD/(26*26*26);
  S = floor(D)-1;
  N = N-floor(D)*26*26*26*26*26*26*26;
  E = N/(26*26*26*26*26*26);
  T = floor(E)-1;
  N = N-floor(E)*26*26*26*26*26*26;
  F = N/(26*26*26*26*26);
  U = floor(F)-1;
  N = N-floor(F)*26*26*26*26*26;
  G = N/(26*26*26*26);
  V = floor(G)-1;
  N = N-floor(G)*26*26*26*26;
  H = N/(26*26*26);
  W = floor(H)-1;
  N = N-floor(H)*26*26*26;
  I = N/(26*26);
  X = floor(I)-1;
  N = N-floor(I)*26*26;
  J = N/26;
  Y = floor(J)-1;
  N = N-floor(J)*26;
  K = N;
  Z = floor(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 (int 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:12:10: error: expected ';' before 'AAA'
   12 |   N = N-1
      |          ^
      |          ;
   13 |   AAA = N/(26*26*26*26);
      |   ~~~
Language: Java

import java.util.*;

public class Main {
    public static void main (String[] args) {
        Scanner sc = new Scanner(System.in);

        Long N = sc.nextLong();

        String[] characters = {"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"};
        
        // 26進数
        List<Integer> digits = new ArrayList<Integer>();

        N -= 1;
        while (26 <= N) {
            digits.add((Integer) N%26);
            N = N / 26 - 1;
        }
        digits.add((Integer) N);

        StringBuilder sb = new StringBuilder();
        for (int i = digits.size(); 0 <= i; i--) {
            sb.append(characters[digits.get(i)]);
        }

        System.out.println(sb.toString());
    }
}

Compiler output:
Main.java:20: error: incompatible types: Long cannot be converted to Integer
            digits.add((Integer) N%26);
                                 ^
Main.java:23: error: incompatible types: Long cannot be converted to Integer
        digits.add((Integer) N);
                             ^
2 errors
Language: C++

#include <iostream>

#include <string>

#include <math.h>

#include <algorithm>

#include <iomanip>

#include <vector>

#include <set>

#include <list>

#include <queue>

#include <stack>

#include <map>

using namespace std;

#define _CRT_SECURE_NO_WARNINGS

#define Abs                           \

	ios_base::sync_with_stdio(false); \	cout.tie(NULL);                   \

	cin.tie(NULL);

#define FOR(i, b, a) for (ll i = b; i < a; i++)

#define FOR1(i, b, a) for (ll i = b; i <= a; i++)

#define FORd(i, b, a) for (ll i = (a)-1; i >= b; i--)

const double PI = acos(-1);

#define all(v) ((v).begin()), ((v).end())

#define allr(v) ((v).rbegin()), ((v).rend())

#define iq(v)   v.resize(unique(v.begin(), v.end()) - v.begin())

#define endl "\n"

#define sz(v) ((ll)((v).size()))

#define fx(n)           fixed << setprecision(n)

typedef unsigned long long ull;

typedef long long ll;

typedef vector<ll> vi;

typedef pair<ll, ll> pii;

const int mod = 1e9 + 7;

int main()

{

	Abs;

	ll n;

	cin >> n;

	string s = "";

	while (n)

	{

		ll k = (n % 26);

		if (!k)

			k = 26;

		k += 96;

		s += (char)k;

		n = (n / 26);

	}

	reverse(all(s));

	cout << s;

}

Compiler output:
a.cc:29:43: error: stray '\' in program
   29 |         ios_base::sync_with_stdio(false); \     cout.tie(NULL);                   \
      |                                           ^
a.cc:29:34: error: expected constructor, destructor, or type conversion before '(' token
   29 |         ios_base::sync_with_stdio(false); \     cout.tie(NULL);                   \
      |                                  ^
a.cc:29:49: error: 'cout' does not name a type
   29 |         ios_base::sync_with_stdio(false); \     cout.tie(NULL);                   \
      |                                                 ^~~~
a.cc:31:9: error: 'cin' does not name a type
   31 |         cin.tie(NULL);
      |         ^~~
Language: C++

#include <iostream>
#include <iomanip>
#include <math.h>
using namespace std;

int main()
{
  long int N;
  long int a
  int b[10000];
  int i=0;
  char c='a', d;

  cin >> N;

  a = N;
  while(a)
  {
    b[i] = a%26-1;
    a /= 26;
    ++i;
  }

  for(int j=0; j<i; ++j)
  {
    d = c + b[i-1-j];
    cout << d;
  }
  cout << endl;

  //cout << fixed << setprecision(8) << s << " " << l << " " << endl;

  return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:10:3: error: expected initializer before 'int'
   10 |   int b[10000];
      |   ^~~
a.cc:16:3: error: 'a' was not declared in this scope
   16 |   a = N;
      |   ^
a.cc:19:5: error: 'b' was not declared in this scope
   19 |     b[i] = a%26-1;
      |     ^
a.cc:26:13: error: 'b' was not declared in this scope
   26 |     d = c + b[i-1-j];
      |             ^
Language: C++

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

vector<int>change_base(ll a, ll base){     
  if(a==0) return {0};
  vector<int> A;
  while(a){
    ll rest = a%base;
    A.push_back(rest);
    a /= base;
  }
  reverse(A.begin(), A.end());
  return A;
}

int main() {
  int n;
  cin >> n;
  vector<int>A(n);
  rep(i,n) A[i]=change_base(n, 26);
  string ans;
  char ch[26];
  rep(i,26) ch[i] = 'a' + i;
  rep(i,n){
    ans += ch[A[i]];
  }
  cout << ans << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:25:28: error: cannot convert 'std::vector<int>' to '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} in assignment
   25 |   rep(i,n) A[i]=change_base(n, 26);
      |                 ~~~~~~~~~~~^~~~~~~
      |                            |
      |                            std::vector<int>
Language: C++

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

int change(int x){
  string a = "a";
  if(x == 0) a = "a";
  if(x == 1) a = "b";
  if(x == 2) a = "c";
  if(x == 3) a = "d";
  if(x == 4) a = "e";
  if(x == 5) a = "f";
  if(x == 6) a = "g";
  if(x == 7) a = "h";
  if(x == 8) a = "i";
  if(x == 9) a = "j";
  if(x == 10) a = "k";
  if(x == 11) a = "l";
  if(x == 12) a = "m";
  if(x == 13) a = "n";
  if(x == 14) a = "o";
  if(x == 15) a = "p";
  if(x == 16) a = "q";
  if(x == 17) a = "r";
  if(x == 18) a = "s";
  if(x == 19) a = "t";
  if(x == 20) a = "u";
  if(x == 21) a = "v";
  if(x == 22) a = "w";
  if(x == 23) a = "x";
  if(x == 24) a = "y";
  if(x == 25) a = "z";
  return a;
}

int main() {
  int N, count, kake;
  cin >> N;
  count= 0;
  kake= 26;
  while(N >= kake){
    N -= kake;
    kake *= 26;
    count++;
  }
  vector<int> a(count + 1);
  for(int i = 0; i < count + 1; i++){
    a.at(i) = N % 26;
    N /= 26;
  }
  string ans = change(a.at(count + 1));
  for(int i = count; i >= 0; i--){
    ans += change(a.at(i));
  }
  cout << ans << endl;
}
  
  

Compiler output:
a.cc: In function 'int change(int)':
a.cc:33:10: error: cannot convert 'std::string' {aka 'std::__cxx11::basic_string<char>'} to 'int' in return
   33 |   return a;
      |          ^
      |          |
      |          std::string {aka std::__cxx11::basic_string<char>}
a.cc: In function 'int main()':
a.cc:51:22: error: conversion from 'int' to non-scalar type 'std::string' {aka 'std::__cxx11::basic_string<char>'} requested
   51 |   string ans = change(a.at(count + 1));
      |                ~~~~~~^~~~~~~~~~~~~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
const ll mod = 1e9+7;

//繰り返し二乗法
ll EX(ll x,ll n){
    if(n == 0)return 1;
    else if(n%2 == 1)return EX(x,n-1)*x;
    else return EX(x*x,n/2);
};

ll calc(int k){
    ll res = 0;
    for(int i = 1; i <= k; i++){
        res += EX(26,i);
    }
    return res;
}

ll n;
vector<char> ans;
bool first = true;
ll size;

void solve(ll k,ll si){
    if(si == 0) return;
    ll s = k/EX(26,si-1);
    char al;
    if(s != 0) al = 'a'+s-1;
    else al = 'a'+s;
    ans.push_back(al);
    solve(k-s*EX(26,si-1),si-1);
}

int main(){
    cin >> n;
    
    for(int i = 0; i < 12; i++){
        if(calc(i) < n && n <= calc(i+1)){
            size = i+1;
            break;
        }
    }
    solve(n,size);
    for(auto p:ans) cout << p;
    cout << endl;
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:41:13: error: reference to 'size' is ambiguous
   41 |             size = i+1;
      |             ^~~~
In file included from /usr/include/c++/14/string:53,
                 from /usr/include/c++/14/bitset:52,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:52,
                 from a.cc:1:
/usr/include/c++/14/bits/range_access.h:272:5: note: candidates are: 'template<class _Tp, long unsigned int _Nm> constexpr std::size_t std::size(const _Tp (&)[_Nm])'
  272 |     size(const _Tp (&)[_Nm]) noexcept
      |     ^~~~
/usr/include/c++/14/bits/range_access.h:262:5: note:                 'template<class _Container> constexpr decltype (__cont.size()) std::size(const _Container&)'
  262 |     size(const _Container& __cont) noexcept(noexcept(__cont.size()))
      |     ^~~~
a.cc:24:4: note:                 'll size'
   24 | ll size;
      |    ^~~~
a.cc:45:13: error: reference to 'size' is ambiguous
   45 |     solve(n,size);
      |             ^~~~
/usr/include/c++/14/bits/range_access.h:272:5: note: candidates are: 'template<class _Tp, long unsigned int _Nm> constexpr std::size_t std::size(const _Tp (&)[_Nm])'
  272 |     size(const _Tp (&)[_Nm]) noexcept
      |     ^~~~
/usr/include/c++/14/bits/range_access.h:262:5: note:                 'template<class _Container> constexpr decltype (__cont.size()) std::size(const _Container&)'
  262 |     size(const _Container& __cont) noexcept(noexcept(__cont.size()))
      |     ^~~~
a.cc:24:4: note:                 'll size'
   24 | ll size;
      |    ^~~~
Language: C++

#include <iostream>

#include <string>

#include <math.h>

#include <algorithm>

#include <iomanip>

#include <vector>

#include <set>

#include <list>

#include <queue>

#include <stack>

#include <map>

using namespace std;

#define _CRT_SECURE_NO_WARNINGS

#define Abs                           \

	ios_base::sync_with_stdio(false); \	cout.tie(NULL);                   \

	cin.tie(NULL);

#define FOR(i, b, a) for (ll i = b; i < a; i++)

#define FOR1(i, b, a) for (ll i = b; i <= a; i++)

#define FORd(i, b, a) for (ll i = (a)-1; i >= b; i--)

const double PI = acos(-1);

#define all(v) ((v).begin()), ((v).end())

#define allr(v) ((v).rbegin()), ((v).rend())

#define iq(v)   v.resize(unique(v.begin(), v.end()) - v.begin())

#define endl "\n"

#define sz(v) ((ll)((v).size()))

#define fx(n)           fixed << setprecision(n)

typedef unsigned long long ull;

typedef long long ll;

typedef vector<ll> vi;

typedef pair<ll, ll> pii;

const int mod = 1e9 + 7;

int main()

{

	Abs;

	ll n;

	cin >> n;

	string s = "";

	while (n)

	{

		s += (char)((n % 26) + 96);

		ll k = n % 26;

		n = (n / 26);

	}

	reverse(all(s));

	cout << s;

}

Compiler output:
a.cc:29:43: error: stray '\' in program
   29 |         ios_base::sync_with_stdio(false); \     cout.tie(NULL);                   \
      |                                           ^
a.cc:29:34: error: expected constructor, destructor, or type conversion before '(' token
   29 |         ios_base::sync_with_stdio(false); \     cout.tie(NULL);                   \
      |                                  ^
a.cc:29:49: error: 'cout' does not name a type
   29 |         ios_base::sync_with_stdio(false); \     cout.tie(NULL);                   \
      |                                                 ^~~~
a.cc:31:9: error: 'cin' does not name a type
   31 |         cin.tie(NULL);
      |         ^~~
Language: C++

#include <iostream>
using namespace std;

int main() {
	long long N;
	cin >> N;
	string ans = "";
	long long K = 1;
	while (N > 0) {
		N -= K;
		K *= 26;
		ans.push_back('a' + (N % K) / (K / 26));
		N -= N % K;
	}
	reverse(ans.begin(), ans.end());
	cout << ans << endl;

}


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

#include <iostream>
using namespace std;

char SS(int TY) {
	switch (TY) {
		case 0: return 'z'; break;
		case 1: return 'a'; break;
		case 2: return 'b'; break;
		case 3: return 'c'; break;
		case 4: return 'd'; break;
		case 5: return 'e'; break;
		case 6: return 'f'; break;
		case 7: return 'g'; break;
		case 8: return 'h'; break;
		case 9: return 'i'; break;
		case 10: return 'j'; break;
		case 11: return 'k'; break;
		case 12: return 'l'; break;
		case 13: return 'm'; break;
		case 14: return 'n'; break;
		case 15: return 'o'; break;
		case 16: return 'p'; break;
		case 17: return 'q'; break;
		case 18: return 'r'; break;
		case 19: return 's'; break;
		case 20: return 't'; break;
		case 21: return 'u'; break;
		case 22: return 'v'; break;
		case 23: return 'w'; break;
		case 24: return 'x'; break;
		case 25: return 'y'; break;
	}
}
int main() {
	int N;//何匹目
	int X=0, Y=0, i=0;
	char T[100];
	cin >> N;

	while (N > 0){
		X = N / 26;
		Y = N % 26;
		T[i] = SS(Y);
		N = X;
		i++;
	}

	T[i] = '\0';
	int NN = strlen(T);
	for (int o = 0; o < NN / 2; o++) {
		char Q;
		Q = T[o];
		T[o] = T[NN - 1 - o];
		T[NN - 1 - o] = Q;
	}
	cout << T;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:49:18: error: 'strlen' was not declared in this scope
   49 |         int NN = strlen(T);
      |                  ^~~~~~
a.cc:2:1: note: 'strlen' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
    1 | #include <iostream>
  +++ |+#include <cstring>
    2 | using namespace std;
a.cc: In function 'char SS(int)':
a.cc:33:1: warning: control reaches end of non-void function [-Wreturn-type]
   33 | }
      | ^
Language: C++

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

int n,x=26,now,next,i;

signed main()
{
	cin>>n;
	--n;
	for (;n-x>=0;n-=x,x*=26,i++);
	
	next=n;
	if (i==0)  return cout<<char('a'+n)<<endl,0;
	else if (n==0)
	{
		for (int j=1;j<=i+1;j++)  cout<<'a';
	}
	else
	{
		for (int j=1;j<=i+1;j++)
		{
			x/=26;
			now=next/x;
			next%=x;
			cout<<char('a'+now)<<endl;
		}
	}
	cout<<endl;
	
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:9: error: reference to 'next' is ambiguous
   13 |         next=n;
      |         ^~~~
In file included from /usr/include/c++/14/bits/stl_algobase.h:66,
                 from /usr/include/c++/14/algorithm:60,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:51,
                 from a.cc:1:
/usr/include/c++/14/bits/stl_iterator_base_funcs.h:232:5: note: candidates are: 'template<class _InputIterator> constexpr _InputIterator std::next(_InputIterator, typename iterator_traits<_Iter>::difference_type)'
  232 |     next(_InputIterator __x, typename
      |     ^~~~
a.cc:5:16: note:                 'long long int next'
    5 | int n,x=26,now,next,i;
      |                ^~~~
a.cc:24:29: error: reference to 'next' is ambiguous
   24 |                         now=next/x;
      |                             ^~~~
/usr/include/c++/14/bits/stl_iterator_base_funcs.h:232:5: note: candidates are: 'template<class _InputIterator> constexpr _InputIterator std::next(_InputIterator, typename iterator_traits<_Iter>::difference_type)'
  232 |     next(_InputIterator __x, typename
      |     ^~~~
a.cc:5:16: note:                 'long long int next'
    5 | int n,x=26,now,next,i;
      |                ^~~~
a.cc:25:25: error: reference to 'next' is ambiguous
   25 |                         next%=x;
      |                         ^~~~
/usr/include/c++/14/bits/stl_iterator_base_funcs.h:232:5: note: candidates are: 'template<class _InputIterator> constexpr _InputIterator std::next(_InputIterator, typename iterator_traits<_Iter>::difference_type)'
  232 |     next(_InputIterator __x, typename
      |     ^~~~
a.cc:5:16: note:                 'long long int next'
    5 | int n,x=26,now,next,i;
      |                ^~~~
Language: C++

/*
    @uthor: Amit Kumar
    user -->GitHub: drviruses ; CodeChef: dr_virus_ ; Codeforces,AtCoder,Hackerearth,Hakerrank: dr_virus;
*/
#include <bits/stdc++.h>
#include <chrono>
using namespace std;
using namespace std::chrono;
//#include <boost/multiprecision/cpp_int.hpp>
//namespace mp = boost::multiprecision;
//#define ln mp::cpp_int;
#define ll    long long
#define ld    long double
#define ull   unsigned long long
#define endl "\n"
ll google_itr = 1;
#define google(x) cout<<"Case #"<<x<<":"
#define pi 3.14159265358979323846264338327950L

const ll mod = 1e9+7;
const ll inf = 1e18;

ll popcount(ll num){
    num = num - ((num >> 1) & 0x55555555);
    num = (num & 0x33333333) + ((num >> 2) & 0x33333333);
    return ((num + (num >> 4) & 0xF0F0F0F) * 0x1010101) >> 24;
}

string obtain_str(ll n) 
{ 
 
    ll len = (int)log2(n + 1); 
    ll rel_ind = n + 1 - pow(2, len); 
  
    ll i = 0; 
    string str = ""; 
    for (i = 0; i < len; i++) { 
        str += 'a'; 
    } 
  
    i = 0; 
    while (rel_ind > 0) { 
        if (rel_ind % 2 == 1) 
            str[i] = 'b'; 
        rel_ind /= 2; 
        i++; 
    } 
  
    reverse(str.begin(), str.end()); 
    return str; 
} 


void virus(){
        ll num;
        cin>>num;
    cout<<obtainstr(num);
}


int32_t main(){
    ios_base::sync_with_stdio(false);
    cin.tie(0);
    cout.tie(0);
    
  /*#ifndef ONLINE_JUDGE
    freopen("input.txt","r",stdin);
    freopen("output.txt","w",stdout);
    #endif*/

    ll t=1;
    //cin>>t;
    while(t--){
           auto start = high_resolution_clock::now();
           virus();
           auto stop = high_resolution_clock::now();
           auto duration = duration_cast<seconds>(stop - start);
         //cout << "Time: "<<duration.count()<<endl;
        //your code goes here
    }
    return 0;
}

Compiler output:
a.cc: In function 'void virus()':
a.cc:57:11: error: 'obtainstr' was not declared in this scope; did you mean 'obtain_str'?
   57 |     cout<<obtainstr(num);
      |           ^~~~~~~~~
      |           obtain_str
Language: C++

#include <bits/stdc++.h> 
using namespace std; 
using str = string; 
using ll = long long; 
#define REP(i,n) for(int i=0; i<int(n); i++) 
#define RREP(i,n) for(int i=int(n)-1; i>=0; i--) 
#define FOR(i,f,t) for(int i=int(f); i<=int(t); i++) 
#define RFOR(i,f,t) for(int i=int(f); i>=int(t); i--) 
#define ALL(vec) (vec).begin(),(vec).end() 
#define ASORT(vec) sort(ALL(vec)) 
#define DSORT(vec) sort(ALL(vec), greater<int>()); 
#define MAX(x) *max_element(ALL(x)) 
#define MIN(x) *min_element(ALL(x)) 
#define YES(ans) if(ans) cout<<"YES"<<endl; else cout<<"NO"<<endl; 
#define Yes(ans) if(ans) cout<<"Yes"<<endl; else cout<<"No"<<endl; 
#define yes(ans) if(ans) cout<<"yes"<<endl; else cout<<"no"<<endl; 

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

ll lcm(ll a, ll b) { 
	return a * b / gcd(a, b); 
} 

int main() {
ll n; 
cin >> n; 
int a; 
char c; 
REP(i, 15) { 
a = (n%pow(26, 15-i))/pow(26, 15-i-1); 
if(a != 0){ 
c = 'a' + a - 1; 
cout << c; 
}  
}
cout << endl; 
} 


Compiler output:
a.cc: In function 'int main()':
a.cc:33:7: error: invalid operands of types 'll' {aka 'long long int'} and '__gnu_cxx::__promote<double>::__type' {aka 'double'} to binary 'operator%'
   33 | a = (n%pow(26, 15-i))/pow(26, 15-i-1);
      |      ~^~~~~~~~~~~~~~
      |      |    |
      |      |    __gnu_cxx::__promote<double>::__type {aka double}
      |      ll {aka long long int}
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:9:1: error: expected ',' or ';' before 'int'
    9 | int main(){
      | ^~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
	int N;
	vector<int> vec(N);

	cin >> N;

	for (i = 0; N > 0; i++) {
		vec.at(i) = N % 26;
		N = N/ 26;
	}
	while (i > 0) printf("%c","a"+vec.at(--i));

	cout << ;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:14: error: 'i' was not declared in this scope
   10 |         for (i = 0; N > 0; i++) {
      |              ^
a.cc:14:16: error: 'i' was not declared in this scope
   14 |         while (i > 0) printf("%c","a"+vec.at(--i));
      |                ^
a.cc:16:17: error: expected primary-expression before ';' token
   16 |         cout << ;
      |                 ^
Language: C

#include<stdio.h>
int main(void){
  long int n;
  scanf("%ld", &n);
  if(n<=26){
    char a = 'a' +n-1;
    printf("%c",a);
  }
  else if(n<=702){
    int i=(n-26)/26;
    int j=(n-26)%26-1;
    char b ='a' +i;
    char c ='a' +j;
    sprintf(str,"%c%c", b, c);
    printf(str);
  }
  else if(n<=18278){
    int k=(n-702)/676;
    int l=(n-702)26-1;
    int m;
    char b ='a' +i;
    char c ='a' +j;
    sprintf(str,"%c%c", b, c);
    printf(str);
  }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:14:13: error: 'str' undeclared (first use in this function)
   14 |     sprintf(str,"%c%c", b, c);
      |             ^~~
main.c:14:13: note: each undeclared identifier is reported only once for each function it appears in
main.c:19:18: error: expected ',' or ';' before numeric constant
   19 |     int l=(n-702)26-1;
      |                  ^~
main.c:21:18: error: 'i' undeclared (first use in this function)
   21 |     char b ='a' +i;
      |                  ^
main.c:22:18: error: 'j' undeclared (first use in this function)
   22 |     char c ='a' +j;
      |                  ^
Language: C++

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

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

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

Compiler output:
a.cc: In function 'std::string remainder(int, std::string*)':
a.cc:8:35: error: cannot convert 'std::__cxx11::basic_string<char>' to 'char' in assignment
    8 |         re = remainder(n/26,alph) + re;
      |              ~~~~~~~~~~~~~~~~~~~~~^~~~
      |                                   |
      |                                   std::__cxx11::basic_string<char>
a.cc:10:13: error: cannot convert 'std::__cxx11::basic_string<char>' to 'char' in assignment
   10 |     re = re + alph[n%26];
      |          ~~~^~~~~~~~~~~~
      |             |
      |             std::__cxx11::basic_string<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:19:16: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
   19 |     for(char a="a";a<="z";++a){
      |                ^~~
      |                |
      |                const char*
a.cc:19:21: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   19 |     for(char a="a";a<="z";++a){
      |                    ~^~~~~
Language: C++

#include <iostream>
#include <cstdio>
#include <cstring>
#include <algorithm>
#include <cctype>
#include <vector>
#include <queue>

#define ll long long
#define ull unsigned long long

using namespace std;

inline ull read() {
	ull x=0;
	char ch=getchar();
	while (!isdigit(ch)) ch=getchar();
	while (isdigit(ch)) x=x*10+ch-'0',ch=getchar();
	return x*f;
}

char s[10005];

int main() {
	ull n=read()-1;
	if (n==0) {
		putchar('a');
		return 0;
	}
	int cnt=0;
	while (n) {
		s[++cnt]=(char)((n%26)+'a');
		if (cnt!=1) s[cnt]--;
		//cout<<s[cnt]<<endl;
		n/=26;
	}
	for (int i=cnt;i>=1;i--) {
		//s[i]--;
		putchar(s[i]);
	}
	putchar('\n');
	return 0;
}

Compiler output:
a.cc: In function 'long long unsigned int read()':
a.cc:19:18: error: 'f' was not declared in this scope
   19 |         return x*f;
      |                  ^
Language: C++

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

string remainder(int n,string 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;
    string ans;
    string alph[26];
    int i=1;
    for(char a="a";a<="z";++a){
        alph[i++] = a;
    }
    ans = remainder(n,alph);
    cout << ans.c_str() << endl;
}

Compiler output:
a.cc: In function 'std::string remainder(int, std::string*)':
a.cc:8:12: error: no match for 'operator+=' (operand types are 'char' and 'std::string' {aka 'std::__cxx11::basic_string<char>'})
    8 |         re += remainder(n/26,alph);
      |         ~~~^~~~~~~~~~~~~~~~~~~~~~~
a.cc:10:8: error: no match for 'operator+=' (operand types are 'char' and 'std::string' {aka 'std::__cxx11::basic_string<char>'})
   10 |     re += alph[n%26];
      |     ~~~^~~~~~~~~~~~~
a.cc:11:1: warning: no return statement in function returning non-void [-Wreturn-type]
   11 | }
      | ^
a.cc: In function 'int main()':
a.cc:19:16: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
   19 |     for(char a="a";a<="z";++a){
      |                ^~~
      |                |
      |                const char*
a.cc:19:21: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   19 |     for(char a="a";a<="z";++a){
      |                    ~^~~~~