Language: C++

include<string>
#include<string.h>
#include<map>
#include<set>
#include<vector>
#include<stdio.h>
#include<math.h>
#include<iostream>
#include<algorithm>
#include<queue>
using namespace std;
long long k;
long long a=1;
int b=1;
long long c=0;
int d=1;
int e=1;
int ANS(int mm,int nn)
{
    int as=10;
    for (int i=1;i<mm-nn;i++)
        {
           as*=10;
        }
    return as;
}
int main(){
    cin>>k;
    for (int i=1;i<=k;i++)
        {
             c++;
             cout<<a<<endl;
             if (c<ANS(e,b)-1) a+=d;
             else {e++;if (e%2==1) b++; d*=10;c=0;a+=d;}
        }
    return 0;
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<string>
      | ^~~~~~~
In file included from /usr/include/stdio.h:47,
                 from a.cc:6:
/usr/include/x86_64-linux-gnu/bits/types/cookie_io_functions_t.h:28:43: error: 'size_t' has not been declared
   28 |                                           size_t __nbytes);
      |                                           ^~~~~~
/usr/include/x86_64-linux-gnu/bits/types/cookie_io_functions_t.h:37:44: error: 'size_t' has not been declared
   37 |                                            size_t __nbytes);
      |                                            ^~~~~~
/usr/include/stdio.h:314:35: error: 'size_t' has not been declared
  314 | extern FILE *fmemopen (void *__s, size_t __len, const char *__modes)
      |                                   ^~~~~~
/usr/include/stdio.h:320:47: error: 'size_t' has not been declared
  320 | extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __THROW
      |                                               ^~~~~~
/usr/include/stdio.h:340:34: error: 'size_t' has not been declared
  340 |                     int __modes, size_t __n) __THROW __nonnull ((1));
      |                                  ^~~~~~
/usr/include/stdio.h:346:24: error: 'size_t' has not been declared
  346 |                        size_t __size) __THROW __nonnull ((1));
      |                        ^~~~~~
