본문 바로가기

호그와트

(366)
어이 김 씨, 한국은 춥댜 ~ import java.util.Scanner; public class MonthlyTemperature { private static final int WEEKS = 4; private static final int DAYS_IN_WEEK = 7; private static double[][] temperatures = new double[WEEKS][DAYS_IN_WEEK]; private static boolean dataEntered = false; public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int choice; do { displayMenu(); while (!scanner.hasNextInt..
실제의 해킹을 잘하고 싶다면... 지금부터 내가 하려는 얘기는 상당히 주관적인 얘기이다. 그래서 내 의견에 동의하지 않을 사람들도 꽤 많을 것이다. 다만, 그렇게 서로 다르다는 것은 어느 한 쪽의 얘기가 틀렸다기 보다는 그만큼 우리 분야가 다양하다는 것을 뜻할 뿐이라고 생각한다. 만약 내 의견에 동의하지 않고 그것을 감정적인 언어로 표현하지 않고 명백한 근거를 가지고 얘기할 수 있다면 얼마든지 댓글을 달아주시길 감히 부탁드린다. 나도 이번 기회에 한 수 배우고 싶으니까. 가끔씩 해킹과 보안을 실전적으로 어떻게 잘할 수 있냐는 질문을 받기도 한다. 북한 해커들처럼 해킹으로 몇 조원의 암호화폐를 탈취하는 것도 아니고 러시아나 중국 해커들처럼 실제 사이버 전쟁을 치루지도 않는 나로써는 이런 질문에 답변하기 상당히 민망하다. 그리고 솔직히 말해..
치킨버거 맛 좀 볼래요? 오늘도 짧게 시간이 남아서 짤막한 글을 써보려 한다 어느정도 익숙해지다보니, 시간이 빨리 감과 동시에 시간 활용을 정말 잘하게 되었다 물론, 아침에 쉬는 시간이 중간 중간 있기도 하지만, 그래도 정말 시간의 밀도가 아주 높다. 그리고 하루 하루에 해내는 양을 보면 정말 나 자신을 칭찬하고 싶어질 뿐이다. 이렇게나 공부가 잘 되고 연구가 잘 되어서 정말 신께도 감사드릴 뿐이다. 예전에, 치킨이나 햄버거 같은 걸 먹어도 살이 안 찐다는 사람들을 보면 그냥 재수없는 사람이라고 생각했는데 어쩌다보니 내가 그렇게 되버렸다. (사진은 오늘 먹은 치킨 버거이다. 치킨이라고 한글이 써있는 이유는 이 식당이 한국 식당이기 때문이다.) myfitness 앱으로 매일 먹는 걸 칼로리 계산을 하는데 나는 하루에 약 300 칼..
leetcode sumArray public class Cumulative { // Recursive method static double cumulativeSumRec(double [] array, int index){ // Base case: if index is 0, return the first element if (index == 0) { return array[0]; } else { // Recursive case: sum of array[index] and cumulative sum of the rest return array[index] + cumulativeSumRec(array, index - 1); } } // Iterative method as an alternative static double cumulative..
honki mode on public class VectorAddition { static int[] addVectors(int[] u, int[] v) { // Check if the lengths of the two arrays are the same if (u.length != v.length) { throw new IllegalArgumentException("Vectors must be of the same length"); } int[] result = new int[u.length]; for (int i = 0; i < u.length; i++) { result[i] = u[i] + v[i]; } return result; } public static void main(String[] args) { int [] u ..
쥐를 잡자 냐옹아 import java.util.Arrays; import java.util.Scanner; ​ public class CombiningArray { public static void main(String[] args) { Scanner user_input = new Scanner(System.in); ​ int s = user_input.nextInt(); int k = user_input.nextInt(); ​ int[] array1 = new int[s]; int[] array2 = new int[k]; ​ // Reading values for array1 for(int i = 0; i < array1.length; i++){ array1[i] = user_input.nextInt(); } ​ //..
영국 사진들 대공개 1 내가 직접 찍은 사진들이다 또 컴퓨터로 보니 새롭다 도시가 맑을 때랑 비가 올 때랑 굉장히 느낌이 다르다
today my lunch hacking exercise (it is like my lunch snack) void FUN_140001c30(longlong **param_1) ​ { longlong **pplVar1; ulonglong uVar2; longlong *plVar3; longlong *plVar4; longlong *plVar5; uint uVar6; void *pvVar8; undefined auStack184 [32]; undefined local_98 [16]; longlong local_88; longlong *local_80 [2]; longlong *local_70; undefined8 local_68; longlong **local_58; undefined8 local_50; undefined8 local_40; undefined8 local_38; ulonglong local_30..