aboutsummaryrefslogtreecommitdiff
path: root/c/512_donerSospechoso.cpp
blob: a8914e442ec760974818c49b858bdf90696b20fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <iostream>

using namespace std;

int main() {
	int cases;
	int rabbit, horse;
	for (cin >> cases; cases > 0; cases--) {
		cin >> rabbit;
		cin >> horse;
		cout << rabbit*100/(rabbit+horse) << endl;
	}
}