2 条题解

  • 7
    @ 2025-1-24 13:44:38
    #include <bits/stdc++.h>
    #include <iostream>
    #include <iomanip>
    #include <stdio.h>
    #include <string.h>
    #include <cstring>
    #include <string>
    #include <cmath>
    #include <stack>
    #include <queue>
    using namespace std;
    int n,ans;
    signed main()
    {
    	cin >> n;
    	if(n==1)
    	{
    		cout << "ovo";
    	}
    	else if(n<=4)
    	{
    		cout << 0;
    	}
    	else
    	{
    		int k=ceil(double(n-4)/2);
    		cout << k;
    	}
            return 0;
    }
    //ts2024stu008~~~~~~
    

    庄力再吃下去就要吃吐了(doge)


    (言归正传) 有标志认证,属三无产品,请大家放心食用

    信息

    ID
    3181
    时间
    1000ms
    内存
    256MiB
    难度
    4
    标签
    (无)
    递交数
    23
    已通过
    16
    上传者