Cannot execute binary file: Exec format error on linux64 bit

Hello guys

I’ve been running a code, but It doesn’t seem to work, and the terminal has this error :
cannot execute binary file: Exec format error
i don’t get it,i used it before it worked well and i didn’t changed anything on my laptop. could it be becuz of upgrade or update?
i use Ubuntu 18.10 64bit. im new at all of this Linux stuffs!
Could someone help me asp, with some extra details and examples please?
Thank you all

Did you compile it yourself? Or is it something somebody else compiled, and if so probably not on linux.