Manacher's algorithm
if p[i'] <= R - i; then p[i] = p[i'] else p[i] >= R -i (which we should expand i (the center) past the rigth edge to get it)
if p[i'] <= R - i; then p[i] = p[i'] else p[i] >= R -i (which we should expand i (the center) past the rigth edge to get it)
单个字符 int fgetc( FILE *stream );
int fputc( int ch, FILE *stream );
int ungetc( int ch, FILE *stream );
int scanf( const char* format, ... )
int fscanf( std::FILE* stream, const char* format, ... )
int sscanf( const char* buffer, const char* format, ... )
返回读取的参数的数量, or EOF The conversion specifiers that do not consume leading whitespace: %c、%[、%n
sizeof('a')
: c中'a'的字符常量是int型, 所以输出4. c++中是char型,所以输出1.
execve()
which execute linux system call execve(), it will set up a stack for you, and push onto it argc, argv, envp. the filedescription 0, 1, 2 are left to whatever the shell set them to. The loader does much work for you setting up your relocations, and as we'll see much later, calling your preinitializers. When everything is ready, control is handed to your program by calling _start()./000 ---- / 后面1,2,or 3三个8进制的数,表示character在character set中的值 /xhh ----- / 后面任意个16进制的数,表示character在character set中的值