Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
126340 唐洪盛 06小数除法 C++ Compile Error 0 MS 0 KB 151 2025-07-17 17:02:24

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main() { double a,b; cin>>a>>b; cout<<fixed<<setprecision(2); cout<<a%b; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:7:10: error: invalid operands of types 'double' and 'double' to binary 'operator%'
  cout<