Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
123959 | 田子熙 | 13求1╳2+2╳3+3╳4+...+10╳11的和 | C++ | Accepted | 0 MS | 272 KB | 165 | 2025-07-10 15:22:13 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,m,a1=0; cin>>n>>m; for(int a=1;a<=10;a++){ a1=a1+a*(a+1); } cout<<a1; return 0; }