func_code_string: #include <bits/stdc++.h>   using namespace std;   const long long int INF = 1e18;   const int inf = 1e9;   const int MOD = 1e9 + 7;   const int nax = 1000000 + 10;   int main() {     ios::sync_with_stdio(0);     double a, b, m, t, dx, dz, mz, mx, vx, vy, vz, ansx, ansz;     int pz, px;     cin >> a >> b >> m;     cin >> vx >> vy >> vz;     t = m / abs(vy);     dz = t * vz;     pz = dz / b;     mz = dz - pz * b;     if ((int)pz % 2 == 0)       ansz = mz;     else       ansz = b - mz;     dx = abs(vx) * t;     if (dx <= a / 2)       ansx = a / 2 + dx;     else {       dx -= a / 2;       px = dx / a;       mx = dx - px * a;       if ((int)px % 2 == 0)         ansx = a - mx;       else         ansx = mx;     }     if (vx < 0) {       ansx = a - ansx;     }     cout << fixed << setprecision(8) << ansx << endl;     cout << ansz << endl;     return 0;   }   