func_code_string: #include <bits/stdc++.h>   using namespace std;   double a, b, m;   double vx, vy, vz;   double x0, z0;   int main() {     scanf( %lf %lf %lf , &a, &b, &m);     {       scanf( %lf %lf %lf , &vx, &vy, &vz);       double t = -(m / vy);       double sx = vx * t;       double sz = vz * t;       int d = (int)(sz / b);       if (d % 2 == 0) {         z0 = sz - d * b;       } else {         z0 = b - (sz - d * b);       }       if (sx < -a / 2) {         sx = -(sx + a / 2);       } else {         sx = sx + a / 2;       }       d = (int)(sx / a);       if (d % 2 == 0) {         x0 = sx - d * a;       } else {         x0 = a - (sx - d * a);       }       printf( %.10lf %.10lf n , x0, z0);     }     return 0;   }   