2 solutions
Information
- ID
- 1593
- Time
- 1000ms
- Memory
- 256MiB
- Difficulty
- 7
- Tags
- (None)
- # Submissions
- 193
- Accepted
- 41
- Uploaded By
#include<bits/stdc++.h> using namespace std; int main(){ long long n; cin>>n; if(n==1) cout<<"1"<<endl; else if(n>=2) cout<<n/2<<endl; return 0; }
By signing up a Hydro universal account, you can submit code and join discussions in all online judging services provided by us.