Submission #1317760

#TimeUsernameProblemLanguageResultExecution timeMemory
1317760nagorn_phJelly Flavours (IOI20_jelly)C++20
Compilation error
0 ms0 KiB
#include "jelly.h" #include "jelly.cpp" #include <cstdio> #include <cassert> #include <vector> static int n, x, y; static std::vector<int> a, b; int main() { assert(scanf("%d %d %d", &n, &x, &y) == 3); a.resize(n); b.resize(n); for (int i = 0; i < n; i++) { assert(scanf("%d %d", &a[i], &b[i]) == 2); } fclose(stdin); int answer = find_maximum_unique(x, y, a, b); printf("%d\n", answer); }

Compilation message (stderr)

In file included from jelly.cpp:1,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2,
                 from jelly.cpp:2:
jelly.h:1:18: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
    1 | #include <vector>
      |                  ^
In file included from jelly.cpp:2:
jelly.cpp:1:19: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
    1 | #include "jelly.h"
      |                   ^
jelly.cpp:2:21: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
    2 | #include "jelly.cpp"
      |                     ^
jelly.cpp:3:18: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
    3 | #include <cstdio>
      |                  ^
jelly.cpp:4:19: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
    4 | #include <cassert>
      |                   ^
jelly.cpp:5:18: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
    5 | #include <vector>
      |                  ^
In file included from jelly.cpp:3:
/usr/include/c++/13/cstdio:41:28: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
   41 | #include <bits/c++config.h>
      |                            ^
/usr/include/c++/13/cstdio:42:19: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
   42 | #include <stdio.h>
      |                   ^
In file included from jelly.cpp:4:
/usr/include/c++/13/cassert:43:28: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
   43 | #include <bits/c++config.h>
      |                            ^
/usr/include/c++/13/cassert:44:20: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
   44 | #include <assert.h>
      |                    ^
In file included from /usr/include/c++/13/cstdio:42,
                 from jelly.cpp:3:
/usr/include/stdio.h:28:36: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
   28 | #include <bits/libc-header-start.h>
      |                                    ^
/usr/include/stdio.h:34:20: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
   34 | #include <stddef.h>
      |                    ^
/usr/include/stdio.h:37:20: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
   37 | #include <stdarg.h>
      |                    ^
/usr/include/stdio.h:39:24: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
   39 | #include <bits/types.h>
      |                        ^
/usr/include/stdio.h:40:33: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
   40 | #include <bits/types/__fpos_t.h>
      |                                 ^
/usr/include/stdio.h:41:35: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
   41 | #include <bits/types/__fpos64_t.h>
      |                                   ^
/usr/include/stdio.h:42:31: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
   42 | #include <bits/types/__FILE.h>
      |                               ^
/usr/include/stdio.h:43:29: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
   43 | #include <bits/types/FILE.h>
      |                             ^
/usr/include/stdio.h:44:36: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
   44 | #include <bits/types/struct_FILE.h>
      |                                    ^
/usr/include/stdio.h:47:47: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
   47 | # include <bits/types/cookie_io_functions_t.h>
      |                                               ^
/usr/include/stdio.h:129:28: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
  129 | #include <bits/stdio_lim.h>
      |                            ^
/usr/include/stdio.h:437:25: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
  437 | #include <bits/floatn.h>
      |                         ^
/usr/include/stdio.h:964:31: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
  964 | # include <bits/stdio2-decl.h>
      |                               ^
/usr/include/stdio.h:976:25: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
  976 | # include <bits/stdio.h>
      |                         ^
/usr/include/stdio.h:980:26: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
  980 | # include <bits/stdio2.h>
      |                          ^
In file included from /usr/include/c++/13/cassert:44,
                 from jelly.cpp:4:
/usr/include/assert.h:35:22: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
   35 | #include <features.h>
      |                      ^
jelly.cpp: In function 'int main()':
jelly.cpp:11:12: error: 'scanf' was not declared in this scope
   11 |     assert(scanf("%d %d %d", &n, &x, &y) == 3);
      |            ^~~~~
jelly.cpp:11:5: error: 'assert' was not declared in this scope
   11 |     assert(scanf("%d %d %d", &n, &x, &y) == 3);
      |     ^~~~~~
jelly.cpp:1:1: note: 'assert' is defined in header '<cassert>'; did you forget to '#include <cassert>'?
  +++ |+#include <cassert>
    1 | #include "jelly.h"
jelly.cpp:18:12: error: 'stdin' was not declared in this scope
   18 |     fclose(stdin);
      |            ^~~~~
jelly.cpp:1:1: note: 'stdin' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
  +++ |+#include <cstdio>
    1 | #include "jelly.h"
jelly.cpp:18:5: error: 'fclose' was not declared in this scope
   18 |     fclose(stdin);
      |     ^~~~~~
jelly.cpp:22:5: error: 'printf' was not declared in this scope
   22 |     printf("%d\n", answer);
      |     ^~~~~~
