fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. return 0;
  7. }
  8.  
  9. /*
  10. Vector3D Vector3D::rotate(Vector3D ort, double angle) {
  11. ort.normalize();
  12. Vector3D cur_vector(this->x, this->y, this->z);
  13.  
  14. return Vector3D(cur_vector * cos(angle) + cur_vector.cross(ort) * sin(angle) + ort * cur_vector.dot(ort) * (1 - cos(angle)));
  15. }
  16. */
Success #stdin #stdout 0.01s 5292KB
stdin
Standard input is empty
stdout
Standard output is empty