Task: | Säähavainnot |
Sender: | a256 |
Submission time: | 2024-02-08 19:26:58 +0200 |
Language: | Python3 (PyPy3) |
Status: | READY |
Result: | 30 |
group | verdict | score |
---|---|---|
#1 | ACCEPTED | 30 |
test | verdict | time | score | |
---|---|---|---|---|
#1 | ACCEPTED | 0.28 s | 3.88 | details |
#2 | ACCEPTED | 0.28 s | 4.38 | details |
#3 | ACCEPTED | 0.29 s | 3.75 | details |
#4 | ACCEPTED | 0.28 s | 3.25 | details |
#5 | ACCEPTED | 0.29 s | 3.88 | details |
#6 | ACCEPTED | 0.28 s | 3.5 | details |
#7 | ACCEPTED | 0.28 s | 3.5 | details |
#8 | ACCEPTED | 0.28 s | 3.88 | details |
Code
def f(x): return max(0,x) M = [list([[7.811e-03,1.801e-01,-1.894e-01,-1.896e-01,-2.839e-01, -1.875e-01,-2.710e-01,-1.205e-01,-3.957e-02,2.051e-01, -1.454e-02,1.768e-01,-5.899e-02,9.795e-03,-1.593e-01, 6.970e-02,-1.602e-02,8.243e-02,-3.651e-01,-1.678e-01, 9.543e-02,1.954e-01,1.309e-02,1.616e-01], [2.154e-01,3.103e-01,-1.341e-01,-1.990e-01,-2.744e-01, 3.545e-01,-3.900e-01,-7.105e-02,2.538e-01,2.044e-01, 1.212e-01,-8.852e-02,3.131e-01,6.525e-02,-2.453e-01, 1.546e-01,3.589e-01,2.405e-01,-2.163e-01,1.598e-01, -4.146e-01,-1.337e-01,4.279e-01,-1.807e-01], [-1.288e-02,-1.871e-01,-2.954e-01,2.183e-01,-2.442e-01, -3.386e-02,-9.962e-02,-3.295e-01,-4.316e-02,-1.379e-01, 3.744e-02,7.871e-02,-1.925e-01,-5.531e-02,1.137e-01, -7.180e-02,-2.910e-01,1.228e-02,2.008e-01,-2.418e-02, 2.469e-01,-1.287e-01,3.304e-01,-2.074e-01], [-6.802e-02,2.960e-01,-4.556e-02,-2.034e-01,2.211e-01, -5.142e-02,2.730e-02,1.193e-01,2.325e-01,1.797e-01, 7.101e-02,-1.804e-01,-8.182e-02,2.941e-01,-6.821e-02, 2.563e-01,1.016e-01,1.369e-01,-1.031e-01,2.597e-01, -9.306e-02,-6.759e-02,-3.482e-02,-7.702e-02], [4.500e-01,1.090e-01,-3.210e-01,2.534e-01,-1.775e-01, -2.417e-02,1.357e-01,-5.934e-02,3.522e-01,1.850e-01, -3.239e-01,2.799e-01,1.808e-01,3.538e-01,-2.036e-01, -1.863e-01,2.757e-01,6.738e-02,3.415e-02,1.979e-01, 8.216e-02,1.414e-01,2.181e-01,-1.326e-01], [-1.744e-01,-2.611e-01,-3.401e-01,-6.750e-02,2.251e-01, 1.398e-02,4.600e-02,2.192e-01,-1.573e-01,-1.909e-01, -4.194e-04,2.389e-01,7.531e-02,-3.536e-01,1.772e-01, -1.654e-01,1.849e-01,-1.003e-01,3.420e-01,1.809e-01, 4.230e-02,-3.823e-01,-3.247e-01,-6.537e-02], [-2.112e-01,-2.666e-01,-1.727e-01,1.842e-01,1.148e-02, -2.819e-01,-2.960e-01,2.885e-01,1.787e-01,-2.120e-01, -1.463e-01,1.042e-01,-1.639e-01,-1.831e-01,2.985e-01, 2.720e-01,-1.735e-01,-8.931e-03,1.054e-01,3.056e-01, -2.323e-01,-4.043e-01,-2.919e-01,9.541e-02], [2.339e-01,1.841e-02,-1.269e-01,3.732e-01,2.425e-02, -2.215e-02,9.435e-02,2.085e-01,1.860e-01,-1.877e-01, -1.964e-01,-1.739e-01,1.159e-01,-2.957e-01,1.040e-01, -1.731e-01,-1.043e-01,9.665e-02,-2.129e-01,2.107e-01, 7.752e-02,2.031e-01,-1.611e-01,-2.738e-01], [8.506e-02,1.064e-01,3.333e-01,4.474e-01,-3.042e-01, -1.540e-01,1.171e-01,3.699e-01,2.633e-01,3.831e-02, 2.608e-01,7.679e-02,2.348e-02,-1.774e-02,-4.558e-02, 1.052e-01,3.191e-01,2.982e-01,-1.286e-01,2.642e-01, -2.123e-01,-2.379e-01,-2.038e-01,-1.359e-01], [-3.012e-01,1.514e-01,1.357e-01,-1.978e-01,-1.599e-01, 1.198e-02,-1.143e-01,2.359e-01,-6.694e-02,1.367e-01, -6.368e-03,1.102e-01,2.199e-01,2.099e-01,-1.903e-01, 4.037e-02,2.309e-01,-1.119e-01,-1.569e-01,-1.038e-02, -2.159e-01,8.522e-02,-1.946e-01,1.674e-01], [-1.584e-01,1.901e-01,-1.106e-01,-9.230e-02,2.615e-01, 1.474e-01,-1.521e-01,-3.061e-02,1.707e-01,1.437e-01, -4.189e-01,1.698e-01,-2.435e-01,4.156e-01,-1.300e-01, 2.080e-01,7.681e-02,1.081e-01,-1.874e-01,-2.411e-02, 2.780e-01,2.411e-01,7.933e-03,1.152e-01], [1.787e-01,-6.173e-02,-3.145e-02,5.420e-02,7.638e-02, -5.303e-02,7.194e-03,-1.118e-01,7.314e-02,-7.519e-02, 2.425e-01,3.952e-02,-3.791e-01,1.206e-02,-2.570e-01, 2.049e-01,2.875e-01,2.228e-01,1.307e-01,-1.924e-01, -9.055e-02,2.198e-01,-1.075e-01,1.816e-01], [-1.534e-02,2.775e-01,-5.342e-02,1.946e-01,1.764e-01, -1.159e-01,-1.649e-01,-2.886e-01,-6.468e-02,-1.997e-01, 2.163e-01,-2.312e-01,1.335e-01,3.352e-01,1.200e-01, -1.441e-02,-1.997e-01,-1.554e-02,-1.164e-01,-2.383e-01, 1.240e-01,-4.636e-02,2.588e-01,2.312e-01], [-9.809e-02,-9.562e-02,-3.282e-01,5.782e-03,2.239e-01, -2.700e-01,-2.074e-01,2.175e-01,-9.573e-02,1.888e-01, -2.898e-01,-3.141e-01,-1.303e-01,1.572e-01,-2.306e-01, 3.147e-02,8.680e-02,1.079e-01,-1.793e-01,1.197e-01, -1.566e-01,-2.477e-02,1.408e-01,-3.186e-01], [-1.495e-01,2.444e-01,1.733e-01,1.606e-02,2.698e-01, 2.649e-01,1.241e-01,2.359e-01,-2.642e-01,2.977e-01, 7.991e-02,9.161e-02,1.533e-01,-3.278e-01,2.675e-01, 1.025e-01,-1.424e-01,-7.885e-02,1.840e-01,-1.967e-01, 1.291e-01,-9.895e-02,1.810e-01,3.740e-01], [-1.976e-01,-2.163e-01,2.325e-01,2.215e-02,3.992e-01, 6.476e-02,1.967e-01,1.451e-01,-2.542e-02,-5.099e-02, 1.413e-02,-3.204e-01,-2.454e-01,-1.171e-01,-2.444e-01, 5.846e-02,2.342e-01,-3.941e-03,1.229e-01,-1.006e-01, -9.621e-02,6.245e-02,3.016e-01,-1.335e-01], [-2.961e-01,-1.305e-01,1.337e-01,7.084e-03,-3.199e-01, 5.894e-03,-3.309e-01,2.944e-01,-1.568e-01,-1.540e-01, 1.256e-01,2.604e-01,-6.171e-02,-2.320e-02,8.689e-02, 1.529e-01,2.247e-01,1.581e-01,-4.395e-01,2.329e-01, -1.027e-01,3.800e-01,-2.564e-01,-4.823e-02], [-2.883e-01,-1.035e-01,-2.766e-01,1.754e-01,1.319e-01, 5.996e-02,6.781e-02,-1.371e-03,2.303e-01,4.893e-02, 2.150e-01,1.086e-01,-1.726e-01,-2.845e-01,-1.840e-01, -2.816e-01,-9.814e-02,-1.931e-01,-5.103e-01,1.808e-01, -1.544e-01,2.817e-01,-1.063e-01,7.204e-02], [8.508e-02,-9.005e-02,1.534e-01,1.245e-01,1.435e-01, -4.024e-01,1.546e-01,-1.689e-01,1.212e-01,-3.193e-01, 1.494e-02,-3.531e-01,3.460e-01,3.548e-01,3.294e-01, 3.106e-01,-2.631e-01,-1.489e-01,-4.374e-01,7.694e-02, 1.387e-01,4.257e-01,4.588e-02,2.851e-01], [3.279e-01,-1.002e-01,-2.041e-01,-3.075e-03,-3.520e-01, 8.387e-02,-2.851e-01,-2.583e-02,2.440e-01,-1.181e-01, 3.191e-01,-1.131e-01,5.632e-02,-1.216e-01,3.987e-01, -1.151e-02,-1.780e-02,3.947e-02,1.252e-01,-3.020e-01, 3.337e-02,3.065e-01,-3.694e-01,-3.262e-02], [3.273e-03,2.158e-01,-6.013e-02,2.031e-01,-1.589e-01, 6.648e-03,-1.572e-01,-2.083e-01,7.812e-02,-1.208e-01, 1.171e-02,2.724e-01,-1.182e-01,-1.810e-01,-5.775e-02, 3.596e-01,3.726e-01,3.122e-01,1.795e-01,-1.458e-01, -3.637e-01,-2.391e-01,-2.082e-01,-2.623e-01], [7.016e-02,-5.871e-02,1.734e-01,-1.092e-01,-1.644e-02, -3.451e-01,-5.710e-02,-6.166e-02,-3.284e-01,-1.329e-01, -3.318e-03,4.831e-02,-4.701e-02,-2.037e-01,8.493e-02, 3.133e-01,1.997e-01,2.495e-01,1.393e-01,1.871e-01, -4.402e-02,-2.843e-01,-3.351e-01,-4.223e-01], [-5.382e-02,-3.626e-02,2.599e-01,-9.174e-02,2.267e-01, 1.272e-01,6.853e-02,1.336e-01,7.583e-02,-1.386e-02, -3.387e-01,-4.519e-03,-8.618e-02,1.630e-01,-8.315e-02, 1.453e-02,-2.314e-01,-2.380e-01,-1.124e-02,-1.581e-01, 3.251e-01,-2.284e-01,-1.792e-01,-1.641e-01], [4.710e-01,8.568e-02,-7.414e-01,-1.082e-01,1.477e-01, 5.860e-01,3.941e-01,-1.009e-01,-1.936e-01,-4.655e-01, 4.428e-01,-6.094e-01,-2.825e-01,1.271e-01,-6.487e-01, 5.693e-01,2.873e-01,-5.463e-01,-1.292e-01,4.965e-01, 6.611e-01,-2.056e-01,-4.043e-01,1.559e-01]]),list([[2.716e-01,1.122e-02,7.420e-02,-7.940e-02,-9.433e-01, -8.390e-03,1.862e-01,-1.656e-02,-6.035e-02,-7.957e-02, 2.128e-01,-1.693e-02,3.121e-01,4.660e-02,-8.850e-02, 2.367e-01,-3.035e-02,-5.977e-02,-7.441e-01,1.808e-01, -2.030e-01,-1.022e-01,-4.350e-02,1.086e-01], [1.188e-01,-1.629e-01,-3.423e-02,8.992e-02,3.025e-01, 2.597e-02,4.461e-02,7.148e-02,3.176e-01,-1.165e-01, 7.974e-02,-4.145e-01,1.663e-01,-5.600e-02,3.932e-02, 1.446e-02,-1.769e-01,1.996e-01,1.395e-02,1.113e-01, 8.236e-02,-8.584e-02,-1.670e-01,-2.024e-01], [-1.262e-02,-7.441e-02,2.024e-02,-2.775e-01,3.581e-01, -3.042e-01,3.194e-01,-6.449e-01,1.684e-01,1.702e-02, 1.921e-01,-1.427e-01,-7.371e-02,4.278e-02,-2.828e-01, 1.316e-01,-9.827e-02,1.214e-01,2.074e-01,-4.148e-02, 3.173e-01,6.874e-02,3.887e-01,-1.989e-02], [-5.579e-03,2.613e-01,1.713e-01,4.072e-01,-3.709e-01, -5.154e-01,2.194e-01,2.845e-01,3.490e-01,-2.702e-02, 5.291e-02,3.876e-01,-2.325e-01,1.416e-01,5.000e-02, 2.871e-02,5.800e-02,1.846e-01,-1.353e-01,1.769e-01, 2.360e-01,-1.599e-01,-2.295e-01,-3.329e-01], [-1.151e-01,1.312e-01,-1.506e-03,-5.628e-02,-2.858e-01, -1.628e-01,-5.498e-02,1.373e-01,1.531e-01,-1.803e-01, -6.386e-02,7.554e-02,-1.327e-01,2.238e-01,2.936e-01, -1.202e-02,2.363e-01,2.147e-01,-2.329e-01,-1.864e-02, -6.303e-02,1.644e-01,-2.250e-02,-2.403e-01], [-1.144e-01,1.202e-01,-2.200e-01,5.701e-01,-8.439e-02, -2.814e-01,4.998e-02,-1.069e+00,-1.756e-01,4.941e-01, -1.867e-01,4.835e-02,-6.163e-02,-4.637e-03,1.351e-01, -1.516e-01,7.199e-01,2.611e-01,2.834e-01,-2.371e-01, 1.062e-01,-1.099e+00,-2.319e-01,1.633e-01], [-4.513e-02,1.111e-01,1.975e-01,7.644e-02,4.437e-02, 1.516e-01,-1.223e-01,1.215e-01,1.634e-01,1.929e-01, 6.641e-02,2.359e-01,-2.727e-02,1.017e-01,-8.741e-02, 7.440e-02,-3.666e-02,2.710e-01,-1.839e-01,-7.157e-02, -2.000e-01,-2.056e-01,2.289e-01,-1.830e-02], [1.954e-01,-7.289e-02,1.633e-01,6.905e-02,3.139e-01, -1.512e-01,1.556e-01,-1.113e-01,7.054e-02,-3.126e-03, 9.375e-02,-7.944e-02,-3.300e-02,1.718e-01,-1.135e-01, 1.388e-01,9.568e-02,-8.238e-02,3.758e-01,1.447e-01, -1.073e-01,3.165e-01,1.328e-01,2.724e-01], [-8.762e-02,9.360e-02,-1.738e-01,1.887e-01,-2.643e-01, 1.320e-02,1.263e-01,2.506e-01,2.922e-01,-3.348e-01, 1.199e-01,2.664e-01,-4.215e-02,2.899e-01,-7.209e-02, 9.348e-02,9.854e-02,-2.408e-01,-3.361e-01,7.251e-03, 3.587e-01,-2.561e-02,1.517e-01,-7.165e-01], [1.497e-01,-1.065e-02,1.663e-01,-2.054e-01,-3.585e-02, -3.272e-01,1.849e-01,-2.724e-01,-7.729e-02,-7.575e-01, 1.579e-02,-4.233e-01,3.549e-01,6.275e-02,1.915e-01, -7.682e-02,-2.158e-01,-1.176e-01,-6.909e-03,2.153e-01, -1.189e-01,1.771e-01,5.196e-02,-5.342e-02], [-1.370e-01,-8.722e-02,-2.254e-01,1.244e-01,-4.724e-02, -7.557e-02,9.504e-02,-2.129e-01,-1.172e-01,3.755e-01, -5.235e-02,4.713e-03,6.448e-02,2.108e-02,-2.687e-02, 2.035e-01,4.606e-01,2.636e-01,-2.151e-01,5.507e-02, -7.329e-02,-1.183e-02,-1.959e-01,-4.468e-01], [3.083e-01,2.250e-01,2.023e-02,3.477e-01,-2.580e-01, 3.171e-01,-3.211e-02,1.509e-02,2.596e-02,-1.520e+00, -1.261e-02,-2.636e-01,-9.859e-02,-2.542e-01,-2.555e-03, -2.452e-02,-3.395e-01,-9.258e-02,8.026e-02,-5.400e-03, 3.178e-01,1.580e-01,1.615e-01,-1.928e-01], [-3.144e-01,3.303e-02,-5.754e-02,-5.437e-01,-1.299e-02, -1.741e-01,3.409e-01,-6.969e-02,1.015e-01,-3.265e-02, 3.269e-01,-1.618e-01,-1.403e-01,2.174e-01,-4.608e-01, 1.897e-01,1.031e-01,-7.572e-02,2.639e-01,-3.489e-01, 1.305e-01,-5.054e-02,1.927e-01,-2.973e-01], [9.941e-02,2.321e-01,9.342e-02,-1.005e-02,1.937e-01, 1.711e-01,1.015e-01,1.847e-01,-7.661e-02,-3.152e-01, -1.500e-01,-1.065e-02,2.163e-02,5.117e-02,2.953e-01, -4.408e-02,5.509e-03,-5.187e-02,-4.412e-01,2.916e-02, -2.528e-01,-2.127e-01,-1.179e-02,1.057e+00], [-7.774e-01,-2.430e-01,6.887e-02,4.395e-01,-1.929e-01, -3.453e-01,8.208e-02,7.664e-02,-4.657e-01,2.020e-01, -1.592e-01,-1.439e-01,-4.526e-01,-1.728e-01,-3.329e-01, -8.689e-02,-2.875e-01,-1.846e-01,-3.101e-01,-5.902e-01, 8.825e-02,3.510e-01,1.009e-01,-1.692e-01], [4.013e-01,2.118e-01,9.923e-02,1.974e-01,-3.133e-01, -3.252e-01,3.300e-02,-2.960e-01,3.256e-01,8.950e-02, 1.164e-01,1.485e-01,3.119e-02,3.322e-01,1.348e-02, -8.014e-02,1.205e-01,5.600e-02,-2.672e-01,1.981e-01, -1.484e-01,-1.690e-01,1.859e-01,-1.237e+00], [6.918e-03,-1.269e-02,-5.298e-02,-3.147e-01,2.671e-01, 3.003e-01,2.350e-01,-2.101e-01,1.086e-01,-2.868e-02, 9.702e-02,2.857e-01,-9.421e-02,1.988e-01,3.317e-02, 1.529e-01,2.766e-02,3.169e-01,1.877e-01,2.537e-01, -6.533e-03,-8.769e-02,-3.510e-01,-9.824e-01], [-2.613e-01,-7.484e-02,-4.140e-02,1.292e-01,1.460e-01, 2.472e-03,-5.033e-02,-2.647e-01,-1.520e-01,-1.124e+00, -2.594e-01,-5.927e-02,-3.643e-01,-4.627e-02,5.843e-02, 1.492e-01,-3.718e-01,-2.469e-01,4.145e-03,1.262e-02, 3.548e-01,7.147e-01,-3.365e-01,-4.629e-01], [-1.601e-01,3.477e-02,1.429e-01,1.582e-01,4.489e-03, -5.187e-01,1.376e-01,5.945e-02,-2.203e-01,-3.320e-01, -5.771e-02,3.402e-01,2.448e-01,1.737e-02,4.168e-01, -1.533e-01,3.999e-01,8.317e-02,-2.541e-01,-1.463e-02, 1.770e-01,-2.599e-01,3.725e-01,-1.361e-01], [1.599e-01,6.709e-02,-1.897e-01,1.224e-02,2.062e-01, -3.280e-01,-2.838e-01,3.028e-01,1.551e-01,1.681e-01, -5.930e-04,-1.160e-01,4.074e-01,-2.809e-02,-1.553e-01, 1.931e-01,1.483e-02,2.011e-01,2.460e-01,6.616e-02, 1.381e-01,-2.550e-02,-8.356e-03,-1.087e+00], [5.927e-02,-7.533e-02,-6.362e-02,-4.193e-01,-3.809e-01, 4.004e-02,-3.716e-01,-3.946e-01,-1.814e-01,-6.866e-02, 1.937e-01,2.790e-01,1.550e-01,2.328e-01,5.343e-01, -1.622e-02,2.671e-01,2.617e-01,2.997e-01,1.053e-01, -2.994e-01,-1.116e-01,-3.825e-01,-3.187e-01], [3.801e-01,-1.657e-02,2.581e-01,-7.104e-02,1.514e-01, 2.478e-01,-5.260e-02,-3.087e-01,1.852e-01,-9.595e-02, 2.050e-01,-1.128e-01,-3.996e-01,-1.646e-01,-1.580e-01, -2.271e-02,-5.948e-01,-4.988e-01,2.787e-01,2.427e-01, 3.236e-01,2.079e-01,-2.463e-02,6.696e-01], [4.996e-03,-1.421e-01,1.063e-01,-1.856e-01,-1.244e-01, -9.992e-02,2.258e-01,1.990e-02,1.210e-01,-2.172e-01, 9.771e-02,-3.683e-02,-1.915e-02,-6.868e-02,8.420e-02, 7.582e-02,-1.103e-02,4.889e-02,1.747e-01,7.430e-02, 2.524e-01,1.109e-01,3.734e-01,7.306e-02], [1.553e-01,4.553e-02,-2.545e-01,-4.425e-01,-1.790e-01, 1.511e-01,-7.232e-02,1.701e-01,-2.044e-01,-2.547e-01, -3.406e-01,8.588e-02,-6.467e-01,1.801e-01,-2.525e-01, -2.313e-01,2.634e-01,2.299e-02,-1.256e-01,-9.625e-03, -2.797e-01,-1.122e-02,6.476e-02,1.771e-01]]),list([[3.214e-01,2.320e-01,4.303e-01,1.749e-01,-1.062e-01, -2.929e-02,-7.665e-02,3.144e-01,-1.409e-02,4.253e-01, 1.615e-01,-2.408e-01], [-2.641e-01,-1.029e-02,-2.359e-01,1.821e-01,2.690e-02, 3.959e-01,4.388e-01,-1.955e-01,-1.443e-02,3.875e-03, 9.506e-02,2.128e-01], [5.699e-02,-1.156e-01,-1.529e-01,3.165e-01,-2.833e-01, 1.990e-01,-1.840e-01,-1.197e-03,-1.643e-01,1.676e-01, -3.888e-01,-3.211e-01], [2.717e-01,8.261e-02,-7.213e-02,-2.815e-01,-1.569e-01, -2.675e-01,-1.406e-01,2.725e-01,3.102e-01,2.328e-01, 3.685e-02,3.494e-01], [-5.770e-02,-8.161e-02,-1.703e-01,-1.554e-01,-2.881e-01, -3.360e-01,-2.663e-01,-4.473e-01,-5.535e-01,-5.606e-01, -5.015e-01,-6.649e-01], [-2.874e-01,2.922e-01,2.203e-01,1.055e-01,-1.754e-01, 1.621e-01,1.467e-01,-1.122e-01,-3.357e-01,2.833e-01, -1.403e-02,2.427e-01], [-2.670e-01,-8.202e-02,-8.360e-02,-1.205e-01,-3.940e-01, -2.727e-01,-3.880e-01,-2.572e-01,5.012e-02,4.326e-02, 3.595e-02,-2.075e-01], [1.147e-01,1.551e-01,2.836e-01,2.481e-01,3.419e-01, 5.552e-01,2.553e-01,7.962e-01,1.151e+00,1.052e+00, 9.800e-01,1.001e+00], [4.382e-02,1.284e-01,2.558e-01,-2.076e-01,1.433e-01, -3.843e-02,2.008e-01,4.158e-01,9.364e-03,1.967e-02, 3.037e-01,8.645e-02], [2.039e-01,2.171e-01,2.105e-01,2.563e-01,3.929e-01, 3.679e-01,4.133e-01,4.860e-01,4.886e-01,4.903e-01, 5.247e-01,5.030e-01], [3.232e-01,3.146e-01,2.952e-01,-1.490e-01,5.472e-04, -1.886e-01,3.077e-01,-2.654e-01,-4.373e-02,-4.011e-01, -3.165e-01,-7.593e-02], [-1.743e-01,-2.495e-02,4.842e-02,-2.767e-02,9.080e-02, 1.171e-01,9.162e-02,2.545e-01,1.690e-01,2.188e-01, 1.366e-01,-3.569e-02], [1.582e-01,2.166e-01,1.750e-01,1.356e-01,1.038e-01, 1.795e-01,-2.271e-01,-1.248e-01,-1.057e-01,-4.096e-01, -4.075e-01,-3.506e-01], [2.744e-01,-1.993e-01,1.028e-01,3.325e-01,2.099e-01, 4.006e-01,-2.221e-01,-6.073e-02,3.545e-01,1.654e-01, 1.238e-01,2.015e-01], [-2.611e-02,-9.309e-02,-5.944e-02,-3.419e-01,-2.732e-01, -7.247e-01,-5.473e-01,-5.030e-01,-5.582e-01,-3.841e-01, -3.592e-01,-3.883e-01], [-1.496e-02,-9.356e-02,-1.182e-01,2.533e-01,2.935e-01, -2.438e-01,2.656e-02,-5.280e-02,-3.335e-01,2.313e-01, 4.300e-02,-2.150e-01], [2.235e-01,1.575e-01,2.020e-01,4.419e-01,4.643e-01, 4.546e-01,4.915e-01,3.752e-01,7.178e-02,1.282e-01, 3.681e-01,1.823e-01], [1.850e-01,4.979e-01,2.953e-01,2.069e-02,-2.185e-01, -7.413e-02,5.039e-02,4.287e-02,3.192e-01,3.190e-01, 6.337e-03,2.326e-01], [9.664e-02,-6.889e-02,-3.024e-01,-1.931e-01,-3.480e-01, -3.791e-01,-5.931e-01,-4.254e-01,-5.782e-01,-4.967e-01, -6.434e-01,-5.430e-01], [9.543e-02,2.223e-01,-2.205e-01,3.012e-01,3.849e-01, 3.186e-01,3.927e-01,-6.646e-02,2.599e-02,-2.826e-01, -1.012e-01,3.865e-01], [-2.239e-01,-1.135e-01,2.284e-02,3.782e-02,-1.872e-01, 1.121e-01,-3.604e-02,-2.685e-01,-2.451e-01,-3.266e-01, -3.680e-01,-3.732e-01], [-4.486e-01,-5.184e-01,-5.722e-01,-6.454e-01,-5.404e-01, -5.850e-01,-4.899e-01,-4.847e-01,-4.062e-01,-4.278e-01, -3.749e-01,-3.242e-01], [-2.852e-01,-4.031e-01,-4.396e-01,-4.761e-01,-2.402e-02, -3.576e-01,-1.794e-01,-9.914e-02,-3.263e-01,-3.069e-01, -1.049e-01,-3.479e-02], [4.262e-02,1.577e-01,2.543e-01,4.026e-01,5.528e-01, 6.961e-01,8.484e-01,8.177e-01,9.541e-01,8.446e-01, 8.701e-01,1.030e+00]])] B = [list([0.345,0.029,0.627,0.181,1.153,0.286,-0.057,0.138, -0.205,0.038,0.548,0.406,0.262,0.588,-0.236,0.228, 0.517,0.072,-0.806,-0.308,-0.179,0.174,0.316,-1.294]),list([0.231,0.296,0.316,0.314,0.084,-0.061,0.31,0.228, 0.471,0.448,0.241,0.33,0.028,0.074,0.312,-0.235, 0.028,-0.373,0.395,0.198,0.559,0.719,0.184,0.624]),list([0.188,0.118,0.033,-0.029,0.116,-0.085,-0.182,-0.056, -0.095,-0.177,-0.23,-0.233])] n=int(input()) for i in range(n): edelliset=[float(i) for i in input().split(' ')] EKA=[] for i in range(24): p=B[0][i] for j in range(24): p+=M[0][j][i]*edelliset[j] EKA.append(f(p)) TOKA=[] for i in range(24): p=B[1][i] for j in range(24): p+=M[1][j][i]*EKA[j] TOKA.append(f(p)) OUTPUT=[] for i in range(12): p=B[2][i] for j in range(24): p+=M[2][j][i]*TOKA[j] OUTPUT.append(f(p)) for i in range(5): print(OUTPUT[i],end=" ") for i in range(5,12): print("?",end=" ") print()
Test details
Test 1
Verdict: ACCEPTED
input |
---|
1000 -0.4 -0.1 -0.2 -0.3 -0.4 -0.5 ... |
correct output |
---|
0.4 0.4 0.5 0.8 0.9 1.1 1.3 1.... |
user output |
---|
0.11680118861382376 0.22392456... Truncated |
Test 2
Verdict: ACCEPTED
input |
---|
1000 2.9 2.9 2.9 2.1 2.6 2 2 2.2 2.... |
correct output |
---|
2.3 1.6 1.5 1.1 1 0.7 0.6 0.8 ... |
user output |
---|
2.695076197330278 2.7764292845... Truncated |
Test 3
Verdict: ACCEPTED
input |
---|
1000 6.6 6 6.4 6 4.6 4.6 4.2 4.3 4.... |
correct output |
---|
10 10.9 10.3 10.1 9.1 7.3 5.7 ... |
user output |
---|
10.135248811102175 10.10173099... Truncated |
Test 4
Verdict: ACCEPTED
input |
---|
1000 19.4 20.2 19.1 18.9 18.3 17.3 ... |
correct output |
---|
18 18.2 17 17.5 17.2 16.2 12 8... |
user output |
---|
17.487251314763636 17.61126732... Truncated |
Test 5
Verdict: ACCEPTED
input |
---|
1000 -5.7 -5.8 -5.8 -5.9 -7.1 -6.9 ... |
correct output |
---|
-4.2 -4.1 -4 -3.8 -3.5 -3.2 -3... |
user output |
---|
0 0 0 0 0 ? ? ? ? ? ? ? 0 0 0 0 0 ? ? ? ? ? ? ? 20.457139445805772 20.35111025... Truncated |
Test 6
Verdict: ACCEPTED
input |
---|
1000 14.8 14.8 15.4 12.9 11.8 9.7 9... |
correct output |
---|
11.8 11 11.6 10.8 10.4 10.4 10... |
user output |
---|
12.505539965197668 12.45343842... Truncated |
Test 7
Verdict: ACCEPTED
input |
---|
1000 0.7 1 2 1.4 0.6 -0.4 -0.9 -0.7... |
correct output |
---|
-1.3 -0.5 -0.6 -1 -3.2 -7.2 -6... |
user output |
---|
0 0 0 0 0 ? ? ? ? ? ? ? 1.947962331598645 2.0562576495... Truncated |
Test 8
Verdict: ACCEPTED
input |
---|
1000 15.1 15.3 14.9 14.4 14.4 13.7 ... |
correct output |
---|
15.6 15.9 16 15.2 14.6 14.4 13... |
user output |
---|
15.168449687064767 15.31441117... Truncated |