Notice
Recent Posts
Recent Comments
Link
목록2025/05/04 (1)
DY의 세상구경

단계별 문제풀이에서 반복문을 끝내고 배열 시작.단순히 배열 안에서 동일한 정수가 몇개인지 찾는 문제.#define _CRT_SECURE_NO_WARNINGS#include #include #include using namespace std;int main(){ int n, search_n; int *arr; int count = 0; scanf("%d", &n); arr = (int*)malloc(n * sizeof(int)); for (int i = 0; i
IT/ALGORITHM
2025. 5. 4. 12:48