#include <stdio.h>
#include <math.h>

int main() {
	long long x = 3037000499ll;
	printf("%lld\n", x * x);						// 9223372030926249001
	printf("%.0lf\n", (double)x * x);				// 9223372030926248960
	printf("%.0f\n", pow(x, 2));					// 9223372030926248960
	printf("%lld\n", (long long)pow(x, 2));			// 9223372030926248960
	
	printf("%d\n", pow(x, 2) >= x * x);				// 64float compare, true
	printf("%d\n", (long long)pow(x, 2) >= x * x);	// 64int copmare, false

	return 0;
}