pi=acos(-1.0)

 

https://www.luogu.org/problemnew/show/T4529

#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <cstring>
#include <time.h>
#include <string>
#include <set>
#include <map>
#include <list>
#include <stack>
#include <queue>
#include <vector>
#include <bitset>
#include <ext/rope>
#include <algorithm>
#include <iostream>
using namespace std;
#define ll long long
#define minv 1e-6
#define inf 1e9
//#define pi 3.1415926536
#define E  2.7182818284
const ll mod=1e9+7;//998244353
const int maxn=1e5+10;


int main()
{
    int n,m;
    double pi=acos(-1.0);
    scanf("%d%d",&n,&m);
    printf("%.*f",m,pi*n);
    return 0;
}

 

相关文章:

  • 2022-12-23
  • 2022-03-11
  • 2022-12-23
  • 2022-12-23
  • 2022-01-04
  • 2021-11-30
  • 2021-06-18
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-17
  • 2022-02-07
  • 2021-10-25
  • 2022-12-23
  • 2022-12-23
  • 2022-02-02
相关资源
相似解决方案