#pragma GCC optimize("Ofast") #pragma GCC target("avx2") #define rd_skip() while(*rp++>=48) #define rd() ({long _v=0,_c;while(_c=*rp++-48,_c>=0)_v=_v*10+_c;_v;}) #define rep(v,e) for(long v=0;v=10000){ wp-=4; *(unsigned*)wp=wd[v%10000]; v/=10000; } wp-=4; *(unsigned*)wp=wd[v]; wp+=4-wdlen[v]; } write(1,wp,wbuf+sizeof wbuf-wp); _exit(0); }