delete pics to save space
This commit is contained in:
15
history_source/信息学奥赛一本通/1.2.6.1.cpp
Normal file
15
history_source/信息学奥赛一本通/1.2.6.1.cpp
Normal file
@ -0,0 +1,15 @@
|
||||
#include<cstdio>
|
||||
using namespace std;
|
||||
double fmod(double a,double b)
|
||||
{
|
||||
long long x=a/b;
|
||||
return a-b*x;
|
||||
}
|
||||
int main()
|
||||
{
|
||||
double a,b;
|
||||
scanf("%lf%lf",&a,&b);
|
||||
printf("%lf\n",fmod(a,b));
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user