ICPC NWERC2019~2020 Practice Contest

 

样例

输入

NL20INGB0001234567

输出

correct

输入

NL20ASNB0001234567

输出

incorrect
时间限制 1 秒
内存限制 512 MB

 

 本题只需输出第一行,不要求打印方案!

 

样例

输入

4
-3 0
5 2 1 3
2 1 4
10 0

输出

14

输入

7
2 1 4
-3 1 1
5 1 2
-3 0
20 1 4
-16 1 5
14 1 6

输出

21

输入

1
-100 0

输出

0

 

 本题开启special judge.

 

样例

输入

64

输出

28.3592616145

输入

1234

输出

124.526709336

 

#include<iostream>
#include<math.h>
using namespace std;
int main(){
    long double a;
    cin>>a;
    printf("%.10lf\n",(double)(2*sqrt(a*M_PI)));
    return 0;
}
from math import *
a=float(input())
print('{:.10f}'.format(2*sqrt(a*pi)))

 

 

 

 全套题目完整版Solution:点这里

posted @ 2020-03-05 10:35  神犇(shenben)  阅读(596)  评论(0编辑  收藏  举报