有公式即可 屌(欲海不知吴越山v-前三包了) · 发布于 2022-07-19 · 浏览 616 回复 1 include using namespace std; int n; int main() { cin>>n; cout<<n*n-n+2; }