2Warm
Information
Points | Category | Level |
---|---|---|
50 | General Skills | Easy |
Challenge
Can you convert the number 42 (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(42)
*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{101010}