jelly.cpp:22:5: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
/usr/include/c++/13/cstdio: At global scope:
/usr/include/c++/13/cstdio:98:11: error: 'FILE' has not been declared in '::'
   98 |   using ::FILE;
      |           ^~~~
/usr/include/c++/13/cstdio:99:11: error: 'fpos_t' has not been declared in '::'
   99 |   using ::fpos_t;
      |           ^~~~~~
/usr/include/c++/13/cstdio:101:11: error: 'clearerr' has not been declared in '::'
  101 |   using ::clearerr;
      |           ^~~~~~~~
/usr/include/c++/13/cstdio:102:11: error: 'fclose' has not been declared in '::'
  102 |   using ::fclose;
      |           ^~~~~~
/usr/include/c++/13/cstdio:103:11: error: 'feof' has not been declared in '::'
  103 |   using ::feof;
      |           ^~~~
/usr/include/c++/13/cstdio:104:11: error: 'ferror' has not been declared in '::'
  104 |   using ::ferror;
      |           ^~~~~~
/usr/include/c++/13/cstdio:105:11: error: 'fflush' has not been declared in '::'
  105 |   using ::fflush;
      |           ^~~~~~
/usr/include/c++/13/cstdio:106:11: error: 'fgetc' has not been declared in '::'
  106 |   using ::fgetc;
      |           ^~~~~
/usr/include/c++/13/cstdio:107:11: error: 'fgetpos' has not been declared in '::'
  107 |   using ::fgetpos;
      |           ^~~~~~~
/usr/include/c++/13/cstdio:108:11: error: 'fgets' has not been declared in '::'
  108 |   using ::fgets;
      |           ^~~~~
/usr/include/c++/13/cstdio:109:11: error: 'fopen' has not been declared in '::'
  109 |   using ::fopen;
      |           ^~~~~
/usr/include/c++/13/cstdio:110:11: error: 'fprintf' has not been declared in '::'
  110 |   using ::fprintf;
      |           ^~~~~~~
/usr/include/c++/13/cstdio:111:11: error: 'fputc' has not been declared in '::'
  111 |   using ::fputc;
      |           ^~~~~
/usr/include/c++/13/cstdio:112:11: error: 'fputs' has not been declared in '::'
  112 |   using ::fputs;
      |           ^~~~~
/usr/include/c++/13/cstdio:113:11: error: 'fread' has not been declared in '::'
  113 |   using ::fread;
      |           ^~~~~
/usr/include/c++/13/cstdio:114:11: error: 'freopen' has not been declared in '::'
  114 |   using ::freopen;
      |           ^~~~~~~
/usr/include/c++/13/cstdio:115:11: error: 'fscanf' has not been declared in '::'
  115 |   using ::fscanf;
      |           ^~~~~~
/usr/include/c++/13/cstdio:116:11: error: 'fseek' has not been declared in '::'
  116 |   using ::fseek;
      |           ^~~~~
/usr/include/c++/13/cstdio:117:11: error: 'fsetpos' has not been declared in '::'
  117 |   using ::fsetpos;
      |           ^~~~~~~
/usr/include/c++/13/cstdio:118:11: error: 'ftell' has not been declared in '::'
  118 |   using ::ftell;
      |           ^~~~~
/usr/include/c++/13/cstdio:119:11: error: 'fwrite' has not been declared in '::'
  119 |   using ::fwrite;
      |           ^~~~~~
/usr/include/c++/13/cstdio:120:11: error: 'getc' has not been declared in '::'
  120 |   using ::getc;
      |           ^~~~
/usr/include/c++/13/cstdio:121:11: error: 'getchar' has not been declared in '::'
  121 |   using ::getchar;
      |           ^~~~~~~
/usr/include/c++/13/cstdio:126:11: error: 'perror' has not been declared in '::'
  126 |   using ::perror;
      |           ^~~~~~
/usr/include/c++/13/cstdio:127:11: error: 'printf' has not been declared in '::'
  127 |   using ::printf;
      |           ^~~~~~
/usr/include/c++/13/cstdio:128:11: error: 'putc' has not been declared in '::'
  128 |   using ::putc;
      |           ^~~~
/usr/include/c++/13/cstdio:129:11: error: 'putchar' has not been declared in '::'
  129 |   using ::putchar;
      |           ^~~~~~~
/usr/include/c++/13/cstdio:130:11: error: 'puts' has not been declared in '::'
  130 |   using ::puts;
      |           ^~~~
/usr/include/c++/13/cstdio:131:11: error: 'remove' has not been declared in '::'
  131 |   using ::remove;
      |           ^~~~~~
/usr/include/c++/13/cstdio:132:11: error: 'rename' has not been declared in '::'
  132 |   using ::rename;
      |           ^~~~~~
/usr/include/c++/13/cstdio:133:11: error: 'rewind' has not been declared in '::'
  133 |   using ::rewind;
      |           ^~~~~~
/usr/include/c++/13/cstdio:134:11: error: 'scanf' has not been declared in '::'
  134 |   using ::scanf;
      |           ^~~~~
