Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
151674 赵奕杰 15加到第几项 C++ Accepted 1 MS 260 KB 145 2026-04-17 19:20:47

Tests(1/1):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int sum=0,a=0; while(sum<=1000){ a++; sum+=a; } cout<<a; return 0; }