Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
113679 | 王镜铭 | 04保留两位小数 | C++ | Compile Error | 0 MS | 0 KB | 130 | 2025-03-16 12:39:15 |
#include<bits/stdc++.h> using namespace std; int main(){ long double a,b; cin>>a>>b; cout<<fixed<<setprecision(2)<<a%b; }
Main.cc: In function 'int main()': Main.cc:6:34: error: invalid operands of types 'long double' and 'long double' to binary 'operator%' cout<