Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
78070 张黄源 15求两个数的最大公约数 C++ Wrong Answer 0 MS 260 KB 142 2024-06-16 14:17:59

Tests(0/10):


Code:

#include <iostream> using namespace std; int main() { int n = 0, s = 0; while (s <= 1000) { ++n; s += n; } cout << n; return 0; }


Run Info:

------Input------
49 47
------Answer-----
1
------Your output-----
45