#include <stdio.h> #define a 3.14 //定义常量 int main() { int r; scanf("%d",&r); printf("%f",a*r*r); return 0; }