Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "bits/stdc++.h"
- #define faster ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);
- #define ll long long int
- using namespace std;
- int main()
- {
- faster
- ll t;
- cin >> t;
- for(int i=0;i<t;i++)
- {
- ll x,y,z;
- cin>>x>>y>>z;
- cout<<(ll)((double)x/(double)sqrt((double)(y-z)/5.0))<<"\n";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment