• Source
    1. /**************************************************************
    2.   Problem: 1121
    3.   User: zrts
    4.   Language: C++
    5.   Result: Accepted
    6.   Time:0 ms
    7.   Memory:804 kb
    8. ****************************************************************/
    9.  
    10. #include<cstdio>
    11. #include<cstring>
    12. #include<algorithm>
    13. //by zrt
    14. //problem:
    15. using namespace std;
    16. typedef long long ll;
    17. const double eps(1e-10);
    18.  
    19. int main(){
    20. #ifdef LOCAL
    21. freopen("in.txt","r",stdin);
    22. freopen("out.txt","w",stdout);
    23. #endif
    24. int n;
    25. scanf("%d",&n);
    26. printf("%d",n>>1);
    27. return 0;
    28. }