#pragma GCC optimize("Ofast") #pragma GCC target("avx2") char*mmap(); #define RD(v) int v=0;{int _c;while(_c=*rp++-48,_c>=0)v=v*10+_c;} long wbuf[1<<25]; #define WT(v,sp) {long _z=v,_d=0x20202020202020l|(long)sp<<56,_n=56;while(_d|=_z%10+0x30<<(_n-=8),_z/=10);*wp++=_d;} main(){ char*rp=mmap(0l,1l<<28,1,2,0,0ll); long*wp=wbuf; while(*rp++>=48); do{ { RD(a); a=9999999/a*a; WT(a,32); } { RD(a); a=9999999/a*a; WT(a,32); } { RD(a); a=9999999/a*a; WT(a,10); } }while(*rp); write(1,wbuf,(wp-wbuf)*sizeof*wbuf); _exit(0); }