The 2018 JUST Collegiate Programming Contest H题 Cube

小学数学题

#include<cstdio>
#include<cmath>
using namespace std;
unsigned long long area, ans;
int main () {
	int t;
	int minite;
	scanf("%d", &t);
	while (t--)	{
		scanf("%llu", &area);
		ans = sqrt((area/6));
		printf("%llu\n", ans);
	} 	
	return 0;
}

猜你喜欢

转载自blog.csdn.net/JSLS_WFQ/article/details/89241582