fork(1) download
  1. #include <stdio.h>
  2. #define PI 3.14
  3. int main(void) {
  4. double a,b,c;
  5. scanf("%d",&a);
  6. b=a*a*PI;
  7. c=2*a*PI;
  8. printf("%d""%d",b,c);
  9. return 0;
  10. }
Success #stdin #stdout 0s 5320KB
stdin
3
stdout
13177460640