Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
137948 王安安 13求1╳2+2╳3+3╳4+...+10╳11的和 C++ Accepted 0 MS 264 KB 160 2025-11-23 11:44:01

Tests(1/1):


Code:

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