Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
155354 李铭洋 13求1╳2+2╳3+3╳4+...+10╳11的和 C++ Accepted 1 MS 256 KB 190 2026-06-06 20:06:10

Tests(1/1):


Code:

#include<iostream> #include<cstdio> using namespace std; int main() { int a=1; int d=0; int b=2; while(a<=10&&b<=11) { d+=a*b; a++; b++; } cout<<d; return 0; }