提前把明天的题给水了。
#include <cstdio>
int main(){
int x;
scanf("%d",&x);
if(x%5==0){
printf("%d\n",x/5);
}
else{
printf("%d\n",x/5+1);
}
return 0;
}
提前把明天的题给水了。
#include <cstdio>
int main(){
int x;
scanf("%d",&x);
if(x%5==0){
printf("%d\n",x/5);
}
else{
printf("%d\n",x/5+1);
}
return 0;
}