Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
101664 | 李泽宜 | 05买水果 | C++ | Runtime Error | 0 MS | 268 KB | 150 | 2024-12-15 18:44:33 |
#include <bits/stdc++.h> using namespace std; int main() { int a,b; cin>>a>>b; cout<<fixed<<setprecision(3)<<(double)a/b<<" "<<a%b<<endl; }
Runtime Error:Floating point exception