25-1 SISS
-
-
[SISS/웹해킹 스터디] 25-1학기 6주차 스터디 - CSRF/CORS Bypass, Natas 18 >> 20보호글 2025. 5. 8. 15:15
보호되어 있는 글입니다.
-
[SISS/웹해킹 스터디] 25-1학기 5주차 스터디 - CSRF/CORS Bypass, Natas 16 >> 18보호글 2025. 5. 8. 14:00
보호되어 있는 글입니다.
-
[SISS/C언어 스터디] 25-1학기 8주차 스터디 - 그래프, 추가 과제25-1 SISS/C스터디 2025. 5. 6. 18:15
: 8주차 (5/19~5/25) 프로그래머스 지정 1문제 (그래프)- https://school.programmers.co.kr/learn/courses/30/lessons/49190 방의 개수# 방의 개수.pydef solution(arrows): # 8방향 벡터(북쪽부터 시계 방향) dx = [-1, -1, 0, 1, 1, 1, 0, -1] dy = [0, 1, 1, 1, 0, -1, -1, -1] # 방문 노드, 간선 저장 집합 node_visited = set() edge_visited = set() # 시작 위치 x, y = 0, 0 node_visited.add((x, y)) answer = 0 for dir in arrows: ..
-
[SISS/C언어 스터디] 25-1학기 7주차 스터디 - BFS/DFS, 추가 과제25-1 SISS/C스터디 2025. 5. 6. 16:45
: 7주차 (5/12~5/18) 프로그래머스 지정 1문제 (깊이/너비 우선탐색)- https://school.programmers.co.kr/learn/courses/30/lessons/87694 아이템 줍기// 아이템 줍기.c#include #include #include #include #define SIZE 102 // (좌표 2배 확장) 50*2=100 이상#define QUEUE_MAX 10000int map[SIZE][SIZE];bool visited[SIZE][SIZE];// 상하좌우 이동int dx[] = {1, -1, 0, 0};int dy[] = {0, 0, 1, -1};// BFS를 위한 큐typedef struct { int x, y, dist;} Node;Node queue..
-
[SISS/C언어 스터디] 25-1학기 6주차 스터디 - 그리디, 추가 과제25-1 SISS/C스터디 2025. 5. 6. 16:30
: 6주차 (5/5~5/11) 프로그래머스 지정 1문제 (greedy알고리즘)- https://school.programmers.co.kr/learn/courses/30/lessons/42883 큰 수 만들기// 큰 수 만들기.c#include #include #include // 파라미터로 주어지는 문자열은 const로 주어집니다. 변경하려면 문자열을 복사해서 사용하세요.char* solution(const char* number, int k) { int len = strlen(number); // 전체 숫자 길이 int answerLen = len - k; // 만들 숫자 길이 // 문자열 저장용 스택 char* stack = (char*)malloc(len + 1); ..
-
[SISS/C언어 스터디] 25-1학기 5주차 스터디 - 완전 탐색, 추가 과제25-1 SISS/C스터디 2025. 5. 3. 17:45
: 5주차 (4/28~5/4) 프로그래머스 지정 1문제 (완전탐색)- https://school.programmers.co.kr/learn/courses/30/lessons/84512 모음 사전// 모음 사전.c#include #include #include #include // word가 사전에서 몇 번째 위치인지 반환int solution(const char* word) { char vowels[] = {'A', 'E', 'I', 'O', 'U'}; // 사용 가능한 모음 int weights[] = {781, 156, 31, 6, 1}; // 각 자리수의 가중치 (5^n - 1의 합 기반) int answer = 0; // 단어의 각 글자 순회 for (int..