2 1 5
1 1
#include <iostream> using namespace std; int main(){ int t; cin >> t; for(int i = 0 ; i < t; ++ i){ int h; cin >> h; if(h <= 10) cout<<1<<endl; else if(h%5) cout<<h/5<<endl; else cout<<h/5-1<<endl; } }
原文:http://www.cnblogs.com/xiongqiangcs/p/3647735.html