CE了,请看代码!
#include<bits/stdc++.h> using namespace std; int main() { double a,b,r; cin>>a>>b; r=a%b; cout<<r; return 0; }