#include <stdio.h>

const int MAX=200000000;

int float_for_problem()
{
	int i;float j;
	for (i=1,j=1.0f;i<=MAX;i++,j++)
	{
		if (j!=i) return i; //problem found
	}
	return 0; //no problem found
}

int double_for_problem()
{
	int i;double j;
	for (i=1,j=1.0;i<=MAX;i++,j++)
	{
		if (j!=i) return i; //problem found
	}
	return 0; //no problem found
}

int main(void) {
	// double for problem
	printf ("float  for problem number (0 means no problem found)= %d\n",
	        float_for_problem());
	printf ("double for problem number (0 means no problem found)= %d\n",
	        double_for_problem());
	return 0;
}
