fork(1) download
  1. #include <stdio.h>
  2. #define pi 3.1415
  3. int main(){
  4. double r,l;
  5. scanf("%f",&r);
  6. l = 2.*pi*r;
  7. printf("%.3lf",l);
  8. return 0;
  9. }
Success #stdin #stdout 0.01s 5288KB
stdin
Standard input is empty
stdout
0.000