Start: Dec, 04, 2016 12:00:00
杭州师范大学第十届程序设计竞赛—正式
End: Dec, 04, 2016 17:00:00
Time elapsed:
Time remaining:

Problem_ID: G
Result: Accepted
Time: 5ms
Memory: 1700kB
In contest: 1075

#include<iostream>
#include<cstdlib>
#include<cstdio>
#include<cstring>
using namespace std;

int main(){
	long long t,x,y;
	cin>>t;
	while(t--){
		cin>>x;
		y=x/958;
		cout<<y<<endl;
	}
}