{"trustable":true,"sections":[{"title":"","value":{"format":"MD","content":"### Read problem statements in [Mandarin](https://www.codechef.com/download/translated/LTIME97/mandarin/CHFRICH.pdf), [Bengali](https://www.codechef.com/download/translated/LTIME97/bengali/CHFRICH.pdf), [Russian](https://www.codechef.com/download/translated/LTIME97/russian/CHFRICH.pdf), and [Vietnamese](https://www.codechef.com/download/translated/LTIME97/vietnamese/CHFRICH.pdf) as well.\n\nChef aims to be the richest person in Chefland by his new restaurant franchise. Currently, his assets are worth $A$ billion dollars and have no liabilities. He aims to increase his assets by $X$ billion dollars per year.\n\nAlso, all the richest people in Chefland are not planning to grow and maintain their current worth.\n\nTo be the richest person in Chefland, he needs to be worth at least $B$ billion dollars. How many years will it take Chef to reach his goal if his value increases by $X$ billion dollars each year?\n\n### Input\n\n- The first line contains an integer $T$, the number of test cases. Then the test cases follow. \n- Each test case contains a single line of input, three integers $A$, $B$, $X$. \n\n### Output\nFor each test case, output in a single line the answer to the problem.\n\n### Constraints \n- $1 \\leq T \\leq 21\\ 000$\n- $100 \\leq A \u003c B \\leq 200$\n- $1 \\leq X \\leq 50$\n- $X$ divides $B - A$\n\n### Subtasks\n**Subtask #1 (100 points):** Original constraints"}},{"title":"Sample 1","value":{"format":"MD","content":"\u003ctable class\u003d\u0027vjudge_sample\u0027\u003e\n\u003cthead\u003e\n \u003ctr\u003e\n \u003cth\u003eInput\u003c/th\u003e\n \u003cth\u003eOutput\u003c/th\u003e\n \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003cpre\u003e3\n100 200 10\n111 199 11\n190 200 10\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003e10\n8\n1\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n**Test Case $1$:** Chef needs to increase his worth by $200 - 100 \u003d 100$ billion dollars and his increment per year being $10$ billion dollars, so it will take him $\\frac{100}{10} \u003d 10$ years to do so.\n\n**Test Case $2$:** Chef needs to increase his worth by $199 - 111 \u003d 88$ billion dollars and his increment per year being $11$ billion dollars, so it will take him $\\frac{88}{11} \u003d 8$ years to do so.\n\n**Test Case $3$:** Chef needs to increase his worth by $200 - 190 \u003d 10$ billion dollars and his increment per year being $10$ billion dollars, so it will take him $\\frac{10}{10} \u003d 1$ year to do so."}}]}