Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
115260 晏莞煜 13求1╳2+2╳3+3╳4+...+10╳11的和 C++ Accepted 0 MS 268 KB 161 2025-03-30 08:43:32

Tests(1/1):


Code:

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