Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
113117 郝宸菲 13求1╳2+2╳3+3╳4+...+10╳11的和 C++ Accepted 1 MS 264 KB 181 2025-03-15 11:50:30

Tests(1/1):


Code:

#include<bits/stdc++.h> using namespace std; int main() { int sum=0; for (int i=1,j=2;i<=10,j<=11;i++,j++) { sum+=i*j; } cout<<sum; return 0; }