thank you for looking into this.
i understand that a combination of
cat can mess up the stdin buffer. yet it works fine in the ide tests. it also works fine on my local machines (recent arch linux and ubuntu). only the validators are failing.
i have now tried three combinations: using
cat, using only
read, using only
cat. all three pass all tests in the ide. but alle three pass only two tests in the validator. test 1 (example) and test 3 (codingame) pass, test 2 (one fall) and test 4 (snow) fail. regardless of
read or both.
can you confirm that the ide tests and validators are done on the same or different systems? maybe with different versions of bash or coreutils or glibc?