A30685.奋斗的小蜗牛 题解
2025-07-16 12:08:20
发布于:北京
9阅读
0回复
0点赞
#include <bits/stdc++.h>
using namespace std;
int t,h;
int main(){
cin>>t;
while (t--){
cin>>h;
int x=0,ans=1;
while (x+10<h){
x+=5;
ans++;
}
cout<<ans<<endl;
}
return 0;
}
这里空空如也
有帮助,赞一个