Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
101705 王子毅 按班分组 C++ Runtime Error 0 MS 264 KB 193 2024-12-15 21:28:18

Tests(0/10):


Code:

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


Run Info:

Runtime Error:Floating point exception