delete pics to save space
This commit is contained in:
11
1.1426.cpp
Normal file
11
1.1426.cpp
Normal file
@ -0,0 +1,11 @@
|
||||
#include<cstdio>
|
||||
#include<cmath>
|
||||
int main()
|
||||
{
|
||||
double s,x,tEnter,tExit;
|
||||
scanf("%lf%lf",&s,&x);
|
||||
tEnter=log(1-0.02*(s-x)/7)/log(0.98);
|
||||
tExit=log(1-0.02*(s+x)/7)/log(0.98);
|
||||
printf("%c",tExit-tEnter>=1?'y':'n');
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user