Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
3204 D班-罗炜翰 1加到多少才超过N C++ 通过 100 0 MS 264 KB 188 2024-12-22 16:42:17

Tests(5/5):


#include<iostream> using namespace std; int main() { int a,c = 1,b,e; cin>>a; while (b <= a) { b += c; c++; e++; } cout<<e; }


测评信息:

输入

                    

输出

                    

答案

                    

系统信息

exit code: 0, checker exit code: 0

输入

                    

输出

                    

答案

                    

系统信息

exit code: 0, checker exit code: 0

输入

                    

输出

                    

答案

                    

系统信息

exit code: 0, checker exit code: 0

输入

                    

输出

                    

答案

                    

系统信息

exit code: 0, checker exit code: 0

输入

                    

输出

                    

答案

                    

系统信息

exit code: 0, checker exit code: 0