Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
123942 | 王金檐 | 13求1╳2+2╳3+3╳4+...+10╳11的和 | C++ | Accepted | 1 MS | 264 KB | 155 | 2025-07-10 15:18:09 |
#include<iostream> using namespace std; int main(){ int n=1,m=2,s=0; for(int i=1;i<=10;i++){ s+=n*m; n++; m++; } cout<<s; return 0; }