#include using namespace std; int t; int n,m; double p; int main() { ios::sync_with_stdio(false); cin.tie(0); cout.tie(0); cin>>t; int ans=0; while(t--) { ans=0; cin>>n>>m>>p; p/=100; while(n>=m) { n=n-m*p; ans++; } cout<