为什么不对呢?求助
查看原帖
为什么不对呢?求助
977778
__Harry_Haiyun__楼主2024/1/12 17:56
#include <bits/stdc++.h>
#define int long long
#define iostream() ios::sync_with_stdio(false),cin.tie(NULL),cout.tie(NULL);
using namespace std;
const int maxn = 1e6+7;
const int MAXN = maxn / 2;
int n;
signed main()
{
    iostream();
    cin >> n;
    //认真研究,我们就会发现:
    cout << n * 2 - 1;
 	return 0;
}
2024/1/12 17:56
加载中...