<property name="hibernate.c3p0.timeout">180000</property>
<property name="hibernate.c3p0.timeout">0</property>
sudo update-ca-certificates -f
Clearing symlinks in /etc/ssl/certs...
done.
Updating certificates in /etc/ssl/certs...
WARNING: Skipping duplicate certificate Go_Daddy_Class_2_CA.pem
WARNING: Skipping duplicate certificate Go_Daddy_Class_2_CA.pem
173 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
org.debian.security.InvalidKeystorePasswordException: Cannot open Java keystore. Is the password correct?
at org.debian.security.KeyStoreHandler.load(KeyStoreHandler.java:68)
at org.debian.security.KeyStoreHandler.<init>(KeyStoreHandler.java:52)
at org.debian.security.UpdateCertificates.<init>(UpdateCertificates.java:65)
at org.debian.security.UpdateCertificates.main(UpdateCertificates.java:51)
Caused by: java.io.IOException: Invalid keystore format
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:650)
at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:55)
at java.security.KeyStore.load(KeyStore.java:1226)
at org.debian.security.KeyStoreHandler.load(KeyStoreHandler.java:66)
... 3 more
E: /etc/ca-certificates/update.d/jks-keystore exited with code 1.
done.
sudo dpkg --purge --force-depends ca-certificates-java
sudo apt-get install ca-certificates-java
double func(double X, double epsilon)
{
double r = 0, r1=0;
r+=pow(X,1)/fact(1);
r1=r + pow(-1,2.0)*pow(X,3)/fact(3);
for(double n=0;fabs(r-r1)>epsilon;n++)
{
r+=pow(-1,n)*pow(X,2*n+1)/fact(2*n+1);
r1=r + pow(-1,n+1)*pow(X,2*n+1+1)/fact(2*n+1+1);
}
return 1/r;
}
}
void quick(int *temp, int i, int j)
{
int c, x,t=0;
m=i; k=j;
c=temp[(m+k) / 2];
do
{SravQuick++;
while (temp[m]<c) m++;
while (temp[k]>c) k--;
if (m<=k)
{if(m!=k)NazQuick++;
x=temp[m];
temp[m]=temp[k];
temp[k]=x;
m++;
k--;
}t++;
} while (m<k);
if (i<k) quick(temp, i, k);
if (m<j) quick(temp, m, j);
}