본문 바로가기

Thanks

(99)
crazy monster made by tryhackme GOD :: hero import sysimport base64import osfrom cryptography.hazmat.primitives.kdf.pbkdf2 import PBKDF2HMACfrom cryptography.hazmat.primitives.hashes import SHA256from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modesfrom cryptography.hazmat.backends import default_backendfrom cryptography.exceptions import InvalidKeyusage_msg = "Usage: " + sys.argv[0] + " (-e/-d) [file] [password]"he..
this is beauty def max_sum_non_adjacent(arr, index=0):     if index >= len(arr):         return 0     # Include the current element and skip the next     include = arr[index] + max_sum_non_adjacent(arr, index + 2)     # Exclude the current element and move to the next     exclude = max_sum_non_adjacent(arr, index + 1)     # Return the maximum of including or excluding the current element     return max(include..
몬티홀 딜레마의 핵심논리 A, B 에게 당첨과 꽝 각각 1개의 공 즉 총 2개의 공 중 각기 아무거나 1개를 랜덤으로 뽑게하면 한 명은 당첨이 되고 한 명은 꽝이 된다 이 때 B에게만 정보를 제공하여 B는 자신이 당첨되었다는것을 알았다고 해보자. A는 여전히 모르기에 1/2이다. B는 100%다. 이게 바로 몬테홀 딜레마이다 (더 정확히 말하면, 몬테홀 딜레마의 핵심 논리랑 같다는 뜻이다) 똑같은 사건이어도 각기 입장에 따라 확률이 달라진다는 것을 알면 어떠한 역설도 없이 문제는 쉽게 풀린다 최근에 또 창의성 모듈 몰입 상태에 도달하여 즐겁게 수학문제들을 풀고 있다 (현재 여기까지 와서 한 것들을 종합하면 몰입 13~14주차 정도 되는 거 같다)  semester 중에도 굉장히 많은 수학문제들을 풀긴 했지만, 지금은 더 제약 없..
PI 소수점과 모든 가능한 숫자열 Q : PI는 순환되지 않는 무한 소수로 이루어져 있습니다. 이 때 우리는 이 무한한 + 순환되지 않는 소수가 0~9로 이루어진 모든 가능한 숫자열을 포함하는지 생각해봅니다. 직관적이고 단순한 대답은 '아니요'입니다. 99999....9999로만 계속해서 1억 9천 만개 이루어진 수열은 PI에 존재하지 않기 때문입니다. 이는 직관적인 대답이고 이를 조금 더 엄밀하게 증명할 수 있을까요 ? 순환하지 않는 무한한 PI의 소수점이 0~9로 이루어진 모든 가능한 숫자열을 포함하지 않는다는 근거를 제시해보세요 (일반인들조차 읽을 수 있도록 일부러 평이한 수준으로 작성했습니댜)   전제 : 칸토어의 대각선 논법에 따르면, 무한이라고 해도 그 안에 각기 분류는 다를 수 있습니다. 조금 더 쉽게 말해서 카운터블 무한과..
넘어간다제~ #include #include #include  void execute(int user_input, int length) {    uint8_t code_buffer[128];     uint8_t *code_ptr;    uint32_t buffer_length;    uint32_t adjusted_length;    int read_index = 0;    uint32_t write_index = 0;     if (user_input == 0 || length == 0) {        exit(1);  // Exit if input is invalid    }     adjusted_length = length * 2;    buffer_length = adjusted_length;     /..
tryhackme athena fantasia :: tryhackme GOD의 풀이 Starting Nmap 7.60 ( https://nmap.org ) at 2024-05-04 00:54 BSTHost is up (0.038s latency).Not shown: 65531 closed portsPORT    STATE SERVICE22/tcp  open  ssh80/tcp  open  http139/tcp open  netbios-ssn445/tcp open  microsoft-dsMAC Address: 02:E7:1F:28:DF:9F (Unknown)nmap -sV 10.10.244.72 -p 22,80,139,445Starting Nmap 7.60 ( https://nmap.org ) at 2024-05-04 01:00 BSTNmap scan report for atena.thm..
The Hero's Story (6)- What Makes a Man Live I feel like the meaning is already encapsulated within my writing and my experiences themselves. As mentioned, at that time, I had grown enough to face all these hardships and experiences head-on and deal with them directly. It is told that life is only 10% what happens to us and 90% how we react to it, and I believe this to be true. At least, my various experiences of hardship tell me so. Victo..
The Hero's Story (5)- What Makes a Man Live 'I believe such daily heroic actions are not exceptional phenomena but rather general principles. Everything appears wondrous to my eyes. There are countless reasons for plans to go awry and cooperation to break down. Yet, amidst all this, people who are hurt still come together to accomplish something. They truly deserve sincere praise and respect. Their deeds are miracles made of courage and p..

반응형