#pragma GCC optimize("Ofast") #pragma GCC target("avx2") #define rd(v) int v=0;{int _c;while(_c=*rp++-48,_c>=0)v=v*10+_c;} int main(){ char buf[64]; read(0,buf,sizeof buf); char*rp=buf; rd(n); rd(p); unsigned z=n*(100-p)/100; char*wp=buf+sizeof buf; do*--wp=z%10+48;while(z/=10); write(1,wp,buf+sizeof buf-wp); _exit(0); return 0; }