Dreamfarer / UZH

A collaboration between students from the University of Zurich committed to providing additional help and sample solutions for lecture assignments
GNU General Public License v3.0
17 stars 10 forks source link

Info2-001-02: Yuirike solution #86

Closed ghost closed 1 year ago

ghost commented 1 year ago

There was an issue with differing prints when switching systems or using online compilers. It seems this happened because the integer variable "res" in the function "dotP" was left empty and some compilers can't handle that. So I assigned 0 to it and was able to run my program successfully on Replit. Please test it also on your machine and verify it again.

Patertuck commented 1 year ago

Nice! Thank you for taking the time to solves this issue. Your code looks correct, amazing :)