묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결[C++과 언리얼로 만드는 MMORPG 게임 개발 시리즈] Part1: C++ 프로그래밍 입문
마지막 문제 질문
arrows[i] -> AttackTarget(); 이 실행되기 전에 knight의 메모리가 소멸되면 저런식으로 if (knight == nullptr) break; 와 같이 if문을 사용해서 for문을 탈출하게하는 방법도 괜찮은가요? 다른 문제가 생길까요?
-
미해결파이썬 알고리즘 문제풀이 입문(코딩테스트 대비)
cutting edge 시간 복잡도 관련
안녕하세요. 소스코드를 보면 지금까지 잔돈의 총 합이 T보다 크면 가지를 치게 구현이 되어있는데, 만약 제가 짠 코드처럼 저런 경우에 추가적으로 앞으로 남은 모든 잔돈의 총 합을 현재 합에 더해도 T보다 작은경우까지 가지를 치게 되면 sum(tot[L:]) 이 파트가 매 재귀함수마다 계산을 하게 되면서 오히려 시간복잡도가 늘어나는지 궁금합니다. (사실 리스트 인덱싱 및 내장함수 sum을 실행할때 시간복잡도 빅o로 어떤지가 궁금하기도 합니다.) t = int(input()) k = int(input()) ary = [list(map(int,input().split())) for _ in range(k)] cnt = 0 tot = [ x[0]*x[1] for x in ary ] def DFS(L,al): global cnt if al == t: cnt +=1 return if L == k: return if al + sum(tot[L:]) < t or al > t: return else: for i in range(ary[L][1]+1): DFS(L+1,al + ary[L][0]*i) DFS(0,0) print(cnt)
-
해결됨[리뉴얼] Node.js 교과서 - 기본부터 프로젝트 실습까지
강의 질문
안녕하세요. vue X nodebird 수강 전 문의 항목이 없어 여기 질문드립니다. 질문. vue X nodebird 섹션 3. 저의 교과서 강의랑 동일한 거죠?
-
미해결모든 개발자를 위한 HTTP 웹 기본 지식
웹브라우저가 특정 쿠키를 어떻게
쿠키저장소에 여러 쿠키들이 있을 수 있나요? 혹시 있을 수 있다면웹 브라우저가 해당 유저가 로그인한 계정을 어떻게 알고 해당 유저의 쿠키를 찾아 요청을 보낼 수 있는지 궁금합니다.
-
미해결스프링 MVC 1편 - 백엔드 웹 개발 핵심 기술
0분50초쯤!
강사님께서 0분50초쯤에 json이니까 ObjectMapper가 있어야된다고 하셨는데 그 이유가 궁금합니다 ㅠㅠ
-
미해결스프링 MVC 2편 - 백엔드 웹 개발 활용 기술
멤버 컨트롤러와 로그인 컨트롤러 내 서비스로 비즈니스 로직 분리 차이
안녕하세요, 강의를 듣다가 문득 member 와 login 쪽에서 궁금한 점이 생겨서 여쭙습니다! 로그인 도메인에서 핵심 비즈니스 로직은 service 로 따로 빼주었는데 멤버는 따로 service로 빼주지 않은 이유가 궁금합니다!
-
미해결
What are the advantages of taking up the AWS Training
What is Amazon Web Services? AWS or Amazon Web Services is the main distributed computing model that serves the business with a wide scope of IT conveyance administrations. This model offers web and application facilitating, enormous information stockpiling, fiasco recuperation, reinforcement administrations and parcels more. Contrasted with other distributed computing models, AWS holds around 30% of the cloud piece of the pie, which in itself is something major. At the point when AWS conveys such an immense offer on the lookout, you should look at the accreditation models, it observes for the experts. AWS preparing and certificate model is intended to approve the information on experts according to the developing and changing requests of the IT business. To stay aware of the principles, one can take the confirmation and expect an incredible ascent as far as position and pay size obviously. To have an unmistakable comprehension of how AWS will help you in your vocation system, you might look at the accompanying advantages of AWS preparing and accreditation model. Advantages of AWS preparing AWS Course in Pune 1. Acquire better compensation While acquiring information in AWS field, it gets great pay which altogether helps your compensation. In case you are searching for a splendid accreditation, do AWS course that certainly gives you certainty and increment your compensation. Edge-installment makes it possible to refresh with more things and eliminate the need to install. By doing this, one is more likely to obtain better results by opening up more doors in their daily lives. AWS Training in Pimpri Chinchwad 2. Accomplish more open positions While finishing the AWS accreditation, you will get more business openings towards moving the cloud. There will be more freedoms thumping the entryway with the goal that you will get a brilliant profession according to the testament approval. It is chipping away at AWS projects than there will be a remote possibility of acquiring AWS confirmation according to the prerequisites. In case you are searching for a task in an organization, you ought to get AWS confirmation for eternity. There is an interest confirmation from up-and-comers so it ought to acquire a more open position for all. Thus, it should go through a very much arranged accreditation reasonable for acquiring openings in any case. 3. Advantages for consultants andbosses Aside from understudies, AWS accreditation course is extraordinarily useful for specialists and workers. It gives the greatest possibility so it could ready to distinguish sufficient working involvement in aws preparing. It incorporates advanced clumps with the goal that you will stay an expert competitor subsequent to finishing the course. This definitely assists specialist up-and-comers with partaking in large tasks by having certificate. In case you are searching for online assets, it should direct you to give identifications according to the choice. Most organizations are refreshing with the right abilities for going to AWS preparing reasonable for your future objectives. Getting AWS projects should acquire the confidence of customers. 4. Incorporates future turn of events From the start, Cloud processing innovation has accomplished a standard job in making appropriate difficulties in late business areas. This ought to go through by considering further advancement by dealing with numerous organizations as quickly as time permits. Running everything dependent on distributed computing provides the advantages of learning about aws fledge server farm. It is appropriate for each office and innovation uncovers the accomplishment in distributed computing in the server farm. The affirmation preparing offers fundamental information in conveying secure and modest admittance to the cloud. To accomplish your future objectives, it is essential for one to undergo AWS preparation and become a new alumnus. Pick SevenMentror To Learn AWS In Pune, AWS Classes under Cloud utilitarian based getting ready are interesting, yet they're developing and mentioning in Pune's IT Companies. Accordingly, SevenMentor Cloud enrolling viewed as Best AWS Training Institute in Pune set up Institute communities regarding AWS Cloud Designing and more suitable for Cloud execution. AWS Classes in Pune gives you the post-AWS Course fulfillment which will rule you to pick a cloud-based reply for your endeavor reliant upon need and essential and subsequently AWS cleared affirmed engineers are sought after with pay rates starting from 4-5 lakhs. Begin your calling with the sign of Cloud Solution Architect/AWS Solution Engineer with the Best AWS Training in Pune builds your capacity, conviction, and trustworthiness through sensible cloud capacities that help you with improving and gather your future. It's stayed up with the latest regularly by AWS trained professionals, so you're continuously learning the most recent and keeping your cloud capacities new. We offer both modernized and homeroom AWS Course in Pune recollecting private for site planning. You can choose to gain online at your own speed or gain from a guarantee AWS instructor. We offer AWS Training and AWS Certification at SevenMentor to help you be seriously convincing and achieve more in the cloud, whether or not you are different to IT or needing to enhance existing abilities.
-
미해결Vue.js 중급 강좌 - 웹앱 제작으로 배워보는 Vue.js, ES6, Vuex
vue3해결 질문
vue3를 다운을 받아 오류로인하여 많은고생을 하였습니다ㅜ 혹시나마 저와같은 학생들이 있을까봐 제가 찾은 방법을 공유를 해보려 합니다 강사님께서 검토후 괜찮다고 하시면 아래 내용으로 해결하시면 좋을거같습니다 ~
-
미해결눈떠보니 코딩테스트 전날
코드 한번 봐주실수 있나요..? 이해가 안되서 그래요ㅡㅜㅜ
##list_n = [2,1,3,4,5,76,1,83,277,89,73]list_d = []# while list_n:# insert_v = list_n.pop(0)for i in list_n: if len(list_d) == 0: list_d.append(i) print("s :", list_d) else : print("\n", "== else ==") for saved in list_d: print( "i : ", i, " j :", saved) if i < saved: print(",,,,,,,,",list_d.index(saved)) list_d.insert(list_d.index(saved), i) print(list_d) break if list_d.index(saved) == len(list_d)-1: list_d.append(i) break print(list_d) print("for_1") 이렇게 짯는데 break 문이 없으면 무한반복하더라구요.. 근데 이유를 모르겠어요.. 일단넣으니 됬는데 이유가 궁금합니다
-
미해결파이썬(Python)으로 데이터 기반 주식 퀀트 투자하기 Part1
df.info() 에러
안녕하세요 강사님 주피터 노트북 상에서 df.info()함수를 호출하는 과정에서 TypeError가 raise되는데요 다캡처화면과 같은 문제가 계속 발생하고 있습니다.. pandas version 및 numpy version 모두 다 확인하였고 강사님이 requirements를 통해 주신 version으로 맞추었는데도 불구하고 위 에러가 계속 발생이 되네요.. 어떻게 해결하면 좋을까요?
-
미해결타입스크립트 입문 - 기초부터 실전까지
타입 호완 관련 질문이있습니다!
안녕하세요! 강의 잘듣고있습니다. 아래 예제에서 sum = add 라고 선언을 했는데 왜 인자가 1개 들어가면 에러가나오나요?? 하지만 인자를 2개 넣어준다면 add 함수를 실행시킨 것처럼 log가 찍히는데 타입 호환이라는데 입력은 기존 대로 받지만 내부 실행만 호환된 코드로 실행되는건가요?? var add = function add(a: number){ // ... console.log(a); } var sum = function(a: number, b: number){ // ... } sum = add; sum(1);
-
미해결실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
상품 주문에서 submit Error / 주문 내역에서 order과 cancel 조회 시 에러가 뜹니다.
상품 주문에서 칸을 다 체크하고 submit을 누를 시 500 에러가 뜨고 주문내역에서는 order나 cancel을 조회 시 둘다 아래와 같이 500 에러가 뜹니다. 아래는 OrderController 파일입니다. 아래는 orderForm.html입니다. 아래는 orderList.html파일입니다. 코드는 강의코드에서 타이핑 하고 확인 후에 혹시몰라서 pdf 코드를 그대로 복사하였습니다... 살펴주시면 감사하겠습니다.
-
미해결혼자 공부하는 머신러닝+딥러닝
평균과 가까운 사진 고르기
279p에서 평균과 가까운 이미지를 고를 때, axis=1,2 값으로 지정하는 이유가 첫 번째 차원인 300개의 샘플을 평균을 내면 안 되어서인데 구체적인 이유가 궁금합니다.
-
해결됨프로젝트로 배우는 Vue.js 3
강의내용은 아니지만 vue에 대해 질문합니다
1. 템플릿을 만들때 아래내용대로 만들었습니다 <template> <div class="xNode" id="lawcurtree"> <div class="curNode"> <img id="d0imgtree" class="inline-block" src="/image/tree/base.gif"> <span class="lawmark">법률</span> <div class="inline-block hover:text-blue-500" @click="viewContents('A0000000887Z1817620210518')">일반상식</div> </div> <div id="b0imgtree" style="display: block;"> <div class="curNode"> <img id="c1imgtree" class="inline-block" src="/image/tree/minus.gif" @click="displayOnOff('b1imgtree', 'c1imgtree')"> <img id="d1imgtree" class="inline-block" src="/image/tree/folderopen.gif"> <span class="lawmark">시행령</span> <div class="inline-block hover:text-blue-500" @click="viewContents('A0000001009Z3213020211119')">일반언어</div> </div> </div> </div> </template> 위내용을 vue파일에 직접 edit하여 컴파일후 실행시키면 잘 동작을 합니다(특히 event부분) 그런데 위내용을 database table에 저장한후 어떤 버튼에 의해 db로 부터 읽어 (tdata변수에 저장) <div > <p v-html="tdata"></p> </div> v-html로 넣으면 모양을 제대로 나옵니다 하지만 @click event를 동작시키면 실행이 되지를 않습니다 원인을 찾다보니 컴파일이 안되어서 그런것 같기도하구 약 1주일 정도 헤메고 있습니다 조언 부탁드립니다
-
미해결윤재성의 Node.js 서버 프로그래밍 과정
개발환경 관련해서 질문드려요~
이것저것 초급이라 맞는 질문인지는 모르겠지만 질문드려요~ㅠㅠ nodeeclips 대신에 visual studio code를 사용해도 괜찮을까요? 기존에 사용하던게 vs code라서 질문드립니다.
-
미해결데이터베이스 중급(Modeling)
useflag 사용하는 이유
반 테이블에 UseFlag 칼럼을 추가하는 이유가 궁금합니다. 강의에서는 다음과 같은 예시를 들었습니다. "작년에 7반을 사용했는데 올해는 7반을 사용하지 않는다면 UseFlag를 false로 하면 된다. 그러면 7반에는 학생을 받지 않고 작년에 7반에 있던 학생들 정보는 다 살아있다." 반 테이블는 아래와 같이 데이터가 쌓일텐데 2018년 1학년 1반 이교준 2019년 3학년 5반 이교준 2021년 1학년 1반 이교준 올해 7반을 사용하던 2022년 1학년 7반 이교준이 입력되면 되고 만약 7반을 사용 안 하면 아무런 데이터가 입력되지 않을 텐데 UseFlag를 사용할 일이 있나요? 혹시 UserFlag를 쿼리로 어떻게 사용하시는지 보여주실 수 있나요?
-
미해결스프링 MVC 1편 - 백엔드 웹 개발 핵심 기술
debug 관련 문의ㅡ
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예/아니오)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오)[질문 내용] Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 이런 에러가 떠서 구글링도 해봤는데 해결하기가 힘드네요 ㅠ
-
미해결Do it! 자바 프로그래밍 입문 with 은종쌤
22분 29초 질문 있습니다!
ch = 66; System.out.prinln(ch); 이렇게 하면 결과가 66이 나와야 하는거 아닌가여..??왜 B가 나오는거죠? B가 나오려면 System.out.prinln((char)ch); 로 작성 해야하는거 아닌가요??
-
미해결실무에서 바로 쓰는 영어 이메일
강의 자료 요청
안녕하세요. 강의자료 요청드립니다. sinsmart@naver.com로 보내주시면 감사하겠습니다.
-
미해결프로그래밍 시작하기 : 웹 입문 (Inflearn Original)
circle -image 적용이 되지 않습니다.
문제가 뭘까요....