코드포스 썸네일형 리스트형 [코드포스 Practice6] C. Food on the Plane A new airplane SuperPuperJet has an infinite number of rows, numbered with positive integers starting with 1 from cockpit to tail. There are six seats in each row, denoted with letters from 'a' to 'f'. Seats 'a', 'b' and 'c' are located to the left of an aisle (if one looks in the direction of the cockpit), while seats 'd', 'e' and 'f' are located to the right. Seats 'a' and 'f' are located near.. 더보기 [코드포스 Practice6] B. Mammoth's Genome Decoding The process of mammoth's genome decoding in Berland comes to its end! One of the few remaining tasks is to restore unrecognized nucleotides in a found chain s. Each nucleotide is coded with a capital letter of English alphabet: 'A', 'C', 'G' or 'T'. Unrecognized nucleotides are coded by a question mark '?'. Thus, s is a string consisting of letters 'A', 'C', 'G', 'T' and characters '?'. It is kn.. 더보기 [코드포스 Practice6] A. Police Recruits The police department of your city has just started its journey. Initially, they don’t have any manpower. So, they started hiring new recruits in groups. Meanwhile, crimes keeps occurring within the city. One member of the police force can investigate only one crime during his/her lifetime. If there is no police officer free (isn't busy with crime) during the occurrence of a crime, it will go un.. 더보기 [코드포스 Practice6] 후기 경험상 후기는 빨리 적는 게 좋음 그래서 곧 수업이지만 호다닥 적어야지 암튼 이번 코포 요약하면 심장 쿵쾅쿵쾅 바운스 와그작 막 사람들이 멘탈관리해라~~ 할때 이런 거 안 믿었는데 (이 때의 나 : 멘탈은 무슨 걍 실력대로 치는거 아님?) ㅅㅂㅠㅠ 중간에 막혔을 때 부터 심장 바사삭됨 밝히자면 오늘 5문제 중 한 문제 맞았다 꺌꺌 흑흑 바사삭 게다가 보통 폰이랑 카톡 다 꺼놓고 하는데 하필 오늘 까먹고 안 껐고 교수님(??) 전화와서 A 풀다가 5분동안 전화하고 왔음 으아악 그 이후로도 영어 안 읽히고, 풀었는데 코드 안 돌아가고 그러다 한문제로 끝나버렸음.. 종강하고 일 없는 백수니깐 그때는 문제 해석이나 꾸준히 해야겠다.. 진짜.. 내 영어실력에 회의감이 듬.. 토익때도 안 들었는데 코포풀다가 정신 .. 더보기 [코드포스 Practice5] E. Joty and Chocolate Little Joty has got a task to do. She has a line of n tiles indexed from 1 to n. She has to paint them in a strange pattern. An unpainted tile should be painted Red if it's index is divisible by a and an unpainted tile should be painted Blue if it's index is divisible by b. So the tile with the number divisible by a and b can be either painted Red or Blue. After her painting is done, she will ge.. 더보기 [코드포스 Practice5] D. K-Dominant Character 문제 짧아서 아싸링 했는데 무슨 뜻인지 몰라서 넘어갔음ㅋㅋㅋㅋ 번역도 해보려 했는데 아니 이게 무슨 말이지?? 싶었다. c가 포함된 길이의 최솟값 2 이고 zzzzz -> 1 이므로 아 그럼 가장 가까운 문자의 길이를 구하는 거구나!싶었는데 abcde가 3인 거 보고 어.. 버버.. 버.. 패스했다. 계속 왜 5가 아니지 싶었음 이거 다시보니깐 그문제였다. 파라메트릭 서치!!! 반가웠음. 사실 정말 반가운 건 아니고 그냥 아는 거 나와서 조건반사적 반가움이었다. 파라메트릭 서치랑은 아직 낯선 사이임,, 이렇게 생각했는데 자꾸 어디서 문제가 생겨서 확인해봤더니 이 부분이 문제였다. 이거 a.size()여야 하는데 s.length()로 해서 z 넣으니 값이 이상하더라 #include #include #inc.. 더보기 [코드포스 Practice5] C. Mind the Gap These days Arkady works as an air traffic controller at a large airport. He controls a runway which is usually used for landings only. Thus, he has a schedule of planes that are landing in the nearest future, each landing lasts 11 minute. He was asked to insert one takeoff in the schedule. The takeoff takes 11 minute itself, but for safety reasons there should be a time space between the takeoff.. 더보기 [코드포스 Practice5] B. Oath of the Night's Watch "Night gathers, and now my watch begins. It shall not end until my death. I shall take no wife, hold no lands, father no children. I shall wear no crowns and win no glory. I shall live and die at my post. I am the sword in the darkness. I am the watcher on the walls. I am the shield that guards the realms of men. I pledge my life and honor to the Night's Watch, for this night and all the nights .. 더보기 이전 1 ··· 11 12 13 14 15 16 다음