#include <stdio.h>
#include <math.h>
int main(void) {
int t, n, m, k;
while(t--){
k = m/(float)n*100+1;
if(k
<100) printf("%d\n",(int)ceil((double)(100*m
-k
*n
)/(k
-100))); }
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxtYXRoLmg+CmludCBtYWluKHZvaWQpIHsKCWludCB0LCBuLCBtLCBrOwoJc2NhbmYoIiVkIiwmdCk7Cgl3aGlsZSh0LS0pewoJCXNjYW5mKCIlZCVkIiwmbiwmbSk7CgkJayA9IG0vKGZsb2F0KW4qMTAwKzE7CgkJaWYoazwxMDApIHByaW50ZigiJWRcbiIsKGludCljZWlsKChkb3VibGUpKDEwMCptLWsqbikvKGstMTAwKSkpOwoJCWVsc2UgcHJpbnRmKCItMVxuIik7Cgl9CglyZXR1cm4gMDsKfQ==