#include <stdio.h>
#include <string.h>
int main(int argc, char *argv[])
{
char str[32];
memcpy(str
, "\x01\x00\x02", 3);
printf("\n[%x][%x][%x]",str
[0],str
[1],str
[2]); return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdHJpbmcuaD4KCmludCBtYWluKGludCBhcmdjLCBjaGFyICphcmd2W10pCnsKICAgIGNoYXIgc3RyWzMyXTsKICAgIG1lbWNweShzdHIsICJceDAxXHgwMFx4MDIiLCAzKTsKCiAgICBwcmludGYoIlxuWyV4XVsleF1bJXhdIixzdHJbMF0sc3RyWzFdLHN0clsyXSk7CiAgICByZXR1cm4gMDsKfQ==