Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
1004 李恩龙 15求两个数的最大公约数 C++ Runtime Error 0 MS 260 KB 165 2023-06-17 15:10:23

Tests(1/10):


Code:

#include <iostream> using namespace std; int main() { int a , b , c; cin>> a >> b; while(b!=5) { c=a%b; a=b; b=c; } cout << b; return 0; }


Run Info:

Runtime Error:Floating point exception