Problem Link:https://www.urionlinejudge.com.br/judge/en/problems/view/1002
Solution:
You have to work here with double %lf because if you use float %f for floating point values then it will never give you the accurate answer given in the question output and atlast don’t forget to give newline/endline in the output line otherwise it will show you presentation error.
Code:
https://github.com/zakilive/uri/blob/master/1002
#include<stdio.h>
int main()
{
double R,A;
scanf("%lf",&R);
A=3.14159*R*R;
printf("A=%.4lf\n",A);
return 0;
}