Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <cmath>
- #include <cstdio>
- #include <vector>
- #include <set>
- #include <queue>
- #include <stack>
- #include <map>
- #include <iostream>
- #include <algorithm>
- #include <fstream>
- #include <stdio.h>
- #include <stdlib.h>
- using namespace std;
- int main()
- {
- double t, u, v, x;
- cin >> t;
- for(int i = 0; i < t; i++){
- cin >> u >> v >> x;
- printf("%.7f\n", x / (u + v));
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement