마음만은 새내기

항상 초심을 잃지 않고 생활하겠습니다~!

프로그래밍 92

[백준] #13063 : Lobby

★ solved.ac 난이도 : B3 (작성 시점 기준) [문제 본문 링크] 13063번: Lobby There are multiple test cases in the input. Each test case appears in one line containing three space-separated integers n, m and k which respectively are the total number of members, the number of members in the Conservative Party and the number of member www.acmicpc.net ★ 문제 번역 당신은 의회에서 "보수당"의 일원입니다. "개혁당"이라는 정당이 하나 더 있습니다. 의회의 다른 구성원은 무..

개발 일지_20230212

최근 들어 과거에 제작하였던 Android 응용 프로그램인 타자 게임과 터치 게임의 개선 작업을 시작하였다. 언제 완료될지는 미지수이지만, 열심히 제작해서 서비스를 제공하고 싶다는 생각이 들었다. 기존의 Google Play Games 서비스의 연동을 해제하고 AWS 기능을 최대한 활용해서 응용 프로그램을 다시 제작하고 있다. Apache + PHP + MariaDB 서버를 활용하여 REST 방식과 비슷하게 구현하고 응용 프로그램에서 이를 호출하는 방식으로 데이터를 주고받도록 제작하려고 한다. 사용자 인증 등과 관련해서는 Firebase를 활용하려고 한다. 타자 게임은 자판 구현과 음절 연습 부분을 작업했으며, 단어 연습 부분도 작업이 진행 중이다. 터치 게임은 다양한 미니 게임을 추가할 생각도 있다. ..

[백준] #11759 : Bottled-Up Feelings

★ solved.ac 난이도 : B3 (작성 시점 기준) [문제 본문 링크] 11759번: Bottled-Up Feelings The input consists of a single line containing three positive integers s v1 v2, where s ≤ 106 is the volume of the shipment, and v1, v2 ≤ 106 are the volumes of the two types of bottles, with v1 > v2. www.acmicpc.net ★ 문제 번역 Peter는 대량의 연료유 선적을 기대하고 있지만, 작은 문제가 있습니다. (이 프로그래밍 문제에 있는 모든 사람이 그렇지는 않습니다!) 그가 가지고 있는 유일한 용기는 큰 병 세트(..

[백준] #8794 : Poniedziałki

★ solved.ac 난이도 : B3 (작성 시점 기준) [문제 본문 링크] 8794번: Poniedziałki Jarek szczerze nie cierpi poniedziałków. Zaraz po sylwestrze postanowił napisać program, który obliczy ile poniedziałków czeka go w nowym roku 2011. Ponieważ jest dobrym programistą, uogólnił program tak, aby dało się go używać także an inn www.acmicpc.net ★ 문제 번역 Jarek은 월요일을 싫어합니다. 그는 새해 전야 직후에 2011년 새해에 자신을 기다리는 월요일이 몇 개인지 계산하는 프로그..

[백준] #3507 : Automated Telephone Exchange

★ solved.ac 난이도 : B3 (작성 시점 기준) [문제 본문 링크] 3507번: Automated Telephone Exchange In St Petersburg phone numbers are formatted as “XXX–XX–XX”, where the first three digits represent index of the Automated Telephone Exchange (ATE). Each ATE has exactly 10 000 unique phone numbers. Peter has just bought a new flat and now he wants www.acmicpc.net ★ 문제 번역 St Petersburg에서 전화번호는 "XXX-XX-XX" 형식으로 되어 있으며,..