是(n^2/4)
AC:
#include<iostream>
#include<cmath>
using namespace std;
int main (void){
__int64 n;cin>>n;
if (n==1) cout<<0;
else if (n==2) cout<<1;
else if (n==3) cout<<2;
else cout<<(__int64)(n*n/4);
//while(1);
return 0;
}
/*
4
==
*/
不是一样的嘛
快速帮助 | 运行状态 | 反馈举报 | 关于我们 | 免责声明 | 浙ICP备11060257号 Processed in 0.0035 Second(s) Copyright (C) RQNOJ 2007-2019. All Rights Reserved.