Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
78326 陈昊然 15加到第几项 C++ Accepted 0 MS 260 KB 154 2024-06-18 18:31:10

Tests(1/1):


Code:

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