/usr/include/c++/13/cstdio:135:11: error: 'setbuf' has not been declared in '::'
  135 |   using ::setbuf;
      |           ^~~~~~
/usr/include/c++/13/cstdio:136:11: error: 'setvbuf' has not been declared in '::'
  136 |   using ::setvbuf;
      |           ^~~~~~~
/usr/include/c++/13/cstdio:137:11: error: 'sprintf' has not been declared in '::'
  137 |   using ::sprintf;
      |           ^~~~~~~
/usr/include/c++/13/cstdio:138:11: error: 'sscanf' has not been declared in '::'
  138 |   using ::sscanf;
      |           ^~~~~~
/usr/include/c++/13/cstdio:139:11: error: 'tmpfile' has not been declared in '::'
  139 |   using ::tmpfile;
      |           ^~~~~~~
/usr/include/c++/13/cstdio:141:11: error: 'tmpnam' has not been declared in '::'
  141 |   using ::tmpnam;
      |           ^~~~~~
/usr/include/c++/13/cstdio:143:11: error: 'ungetc' has not been declared in '::'
  143 |   using ::ungetc;
      |           ^~~~~~
/usr/include/c++/13/cstdio:144:11: error: 'vfprintf' has not been declared in '::'
  144 |   using ::vfprintf;
      |           ^~~~~~~~
/usr/include/c++/13/cstdio:145:11: error: 'vprintf' has not been declared in '::'
  145 |   using ::vprintf;
      |           ^~~~~~~
/usr/include/c++/13/cstdio:146:11: error: 'vsprintf' has not been declared in '::'
  146 |   using ::vsprintf;
      |           ^~~~~~~~
/usr/include/c++/13/cstdio:175:11: error: 'snprintf' has not been declared in '::'
  175 |   using ::snprintf;
      |           ^~~~~~~~
/usr/include/c++/13/cstdio:176:11: error: 'vfscanf' has not been declared in '::'
  176 |   using ::vfscanf;
      |           ^~~~~~~
/usr/include/c++/13/cstdio:177:11: error: 'vscanf' has not been declared in '::'
  177 |   using ::vscanf;
      |           ^~~~~~
/usr/include/c++/13/cstdio:178:11: error: 'vsnprintf' has not been declared in '::'
  178 |   using ::vsnprintf;
      |           ^~~~~~~~~
/usr/include/c++/13/cstdio:179:11: error: 'vsscanf' has not been declared in '::'
  179 |   using ::vsscanf;
      |           ^~~~~~~
/usr/include/c++/13/cstdio:185:22: error: 'snprintf' has not been declared in '__gnu_cxx'
  185 |   using ::__gnu_cxx::snprintf;
      |                      ^~~~~~~~
/usr/include/c++/13/cstdio:186:22: error: 'vfscanf' has not been declared in '__gnu_cxx'
  186 |   using ::__gnu_cxx::vfscanf;
      |                      ^~~~~~~
/usr/include/c++/13/cstdio:187:22: error: 'vscanf' has not been declared in '__gnu_cxx'
  187 |   using ::__gnu_cxx::vscanf;
      |                      ^~~~~~
/usr/include/c++/13/cstdio:188:22: error: 'vsnprintf' has not been declared in '__gnu_cxx'
  188 |   using ::__gnu_cxx::vsnprintf;
      |                      ^~~~~~~~~
/usr/include/c++/13/cstdio:189:22: error: 'vsscanf' has not been declared in '__gnu_cxx'
  189 |   using ::__gnu_cxx::vsscanf;
      |                      ^~~~~~~
jelly.cpp:7:12: error: redefinition of 'int n'
    7 | static int n, x, y;
      |            ^
jelly.cpp:7:12: note: 'int n' previously declared here
    7 | static int n, x, y;
      |            ^
jelly.cpp:7:15: error: redefinition of 'int x'
    7 | static int n, x, y;
      |               ^
jelly.cpp:7:15: note: 'int x' previously declared here
    7 | static int n, x, y;
      |               ^
jelly.cpp:7:18: error: redefinition of 'int y'
    7 | static int n, x, y;
      |                  ^
jelly.cpp:7:18: note: 'int y' previously declared here
    7 | static int n, x, y;
      |                  ^
jelly.cpp:8:25: error: redefinition of 'std::vector<int> a'
    8 | static std::vector<int> a, b;
      |                         ^
jelly.cpp:8:25: note: 'std::vector<int> a' previously defined here
    8 | static std::vector<int> a, b;
      |                         ^
jelly.cpp:8:28: error: redefinition of 'std::vector<int> b'
    8 | static std::vector<int> a, b;
      |                            ^
jelly.cpp:8:28: note: 'std::vector<int> b' previously defined here
    8 | static std::vector<int> a, b;
      |                            ^
