Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
101706 | 王子毅 | 按班分组 | C++ | Runtime Error | 0 MS | 264 KB | 193 | 2024-12-15 21:28:48 |
#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; }
Runtime Error:Floating point exception