Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
137996 何兴驰 13求1╳2+2╳3+3╳4+...+10╳11的和 C++ Accepted 1 MS 260 KB 136 2025-11-23 12:00:03

Tests(1/1):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int n=1,m=10,s=0; for(int i=n;i<=m;i++){ s+=i*(i+1); } cout<<s; }