jelly.cpp:10:5: error: redefinition of 'int main()'
   10 | int main() {
      |     ^~~~
jelly.cpp:10:5: note: 'int main()' previously defined here
   10 | int main() {
      |     ^~~~
jelly.cpp: In function 'int main()':
jelly.cpp:11:12: error: 'scanf' was not declared in this scope
   11 |     assert(scanf("%d %d %d", &n, &x, &y) == 3);
      |            ^~~~~
jelly.cpp:11:5: error: 'assert' was not declared in this scope
   11 |     assert(scanf("%d %d %d", &n, &x, &y) == 3);
      |     ^~~~~~
jelly.cpp:11:5: note: 'assert' is defined in header '<cassert>'; did you forget to '#include <cassert>'?
jelly.cpp:18:12: error: 'stdin' was not declared in this scope
   18 |     fclose(stdin);
      |            ^~~~~
jelly.cpp:18:12: note: 'stdin' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
jelly.cpp:18:5: error: 'fclose' was not declared in this scope
   18 |     fclose(stdin);
      |     ^~~~~~
jelly.cpp:22:5: error: 'printf' was not declared in this scope
   22 |     printf("%d\n", answer);
      |     ^~~~~~
jelly.cpp:22:5: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
/usr/include/stdio.h: At global scope:
/usr/include/stdio.h:53:9: error: '__gnuc_va_list' does not name a type
   53 | typedef __gnuc_va_list va_list;
      |         ^~~~~~~~~~~~~~
/usr/include/stdio.h:64:9: error: '__off_t' does not name a type
   64 | typedef __off_t off_t;
      |         ^~~~~~~
/usr/include/stdio.h:71:9: error: '__off64_t' does not name a type
   71 | typedef __off64_t off64_t;
      |         ^~~~~~~~~
/usr/include/stdio.h:78:9: error: '__ssize_t' does not name a type; did you mean 'size_t'?
   78 | typedef __ssize_t ssize_t;
      |         ^~~~~~~~~
      |         size_t
/usr/include/stdio.h:85:9: error: '__fpos_t' does not name a type
   85 | typedef __fpos_t fpos_t;
      |         ^~~~~~~~
/usr/include/stdio.h:90:9: error: '__fpos64_t' does not name a type
   90 | typedef __fpos64_t fpos64_t;
      |         ^~~~~~~~~~
/usr/include/stdio.h:149:8: error: 'FILE' does not name a type
  149 | extern FILE *stdin;             /* Standard input stream.  */
      |        ^~~~
/usr/include/stdio.h:1:1: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
  +++ |+#include <cstdio>
    1 | /* Define ISO C stdio on top of C++ iostreams.
/usr/include/stdio.h:150:8: error: 'FILE' does not name a type
  150 | extern FILE *stdout;            /* Standard output stream.  */
      |        ^~~~
/usr/include/stdio.h:150:8: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
/usr/include/stdio.h:151:8: error: 'FILE' does not name a type
  151 | extern FILE *stderr;            /* Standard error output stream.  */
      |        ^~~~
/usr/include/stdio.h:151:8: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
/usr/include/stdio.h:184:20: error: 'FILE' was not declared in this scope
  184 | extern int fclose (FILE *__stream) __nonnull ((1));
      |                    ^~~~
/usr/include/stdio.h:184:20: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
/usr/include/stdio.h:184:26: error: '__stream' was not declared in this scope
  184 | extern int fclose (FILE *__stream) __nonnull ((1));
      |                          ^~~~~~~~
In file included from /usr/include/features.h:502,
                 from /usr/include/x86_64-linux-gnu/c++/13/bits/os_defines.h:39,
                 from /usr/include/x86_64-linux-gnu/c++/13/bits/c++config.h:679,
                 from /usr/include/c++/13/bits/requires_hosted.h:31,
                 from /usr/include/c++/13/vector:60,
                 from jelly.h:1,
                 from jelly.cpp:1:
/usr/include/stdio.h:184:36: error: attributes after parenthesized initializer ignored [-fpermissive]
  184 | extern int fclose (FILE *__stream) __nonnull ((1));
      |                                    ^~~~~~~~~
/usr/include/stdio.h:194:8: error: 'FILE' does not name a type
  194 | extern FILE *tmpfile (void)
      |        ^~~~
/usr/include/stdio.h:194:8: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
/usr/include/stdio.h:206:8: error: 'FILE' does not name a type
  206 | extern FILE *tmpfile64 (void)
      |        ^~~~
/usr/include/stdio.h:206:8: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
/usr/include/stdio.h:236:20: error: 'FILE' was not declared in this scope
  236 | extern int fflush (FILE *__stream);
      |                    ^~~~
/usr/include/stdio.h:236:20: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
/usr/include/stdio.h:236:26: error: '__stream' was not declared in this scope
  236 | extern int fflush (FILE *__stream);
      |                          ^~~~~~~~
/usr/include/stdio.h:245:29: error: 'FILE' was not declared in this scope
  245 | extern int fflush_unlocked (FILE *__stream);
      |                             ^~~~
/usr/include/stdio.h:245:29: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
/usr/include/stdio.h:245:35: error: '__stream' was not declared in this scope
  245 | extern int fflush_unlocked (FILE *__stream);
      |                                   ^~~~~~~~
/usr/include/stdio.h:264:8: error: 'FILE' does not name a type
  264 | extern FILE *fopen (const char *__restrict __filename,
      |        ^~~~
/usr/include/stdio.h:264:8: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
/usr/include/stdio.h:271:8: error: 'FILE' does not name a type
  271 | extern FILE *freopen (const char *__restrict __filename,
      |        ^~~~
/usr/include/stdio.h:271:8: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
/usr/include/stdio.h:289:8: error: 'FILE' does not name a type
  289 | extern FILE *fopen64 (const char *__restrict __filename,
      |        ^~~~
/usr/include/stdio.h:289:8: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
/usr/include/stdio.h:292:8: error: 'FILE' does not name a type
  292 | extern FILE *freopen64 (const char *__restrict __filename,
      |        ^~~~
/usr/include/stdio.h:292:8: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
/usr/include/stdio.h:299:8: error: 'FILE' does not name a type
  299 | extern FILE *fdopen (int __fd, const char *__modes) __THROW
      |        ^~~~
/usr/include/stdio.h:299:8: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
/usr/include/stdio.h:306:8: error: 'FILE' does not name a type
  306 | extern FILE *fopencookie (void *__restrict __magic_cookie,
      |        ^~~~
/usr/include/stdio.h:306:8: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
/usr/include/stdio.h:314:8: error: 'FILE' does not name a type
  314 | extern FILE *fmemopen (void *__s, size_t __len, const char *__modes)
      |        ^~~~
/usr/include/stdio.h:314:8: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
/usr/include/stdio.h:320:8: error: 'FILE' does not name a type
  320 | extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __THROW
      |        ^~~~
/usr/include/stdio.h:320:8: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
/usr/include/stdio.h:334:13: error: variable or field 'setbuf' declared void
  334 | extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __THROW
      |             ^~~~~~
/usr/include/stdio.h:334:21: error: 'FILE' was not declared in this scope
  334 | extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __THROW
      |                     ^~~~
/usr/include/stdio.h:334:21: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
/usr/include/stdio.h:334:27: error: expected primary-expression before '__restrict'
  334 | extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __THROW
      |                           ^~~~~~~~~~
/usr/include/stdio.h:334:48: error: expected primary-expression before 'char'
  334 | extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __THROW
      |                                                ^~~~
/usr/include/stdio.h:339:21: error: 'FILE' was not declared in this scope
  339 | extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
      |                     ^~~~
/usr/include/stdio.h:339:21: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
/usr/include/stdio.h:339:27: error: expected primary-expression before '__restrict'
  339 | extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
      |                           ^~~~~~~~~~
/usr/include/stdio.h:339:48: error: expected primary-expression before 'char'
  339 | extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
      |                                                ^~~~
/usr/include/stdio.h:340:21: error: expected primary-expression before 'int'
  340 |                     int __modes, size_t __n) __THROW __nonnull ((1));
      |                     ^~~
/usr/include/stdio.h:340:41: error: expected primary-expression before '__n'
  340 |                     int __modes, size_t __n) __THROW __nonnull ((1));
      |                                         ^~~
/usr/include/stdio.h:340:44: error: expression list treated as compound expression in initializer [-fpermissive]
  340 |                     int __modes, size_t __n) __THROW __nonnull ((1));
      |                                            ^
/usr/include/stdio.h:345:13: error: variable or field 'setbuffer' declared void
  345 | extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
      |             ^~~~~~~~~
/usr/include/stdio.h:345:24: error: 'FILE' was not declared in this scope
  345 | extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
      |                        ^~~~
/usr/include/stdio.h:345:24: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
/usr/include/stdio.h:345:30: error: expected primary-expression before '__restrict'
  345 | extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
      |                              ^~~~~~~~~~
/usr/include/stdio.h:345:51: error: expected primary-expression before 'char'
  345 | extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
      |                                                   ^~~~
/usr/include/stdio.h:346:31: error: expected primary-expression before '__size'
  346 |                        size_t __size) __THROW __nonnull ((1));
      |                               ^~~~~~
/usr/include/stdio.h:349:13: error: variable or field 'setlinebuf' declared void
  349 | extern void setlinebuf (FILE *__stream) __THROW __nonnull ((1));
      |             ^~~~~~~~~~
/usr/include/stdio.h:349:25: error: 'FILE' was not declared in this scope
  349 | extern void setlinebuf (FILE *__stream) __THROW __nonnull ((1));
      |                         ^~~~
/usr/include/stdio.h:349:25: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
/usr/include/stdio.h:349:31: error: '__stream' was not declared in this scope
  349 | extern void setlinebuf (FILE *__stream) __THROW __nonnull ((1));
      |                               ^~~~~~~~
/usr/include/stdio.h:357:21: error: 'FILE' was not declared in this scope
  357 | extern int fprintf (FILE *__restrict __stream,
      |                     ^~~~
/usr/include/stdio.h:357:21: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
/usr/include/stdio.h:357:27: error: expected primary-expression before '__restrict'
  357 | extern int fprintf (FILE *__restrict __stream,
      |                           ^~~~~~~~~~
/usr/include/stdio.h:358:21: error: expected primary-expression before 'const'
  358 |                     const char *__restrict __format, ...) __nonnull ((1));
      |                     ^~~~~
/usr/include/stdio.h:358:54: error: expected primary-expression before '...' token
  358 |                     const char *__restrict __format, ...) __nonnull ((1));
      |                                                      ^~~
/usr/include/stdio.h:358:59: error: attributes after parenthesized initializer ignored [-fpermissive]
  358 |                     const char *__restrict __format, ...) __nonnull ((1));
      |                                                           ^~~~~~~~~
/usr/include/stdio.h:358:59: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/include/stdio.h:372:22: error: 'FILE' was not declared in this scope
  372 | extern int vfprintf (FILE *__restrict __s, const char *__restrict __format,
      |                      ^~~~
/usr/include/stdio.h:372:22: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
/usr/include/stdio.h:372:28: error: expected primary-expression before '__restrict'
  372 | extern int vfprintf (FILE *__restrict __s, const char *__restrict __format,
      |                            ^~~~~~~~~~
/usr/include/stdio.h:372:44: error: expected primary-expression before 'const'
  372 | extern int vfprintf (FILE *__restrict __s, const char *__restrict __format,
      |                                            ^~~~~
/usr/include/stdio.h:373:22: error: '__gnuc_va_list' was not declared in this scope
  373 |                      __gnuc_va_list __arg) __nonnull ((1));
      |                      ^~~~~~~~~~~~~~
/usr/include/stdio.h:373:44: error: attributes after parenthesized initializer ignored [-fpermissive]
  373 |                      __gnuc_va_list __arg) __nonnull ((1));
      |                                            ^~~~~~~~~
/usr/include/stdio.h:373:44: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/include/stdio.h:378:54: error: '__gnuc_va_list' has not been declared
  378 | extern int vprintf (const char *__restrict __format, __gnuc_va_list __arg);
      |                                                      ^~~~~~~~~~~~~~
/usr/include/stdio.h:381:22: error: '__gnuc_va_list' has not been declared
  381 |                      __gnuc_va_list __arg) __THROWNL;
      |                      ^~~~~~~~~~~~~~
/usr/include/stdio.h:390:56: error: '__gnuc_va_list' has not been declared
  390 |                       const char *__restrict __format, __gnuc_va_list __arg)
      |                                                        ^~~~~~~~~~~~~~
/usr/include/stdio.h:398:23: error: '__gnuc_va_list' has not been declared
  398 |                       __gnuc_va_list __arg)
      |                       ^~~~~~~~~~~~~~
