9 条题解
-
0
/************************ 备注: ************************/ #include <iostream> #include <iomanip> #include <cmath> #include <cstring> #include <algorithm> #include <cstdio> #include <set> #include <stack> #include <ctime> #include <queue> using namespace std; #define LL long long const int N=1e5+10; const int INF=0x3f3f3f3f; int main() { LL a; cin>>a; LL ans=a+2*a*a+3*a*a*a; cout<<ans; return 0; }
- 1
信息
- ID
- 2951
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 7
- 标签
- (无)
- 递交数
- 686
- 已通过
- 151
- 上传者