私信TA
用户名:18817572995
访问量:9665
签 名:
Where there is a will, there is a way.
自我简介:
屌丝程序狗
作者: Liamcoder 发表时间:2017-07-11 11:52:25 浏览:1098 | 评论:0
参考代码:
#include<iostream> using namespace std; int main(){ int n; int sum; cin >> n; sum = 2*n+n*(n-1)*3/2; cout << sum; return 0; }
0.0分
3 人评分
看不懂代码?想转换其他语言的代码? 或者想问其他问题? 试试问问AI编程助手,随时响应你的问题:
编程语言转换
万能编程问答
代码解释器
代码纠错
SQL生成与解释