
Say whether every character of a mark appears in a binary in the same order.
1984, Turing Award lecture. Ken Thompson explains how he put a backdoor in the Unix login program with nothing showing in the source. Teach the compiler to insert it, then teach the compiler to plant that lesson in its own next version. He closes by saying you cannot trust code you did not write yourself. Check whether the mark survived into the binary.
survives("login", "l0o1g2i3n4")Expected result
1For your own tracking. Tests grade your code.
survives("login", "nigol")Expected result
0survives("aab", "axaxb")Expected result
1Expected files
trust.cAllowed functions
None. Write every helper yourself.
