Yes, but how do you prove that it was after one of the teams publishes their work? It seems nearly impossible.
If someone publishes the paper, you can then publish the files that resulted with the dropped hash and therefore prove you had certain progress of the work at a certain time.
Basically, if you could show that you had already made significant progress before the publication date, then you might be granted the patent as well.