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.
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.