Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
115258 | 晏莞煜 | 13求1╳2+2╳3+3╳4+...+10╳11的和 | C++ | Wrong Answer | 0 MS | 268 KB | 151 | 2025-03-30 08:38:46 |
#include<bits/stdc++.h> using namespace std; int main(){ int n=0; for(int a=1,b=2;a<=11;a++){ b++; n+=a*b; } cout<<n; return 0; }
------Input------
0
------Answer-----
440
------Your output-----
638