1370A - Maximum Gcd
28 Jan 2021 — Tags: None
Click to show code.
using namespace std;
int main(void)
{
int t, n;
cin >> t;
while (t--)
{
cin >> n;
cout << (n / 2) << endl;
}
return 0;
}