Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
84259 勾好 15加到第几项 C++ Accepted 1 MS 264 KB 149 2024-07-15 14:43:58

Tests(1/1):


Code:

#include<iostream> using namespace std; int main(){ long long a = 1,s = 1; while(s<1001){ a = a+1; s = a+s; } cout<<a; return 0; }