암호(수학) 등.. 공부한 거 잊을거 같아서 만든 블로그

2Warm 본문

picoCTF

2Warm

h34hg0 2022. 5. 9. 23:03

문제


2Warm

숫자 42를 이진수로 변환할 수 있습니까?


풀이


진법변환

42를 이진수로 변환하면 101010임을 알 수 있다.

 

c/c++ 진법 변환(2, 8, 10, 16) :: heahgo (tistory.com)

 

c/c++ 진법 변환(2, 8, 10, 16)

n진수를 10진수로 변환 10진수를 n진수로 변환 C언어로 진법 변환 구현 notation.h //notation.h char* convertBin(char* number); char* converterOct(char* number); int convertDec(char* number); char* con..

heahgo.tistory.com

 

따라서 플래그가 picoCTF{101010} 임을 알 수 있다.


 

'picoCTF' 카테고리의 다른 글

strings it  (0) 2022.05.10
First Grep  (0) 2022.05.10
what's a net cat?  (0) 2022.05.10
Lets Warm Up  (0) 2022.05.09
Warmed Up  (0) 2022.05.09