Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
127142 袁梓豪 13求1╳2+2╳3+3╳4+...+10╳11的和 C++ Accepted 0 MS 260 KB 168 2025-07-24 16:35:49

Tests(1/1):


Code:

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