Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
19855 杨为哲 【基础题】求和(1) C++ Accepted 1 MS 692 KB 145 2021-11-24 17:02:46

Tests(1/1):


Code:

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