Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
50581 杨宜炜 【基础题】求和(3) C++ Accepted 1 MS 268 KB 122 2023-07-12 14:42:13

Tests(1/1):


Code:

#include<iostream> using namespace std; int main(){ int s=0; for(int i=1;i<=100;i+=2){ s+=i; } cout<<s; }