/usr/include/stdio.h:385:44: error: 'size_t' has not been declared
  385 | extern int snprintf (char *__restrict __s, size_t __maxlen,
      |                                            ^~~~~~
/usr/include/stdio.h:389:45: error: 'size_t' has not been declared
  389 | extern int vsnprintf (char *__restrict __s, size_t __maxlen,
      |                                             ^~~~~~
/usr/include/stdio.h:690:30: error: 'size_t' has not been declared
  690 |                              size_t *__restrict __n, int __delimiter,
      |                              ^~~~~~
/usr/include/stdio.h:693:28: error: 'size_t' has not been declared
  693 |                            size_t *__restrict __n, int __delimiter,
      |                            ^~~~~~
/usr/include/stdio.h:698:27: error: 'size_t' has not been declared
  698 |                           size_t *__restrict __n,
      |                           ^~~~~~
/usr/include/stdio.h:728:8: error: 'size_t' does not name a type
  728 | extern size_t fread (void *__restrict __ptr, size_t __size,
      |        ^~~~~~
/usr/include/stdio.h:438:1: note: 'size_t' is defined in header '<cstddef>'; this is probably fixable by adding '#include <cstddef>'
  437 | #include <bits/floatn.h>
  +++ |+#include <cstddef>
  438 | #if !__GLIBC_USE (DEPRECATED_SCANF) && !defined __LDBL_COMPAT \
/usr/include/stdio.h:735:8: error: 'size_t' does not name a type
  735 | extern size_t fwrite (const void *__restrict __ptr, size_t __size,
      |        ^~~~~~
/usr/include/stdio.h:735:8: note: 'size_t' is defined in header '<cstddef>'; this is probably fixable by adding '#include <cstddef>'
/usr/include/stdio.h:756:8: error: 'size_t' does not name a type
  756 | extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
      |        ^~~~~~
/usr/include/stdio.h:756:8: note: 'size_t' is defined in header '<cstddef>'; this is probably fixable by adding '#include <cstddef>'
/usr/include/stdio.h:759:8: error: 'size_t' does not name a type
  759 | extern size_t fwrite_unlocked (const void *__restrict __ptr, size_t __size,
      |        ^~~~~~
/usr/include/stdio.h:759:8: note: 'size_t' is defined in header '<cstddef>'; this is probably fixable by adding '#include <cstddef>'
In file included from /usr/include/c++/14/bits/std_abs.h:38,
                 from /usr/include/c++/14/cmath:49,
                 from /usr/include/c++/14/math.h:36,
                 from a.cc:7:
/usr/include/stdlib.h:98:8: error: 'size_t' does not name a type
   98 | extern size_t __ctype_get_mb_cur_max (void) __THROW __wur;
      |        ^~~~~~
/usr/include/stdlib.h:42:1: note: 'size_t' is defined in header '<cstddef>'; this is probably fixable by adding '#include <cstddef>'
   41 | # include <bits/waitstatus.h>
  +++ |+#include <cstddef>
   42 | 
/usr/include/stdlib.h:278:36: error: 'size_t' has not been declared
  278 | extern int strfromd (char *__dest, size_t __size, const char *__format,
      |                                    ^~~~~~
/usr/include/stdlib.h:282:36: error: 'size_t' has not been declared
  282 | extern int strfromf (char *__dest, size_t __size, const char *__format,
      |                                    ^~~~~~
/usr/include/stdlib.h:286:36: error: 'size_t' has not been declared
  286 | extern int strfroml (char *__dest, size_t __size, const char *__format,
      |                                    ^~~~~~
/usr/include/stdlib.h:298:38: error: 'size_t' has not been declared
  298 | extern int strfromf32 (char *__dest, size_t __size, const char * __format,
      |                                      ^~~~~~
/usr/include/stdlib.h:304:38: error: 'size_t' has not been declared
  304 | extern int strfromf64 (char *__dest, size_t __size, const char * __format,
      |                                      ^~~~~~
/usr/include/stdlib.h:310:39: error: 'size_t' has not been declared
  310 | extern int strfromf128 (char *__dest, size_t __size, const char * __format,
      |                                       ^~~~~~
/usr/include/stdlib.h:316:39: error: 'size_t' has not been declared
  316 | extern int strfromf32x (char *__dest, size_t __size, const char * __format,
      |                                       ^~~~~~
/usr/include/stdlib.h:322:39: error: 'size_t' has not been declared
  322 | extern int strfromf64x (char *__dest, size_t __size, const char * __format,
      |                                       ^~~~~~
/usr/include/stdlib.h:342:27: error: 'locale_t' has not been declared
  342 |                           locale_t __loc) __THROW __nonnull ((1, 4));
      |                           ^~~~~~~~
/usr/include/stdlib.h:346:49: error: 'locale_t' has not been declared
  346 |                                     int __base, locale_t __loc)
      |                                                 ^~~~~~~~
/usr/include/stdlib.h:352:33: error: 'locale_t' has not been declared
  352 |                                 locale_t __loc)
      |                                 ^~~~~~~~
/usr/include/stdlib.h:358:55: error: 'locale_t' has not been declared
  358 |                                           int __base, locale_t __loc)
      |                                                       ^~~~~~~~
In file included from /usr/include/features.h:523,
                 from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from a.cc:2:
/usr/include/stdlib.h:365:17: error: 'locale_t' has not been declared
  365 | extern long int __REDIRECT_NTH (strtol_l, (const char *__restrict __nptr,
      |                 ^~~~~~~~~~~~~~
/usr/include/stdlib.h:370:26: error: 'locale_t' has not been declared
  370 | extern unsigned long int __REDIRECT_NTH (strtoul_l,
      |                          ^~~~~~~~~~~~~~
/usr/include/stdlib.h:377:22: error: 'locale_t' has not been declared
  377 | extern long long int __REDIRECT_NTH (strtoll_l, (const char *__restrict __nptr,
      |                      ^~~~~~~~~~~~~~
/usr/include/stdlib.h:384:31: error: 'locale_t' has not been declared
  384 | extern unsigned long long int __REDIRECT_NTH (strtoull_l,
      |                               ^~~~~~~~~~~~~~
/usr/include/stdlib.h:416:53: error: 'locale_t' has not been declared
  416 |                         char **__restrict __endptr, locale_t __loc)
      |                                                     ^~~~~~~~
/usr/include/stdlib.h:420:52: error: 'locale_t' has not been declared
  420 |                        char **__restrict __endptr, locale_t __loc)
      |                                                    ^~~~~~~~
/usr/include/stdlib.h:425:31: error: 'locale_t' has not been declared
  425 |                               locale_t __loc)
      |                               ^~~~~~~~
/usr/include/stdlib.h:438:29: error: 'locale_t' has not been declared
  438 |                             locale_t __loc)
      |                             ^~~~~~~~
/usr/include/stdlib.h:445:29: error: 'locale_t' has not been declared
  445 |                             locale_t __loc)
      |                             ^~~~~~~~
/usr/include/stdlib.h:452:31: error: 'locale_t' has not been declared
  452 |                               locale_t __loc)
      |                               ^~~~~~~~
/usr/include/stdlib.h:459:31: error: 'locale_t' has not been declared
  459 |                               locale_t __loc)
      |                               ^~~~~~~~
/usr/include/stdlib.h:466:31: error: 'locale_t' has not been declared
  466 |                               locale_t __loc)
      |                               ^~~~~~~~
/usr/include/stdlib.h:531:25: error: 'size_t' has not been declared
  531 |                         size_t __statelen) __THROW __nonnull ((2));
      |                         ^~~~~~
/usr/include/stdlib.h:561:25: error: 'size_t' has not been declared
  561 |                         size_t __statelen,
      |                         ^~~~~~
/usr/include/stdlib.h:661:42: error: 'size_t' has not been declared
  661 | extern void arc4random_buf (void *__buf, size_t __size)
      |                                          ^~~~~~
/usr/include/stdlib.h:672:22: error: 'size_t' was not declared in this scope; did you mean 'std::size_t'?
  672 | extern void *malloc (size_t __size) __THROW __attribute_malloc__
      |                      ^~~~~~
      |                      std::size_t
In file included from /usr/include/c++/14/bits/requires_hosted.h:31,
                 from /usr/include/c++/14/map:60,
                 from a.cc:3:
/usr/include/x86_64-linux-gnu/c++/14/bits/c++config.h:310:33: note: 'std::size_t' declared here
  310 |   typedef __SIZE_TYPE__         size_t;
      |                                 ^~~~~~
/usr/include/stdlib.h:675:22: error: 'size_t' was not declared in this scope; did yo