/usr/include/stdio.h:411:22: error: '__gnuc_va_list' has not been declared
  411 |                      __gnuc_va_list __arg)
      |                      ^~~~~~~~~~~~~~
/usr/include/stdio.h:422:20: error: 'FILE' was not declared in this scope
  422 | extern int fscanf (FILE *__restrict __stream,
      |                    ^~~~
/usr/include/stdio.h:422:20: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
/usr/include/stdio.h:422:26: error: expected primary-expression before '__restrict'
  422 | extern int fscanf (FILE *__restrict __stream,
      |                          ^~~~~~~~~~
/usr/include/stdio.h:423:20: error: expected primary-expression before 'const'
  423 |                    const char *__restrict __format, ...) __wur __nonnull ((1));
      |                    ^~~~~
/usr/include/stdio.h:423:53: error: expected primary-expression before '...' token
  423 |                    const char *__restrict __format, ...) __wur __nonnull ((1));
      |                                                     ^~~
/usr/include/stdio.h:423:64: error: attributes after parenthesized initializer ignored [-fpermissive]
  423 |                    const char *__restrict __format, ...) __wur __nonnull ((1));
      |                                                                ^~~~~~~~~
/usr/include/stdio.h:423:64: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/include/stdio.h:442:12: error: redefinition of 'int fscanf'
  442 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream,
      |            ^~~~~~~~~~
