Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
104293 谢佳辰 13求1╳2+2╳3+3╳4+...+10╳11的和 C++ Accepted 1 MS 260 KB 148 2025-01-04 18:24:33

Tests(1/1):


Code:

#include <iostream> using namespace std; int main(){ int n,o=0; for(n=1;n<=10;n++){ o+=n*(n+1); } cout<<o<<endl; }