Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
101657 李泽宜 05买水果 C++ Runtime Error 0 MS 268 KB 213 2024-12-15 18:37:29

Tests(0/1):


Code:

#include <bits/stdc++.h> using namespace std; int main() { int num1,num2; cin>>num1>>num2; double q=(double)num1/num2; int r = num1%num2; cout<<fixed<<setprecision(3)<<q<<" "<<r<<endl; return 0; }


Run Info:

Runtime Error:Floating point exception