0_0_38808201_8452.cpp: In function 'void write(int)':
0_0_38808201_8452.cpp:84:12: error: 'int8_t' does not name a type
84 | rg int8_t stk[10],top;
| ^~~~~~
0_0_38808201_8452.cpp:4:1: note: 'int8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
3 | #include<queue>
+++ |+#include <cstdint>
4 | #define rg register
0_0_38808201_8452.cpp:85:12: error: 'stk' was not declared in this scope; did you mean 'std'?
85 | do stk[++top]=fl%10,fl/=10; while(fl);
| ^~~
| std
0_0_38808201_8452.cpp:85:18: error: 'top' was not declared in this scope
85 | do stk[++top]=fl%10,fl/=10; while(fl);
| ^~~
0_0_38808201_8452.cpp:86:14: error: 'top' was not declared in this scope
86 | for(;top;top--) putchar(stk[top]+'0');
| ^~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/cstdio:42,
from 0_0_38808201_8452.cpp:1:
0_0_38808201_8452.cpp:86:33: error: 'stk' was not declared in this scope; did you mean 'std'?
86 | for(;top;top--) putchar(stk[top]+'0');
| ^~~
0_0_38808201_8452.cpp:86:25: note: in expansion of macro 'putchar'
86 | for(;top;top--) putchar(stk[top]+'0');
| ^~~~~~~
0_0_38808201_8452.cpp: In function 'void swrite(std::string)':
0_0_38808201_8452.cpp:89:12: error: 'int8_t' does not name a type
89 | rg int8_t dd=s.size();
| ^~~~~~
0_0_38808201_8452.cpp:89:12: note: 'int8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
0_0_38808201_8452.cpp:90:16: error: 'int8_t' does not name a type
90 | for(rg int8_t i=0;i<dd;i++) putchar(s[i]);
| ^~~~~~
0_0_38808201_8452.cpp:90:16: note: 'int8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
0_0_38808201_8452.cpp:90:27: error: expected ';' before 'i'
90 | for(rg int8_t i=0;i<dd;i++) putchar(s[i]);
| ^
| ;
0_0_38808201_8452.cpp:90:29: error: 'dd' was not declared in this scope
90 | for(rg int8_t i=0;i<dd;i++) putchar(s[i]);
| ^~
0_0_38808201_8452.cpp:90:27: error: 'i' was not declared in this scope
90 | for(rg int8_t i=0;i<dd;i++) putchar(s[i]);
| ^
|