The output you posted is wrong, correct output is:
Code: Select all
Case 1: 1
Case 2: 4
Case 3: 5
Code: Select all
Case 1: 1
Case 2: 4
Case 3: 5
Code: Select all
A zone is marked if it contains identical characters, called marking characters, different than space and the character used to draw the grid contours.
Code: Select all
printf("%.lf\n",d);
Code: Select all
printf("%.llf\n",d);
And i think this won't be enough to solve this problem