/usr/include/stdio.h:422:12: note: 'int fscanf' previously defined here
  422 | extern int fscanf (FILE *__restrict __stream,
      |            ^~~~~~
/usr/include/stdio.h:442:12: error: 'FILE' was not declared in this scope
  442 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream,
      |            ^~~~~~~~~~
/usr/include/stdio.h:442:12: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
/usr/include/stdio.h:442:12: error: expected primary-expression before '__restrict'
  442 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream,
      |            ^~~~~~~~~~
/usr/include/stdio.h:442:12: error: expected primary-expression before 'const'
  442 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream,
      |            ^~~~~~~~~~
/usr/include/stdio.h:442:12: error: expected primary-expression before '...' token
  442 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream,
      |            ^~~~~~~~~~
/usr/include/stdio.h:490:21: error: 'FILE' was not declared in this scope
  490 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format,
      |                     ^~~~
/usr/include/stdio.h:490:21: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
/usr/include/stdio.h:490:27: error: expected primary-expression before '__restrict'
  490 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format,
      |                           ^~~~~~~~~~
/usr/include/stdio.h:490:43: error: expected primary-expression before 'const'
  490 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format,
      |                                           ^~~~~
/usr/include/stdio.h:491:21: error: '__gnuc_va_list' was not declared in this scope
  491 |                     __gnuc_va_list __arg)
      |                     ^~~~~~~~~~~~~~
