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