Language: C++

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

int main() {
  int O;
  cin >> O;
  float N;
  N = O  
  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 = (N-1)/(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-1)/(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-1)/(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-1)/(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-1)/(26*26*26*26*26*26);
  T = floor(E)-1;
  N = N-floor(E)*26*26*26*26*26*26;
  F = (N-1)/(26*26*26*26*26);
  U = floor(F)-1;
  N = N-floor(F)*26*26*26*26*26;
  G = (N-1)/(26*26*26*26);
  V = floor(G)-1;
  N = N-floor(G)*26*26*26*26;
  H = (N-1)/(26*26*26);
  W = floor(H)-1;
  N = N-floor(H)*26*26*26;
  I = (N-1)/(26*26);
  X = floor(I)-1;
  N = N-floor(I)*26*26;
  J = (N-1)/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:9:8: error: expected ';' before 'float'
    9 |   N = O
      |        ^
      |        ;
   10 |   float A, B, C, D, E, F, G, H, I, J, K;
      |   ~~~~~ 
a.cc:16:3: error: 'A' was not declared in this scope
   16 |   A = AA/(26*26*26);
      |   ^
a.cc:21:3: error: 'B' was not declared in this scope
   21 |   B = BB/(26*26*26);
      |   ^
a.cc:25:3: error: 'C' was not declared in this scope
   25 |   C = CC/(26*26*26*26);
      |   ^
a.cc:29:3: error: 'D' was not declared in this scope
   29 |   D = DD/(26*26*26);
      |   ^
a.cc:32:3: error: 'E' was not declared in this scope
   32 |   E = (N-1)/(26*26*26*26*26*26);
      |   ^
a.cc:35:3: error: 'F' was not declared in this scope
   35 |   F = (N-1)/(26*26*26*26*26);
      |   ^
a.cc:38:3: error: 'G' was not declared in this scope
   38 |   G = (N-1)/(26*26*26*26);
      |   ^
a.cc:41:3: error: 'H' was not declared in this scope
   41 |   H = (N-1)/(26*26*26);
      |   ^
a.cc:44:3: error: 'I' was not declared in this scope
   44 |   I = (N-1)/(26*26);
      |   ^
a.cc:47:3: error: 'J' was not declared in this scope
   47 |   J = (N-1)/26;
      |   ^
a.cc:50:3: error: 'K' was not declared in this scope
   50 |   K = N;
      |   ^