jakaria_hossain

codeforces - maximum gcd

Jun 21st, 2020
899
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3. #define ll long long
  4. #define fast ios_base::sync_with_stdio(0),cin.tie(NULL)
  5. int main()
  6. {
  7.     fast;
  8.     ll t;
  9.     cin>>t;
  10.     while(t--)
  11.     {
  12.         ll n;
  13.         cin>>n;
  14.         cout<<n/2<<endl;
  15.     }
  16. }
RAW Paste Data