/usr/include/stdio.h:492:59: error: attributes after parenthesized initializer ignored [-fpermissive]
  492 |      __attribute__ ((__format__ (__scanf__, 2, 0))) __wur __nonnull ((1));
      |                                                           ^~~~~~~~~
/usr/include/stdio.h:492:59: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/include/stdio.h:498:53: error: '__gnuc_va_list' has not been declared
  498 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg)
      |                                                     ^~~~~~~~~~~~~~
/usr/include/stdio.h:503:54: error: '__gnuc_va_list' has not been declared
  503 |                     const char *__restrict __format, __gnuc_va_list __arg)
      |                                                      ^~~~~~~~~~~~~~
/usr/include/stdio.h:511:12: error: redefinition of 'int vfscanf'
  511 | extern int __REDIRECT (vfscanf,
      |            ^~~~~~~~~~
/usr/include/stdio.h:490:12: note: 'int vfscanf' previously defined here
  490 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format,
      |            ^~~~~~~
/usr/include/stdio.h:511:12: error: 'FILE' was not declared in this scope
  511 | extern int __REDIRECT (vfscanf,
      |            ^~~~~~~~~~
/usr/include/stdio.h:511:12: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
/usr/include/stdio.h:511:12: error: expected primary-expression before '__restrict'
  511 | extern int __REDIRECT (vfscanf,
      |            ^~~~~~~~~~
/usr/include/stdio.h:511:12: error: expected primary-expression before 'const'
  511 | extern int __REDIRECT (vfscanf,
      |            ^~~~~~~~~~
/usr/include/stdio.h:511:12: error: '__gnuc_va_list' was not declared in this scope
  511 | extern int __REDIRECT (vfscanf,
      |            ^~~~~~~~~~
/usr/include/stdio.h:516:12: error: '__gnuc_va_list' has not been declared
  516 | extern int __REDIRECT (vscanf, (const char *__restrict __format,
      |            ^~~~~~~~~~
/usr/include/stdio.h:519:12: error: '__gnuc_va_list' has not been declared
  519 | extern int __REDIRECT_NTH (vsscanf,
      |            ^~~~~~~~~~~~~~
/usr/include/stdio.h:575:19: error: 'FILE' was not declared in this scope
  575 | extern int fgetc (FILE *__stream) __nonnull ((1));
      |                   ^~~~
/usr/include/stdio.h:575:19: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
/usr/include/stdio.h:575:25: error: '__stream' was not declared in this scope
  575 | extern int fgetc (FILE *__stream) __nonnull ((1));
      |                         ^~~~~~~~
/usr/include/stdio.h:575:35: error: attributes after parenthesized initializer ignored [-fpermissive]
  575 | extern int fgetc (FILE *__stream) __nonnull ((1));
      |                                   ^~~~~~~~~
/usr/include/stdio.h:576:18: error: 'FILE' was not declared in this scope
  576 | extern int getc (FILE *__stream) __nonnull ((1));
      |                  ^~~~
/usr/include/stdio.h:576:18: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
/usr/include/stdio.h:576:24: error: '__stream' was not declared in this scope
  576 | extern int getc (FILE *__stream) __nonnull ((1));
      |                        ^~~~~~~~
/usr/include/stdio.h:576:34: error: attributes after parenthesized initializer ignored [-fpermissive]
  576 | extern int getc (FILE *__stream) __nonnull ((1));
      |                                  ^~~~~~~~~
/usr/include/stdio.h:589:27: error: 'FILE' was not declared in this scope
  589 | extern int getc_unlocked (FILE *__stream) __nonnull ((1));
      |                           ^~~~
/usr/include/stdio.h:589:27: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
/usr/include/stdio.h:589:33: error: '__stream' was not declared in this scope
  589 | extern int getc_unlocked (FILE *__stream) __nonnull ((1));
      |                                 ^~~~~~~~
/usr/include/stdio.h:589:43: error: attributes after parenthesized initializer ignored [-fpermissive]
  589 | extern int getc_unlocked (FILE *__stream) __nonnull ((1));
      |                                           ^~~~~~~~~
/usr/include/stdio.h:600:28: error: 'FILE' was not declared in this scope
  600 | extern int fgetc_unlocked (FILE *__stream) __nonnull ((1));
      |                            ^~~~
/usr/include/stdio.h:600:28: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
/usr/include/stdio.h:600:34: error: '__stream' was not declared in this scope
  600 | extern int fgetc_unlocked (FILE *__stream) __nonnull ((1));
      |                                  ^~~~~~~~
/usr/include/stdio.h:600:44: error: attributes after parenthesized initializer ignored [-fpermissive]
  600 | extern int fgetc_unlocked (FILE *__stream) __nonnull ((1));
      |                                            ^~~~~~~~~
/usr/include/stdio.h:611:28: error: 'FILE' has not been declared
  611 | extern int fputc (int __c, FILE *__stream) __nonnull ((2));
      |                            ^~~~
/usr/include/stdio.h:612:27: error: 'FILE' has not been declared
  612 | extern int putc (int __c, FILE *__stream) __nonnull ((2));
      |                           ^~~~
/usr/include/stdio.h:627:37: error: 'FILE' has not been declared
  627 | extern int fputc_unlocked (int __c, FILE *__stream) __nonnull ((2));
      |                                     ^~~~
/usr/include/stdio.h:635:36: error: 'FILE' has not been declared
  635 | extern int putc_unlocked (int __c, FILE *__stream) __nonnull ((2));
      |                                    ^~~~
/usr/include/stdio.h:643:18: error: 'FILE' was not declared in this scope
  643 | extern int getw (FILE *__stream) __nonnull ((1));
      |                  ^~~~
/usr/include/stdio.h:643:18: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
/usr/include/stdio.h:643:24: error: '__stream' was not declared in this scope
  643 | extern int getw (FILE *__stream) __nonnull ((1));
      |                        ^~~~~~~~
/usr/include/stdio.h:643:34: error: attributes after parenthesized initializer ignored [-fpermissive]
  643 | extern int getw (FILE *__stream) __nonnull ((1));
      |                                  ^~~~~~~~~
/usr/include/stdio.h:646:27: error: 'FILE' has not been declared
  646 | extern int putw (int __w, FILE *__stream) __nonnull ((2));
      |                           ^~~~
/usr/include/stdio.h:654:52: error: 'FILE' has not been declared
  654 | extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
      |                                                    ^~~~
/usr/include/stdio.h:678:30: error: 'FILE' has not been declared
  678 |                              FILE *__restrict __stream) __wur
      |                              ^~~~
/usr/include/stdio.h:694:8: error: '__ssize_t' does not name a type; did you mean 'size_t'?
  694 | extern __ssize_t __getdelim (char **__restrict __lineptr,
      |        ^~~~~~~~~
      |        size_t
/usr/include/stdio.h:697:8: error: '__ssize_t' does not name a type; did you mean 'size_t'?
  697 | extern __ssize_t getdelim (char **__restrict __lineptr,
      |        ^~~~~~~~~
      |        size_t
/usr/include/stdio.h:707:8: error: '__ssize_t' does not name a type; did you mean 'size_t'?
  707 | extern __ssize_t getline (char **__restrict __lineptr,
      |        ^~~~~~~~~
      |        size_t
/usr/include/stdio.h:717:47: error: 'FILE' has not been declared
  717 | extern int fputs (const char *__restrict __s, FILE *__restrict __stream)
      |                                               ^~~~
/usr/include/stdio.h:731:29: error: 'FILE' has not been declared
  731 | extern int ungetc (int __c, FILE *__stream) __nonnull ((2));
      |                             ^~~~
/usr/include/stdio.h:739:34: error: 'FILE' has not been declared
  739 |                      size_t __n, FILE *__restrict __stream) __wur
      |                                  ^~~~
/usr/include/stdio.h:746:35: error: 'FILE' has not been declared
  746 |                       size_t __n, FILE *__restrict __s) __nonnull((4));
      |                                   ^~~~
/usr/include/stdio.h:756:28: error: 'FILE' has not been declared
  756 |                            FILE *__restrict __stream) __nonnull ((2));
      |                            ^~~~
/usr/include/stdio.h:767:43: error: 'FILE' has not been declared
  767 |                               size_t __n, FILE *__restrict __stream) __wur
      |                                           ^~~~
/usr/include/stdio.h:770:44: error: 'FILE' has not been declared
  770 |                                size_t __n, FILE *__restrict __stream)
      |                                            ^~~~
/usr/include/stdio.h:779:19: error: 'FILE' was not declared in this scope
  779 | extern int fseek (FILE *__stream, long int __off, int __whence)
      |                   ^~~~
/usr/include/stdio.h:779:19: note: 'FILE' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
/usr/include/stdio.h:779:25: error: '__stream' was not declared in this scope
  779 | extern int fseek (FILE *__stream, long int __off, int __whence)
      |                         ^~~~~~~~
/usr/include/stdio.h:779:35: error: expected primary-expression before 'long'
  779 | extern int fseek (FILE *__stream, long int __off, int __whence)
      |                                   ^~~~
/usr/include/stdio.h:779:51: error: exp