Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
75648 王馨桐 13求1╳2+2╳3+3╳4+...+10╳11的和 C++ Accepted 0 MS 260 KB 153 2024-05-28 18:32:14

Tests(1/1):


Code:

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