| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 139564 | 房知谦 | 13求1╳2+2╳3+3╳4+...+10╳11的和 | C++ | Accepted | 0 MS | 268 KB | 378 | 2025-12-07 19:56:53 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int sum; for(int i=2;i<12;i++){ int o=i*(i-1); sum=sum+o; } cout<<sum; return 0; }