반응형

분류 전체보기 308

[정올 1175] 주사위던지기2

http://www.jungol.co.kr/bbs/board.php?bo_table=pbank&code=1175&sca=99 JUNGOL www.jungol.co.kr #include //cb[9]: 주사위 눈을 저장하는 배열 //sum: N번 시행한 눈의 합 int N, M, cb[9], sum; void fill(int idx) { //idx번째 주사위를 던지는 함수 if (idx >= N) { //N번을 다 던진 경우에 if (sum == M) { //N번 던진 눈의 합의 M인 경우에만 출력 for (int i = 0; i < N; i++)printf("%d ", cb[i]); printf("\n"); } return; //N번을 다 던지면 재귀 탈출 } for (int i = 1; i

[정올 1161] 하노이1

http://www.jungol.co.kr/bbs/board.php?bo_table=pbank&wr_id=441&sca=99&sfl=wr_hit&stx=1161 JUNGOL www.jungol.co.kr #include void hanoi(int n, int a, int b, int c) { //원반의 개수, 시작봉, 목적봉, 중심봉 if (n == 1) { //원반의 개수가 1이면, 장애물 치우기(시작봉 -> 목적봉) printf("%d : %d -> %d\n", n, a, b); } else { hanoi(n - 1, a, c, b); //n-1원반을 시작봉 -> 중심봉 으로 이동한다. printf("%d : %d -> %d\n", n, a, b); //n원반을 시작봉 -> 목적봉 으로 이동 hano..

[오픽노잼] 오픽 공부법 - IM 시리즈 요약 (1)

우연히 알게된 오픽노잼, 기존의 암기식 OPIC 공부법에서 벗어나 원어민의 입장에서 가장 자연스럽고 영어를 잘 하는 것처럼 보이는 방법을 알려 준다. 솔직히 이름은 IM 시리즈이지만, 이걸로 오픽 답변의 체질을 바꾸면 IH도 갈 수 있다고 한다. 오픽노잼이 제시하는 오픽 답변 규칙 1. Never Ask Ava a question (Ava한테 질문하지 마라) 엄청 이상해 보인다. 2. Do not use difficult words that you are uncomfortable with. (어려운 단어 사용하지 마라) 쉬운 단어로 자신감 있게 말하는 게 자연스러워 보인다. 3. Try not to repeat the same word in the same sentence. (한 문장에서 같은 단어 반복..

[OPIc Script] Family & Friend (가족 & 친구)

Vocabulary Company worker: 회사원 Housewife: 주부 Stock/Housing market: 주식/부동산 시장 Global warming: 지구 온난화 Scandals of actors/actress Met in [elementary/middle/high] school Live [a hour] away from [my office]: 사무실에서 1시간 떨어진 거리에 살다. Work for a company/the government: 회사/정부에서 일한다. Have known each other for 10 years: 10년동안 알고 지낸 사이다. Talk/chat about 주제 Talk to each other Complain about 대화 주제 Be (deeply/so..

[OPIc Script] TV

Vocabulary TV 출연자들 지칭하는 말: Actor, Comedian, Anchor (Audience) Rating: 평점 Popular / beloved / most-viewed Entertaining / enjoyable Captivating / fascinating Educational / helpful Mundane / ordinary / trivial Crucial / significant Complicated / complex Be/get interested in lost interest in Be on 채널/요일/시간: ~중이다 Q1) What kinds of TV show do you like to watch? [Ans] Um, I usually watch TV shows after..

[OPIc Script] SNS

Vocabulary Attention / Sympathy: 관심 / 동정 Fad = the things that are popular Defamation of character: 명예 훼손 Add 사람 to a list of contacts Like / tap a heart icon Go viral: 입소문이 나다 Gain/Win popularity: 인기를 얻다 Blame/Accuse 사람A for 행동B: 행동 B 때문에 사람 A 을 비난하다 Slander: 모략/비방(하다) Put up with / stand: 참고 견디다 Become addicted to: ~에 중독되다 Be obsessed by/with: ~에 사로잡히다 Be crazy about Popular among 연령대 people V..

반응형