Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
12544 陈康 【基础题】求和(1) C++ Accepted 1 MS 696 KB 178 2021-05-21 13:49:14

Tests(1/1):


Code:

#include <bits/stdc++.h> using namespace std; int main() { int a,sum; for(a=12;a<=1002;a+=10){ sum+=a; } cout<<sum<<endl; return 0; }