PicoCTF 2018 - General Warmup 2


Information

Points Category Level
50 General Skills Very Easy

Challenge

Can you convert the number 27 (base 10) to binary (base 2)?

Hint

Submit your answer in our competition’s flag format. For example, if you answer was ‘11111’, you would submit ‘picoCTF{11111}’ as the flag.

Solution

Let’s open python and check the value -

Open termianl -> "python" -*> bin(27)

*bin() - it’s function to cast from int value to his value in binary base, *the prefix 0b indicates that the number shown in his binary base.

Flag

picoCTF{11011}