标签:
2 1 5
1 1
代码:
01.
#include<iostream>
02.
using
namespace
std;
03.
int
main()
04.
{
05.
int
t,H,n;
06.
cin>>t;
07.
while
(t--)
08.
{
09.
10.
cin>>H;
11.
if
(H <= 10&&H >= 0)
12.
n = 1;
13.
else
14.
n = (H - 1)/5;
15.
cout<<n<<endl;
16.
17.
18.
19.
}
20.
return
0;
21.
}
标签:
原文地址:http://blog.csdn.net/u012701023/article/details/46227227