#include using namespace std; #define ll long long int T, n, m, p; int main() { scanf("%d", &T); while(T--){ scanf("%d%d%d", &n, &m, &p); int x=m-m*(100-p)/100; if(n