Problem B
Erase Securely

Jon Marius is the computer expert at his company and has now
been tasked to find some software for erasing data properly. It
is very important that the data should not be recoverable
afterwards, so it should be overwritten on the hard drive
several times. Unable to find any free program up to the task,
Jon Marius decides to write such a program himself. The user
interface is simple, it only asks for the file to be destroyed
and
Jon Marius knows that independent testing is important, so he has asked you to write the verification routine. He will not listen to your objections to the algorithm so eventually you give in.
Input
The first line of the input contains a single integer
Output
Output a single line containing either the words “Deletion succeeded” if each bit is switched
Sample Input 1 | Sample Output 1 |
---|---|
1 10001110101000001111010100001110 01110001010111110000101011110001 |
Deletion succeeded |
Sample Input 2 | Sample Output 2 |
---|---|
20 0001100011001010 0001000011000100 |
Deletion failed |