Search found 1 match

by Maciekka
Wed Apr 27, 2016 12:02 am
Forum: Volume 125 (12500-12599)
Topic: 12578 - 10:6:2
Replies: 16
Views: 2485

Re: 12578 - 10:6:2

Hi Why i get WA? #include <stdio.h> #include <math.h> void zaokr2(double *liczba) { *liczba*=100; *liczba=round(*liczba); *liczba/=100.0; } int main(void) { int T,L; scanf("%d",&T); while(T--) { scanf("%d",&L); double x=acos(-1)*L*L/25.0; /*zaokr2(&x);*/ x*=100; x=round(x); x/=100.0; printf("%.2lf %...

Go to advanced search