알고리즘/BOJ

백준 16648번 Accumulator Battery

꾸준함. 2021. 3. 24. 02:43

문제 링크입니다: www.acmicpc.net/problem/16648

 

16648번: Accumulator Battery

The only line of the input contains two integers t and p — time Anna needs to get from her home to the meeting place, in minutes, and the battery level of her phone at the moment of meeting, in percent (1 ≤ t ≤ 360; 1 ≤ p ≤ 99).

www.acmicpc.net

에코 모드일 때는 배터리 닳는 속도가 2배 느려진다는 것을 명심하면 간단하게 풀 수 있는 문제였습니다.

 

 

개발환경:Visual Studio 2017

 

지적, 조언, 질문 환영입니다! 댓글 남겨주세요~

반응형

'알고리즘 > BOJ' 카테고리의 다른 글

백준 16727번 ICPC  (0) 2021.03.26
백준 16693번 Pizza Deal  (0) 2021.03.25
백준 16600번 Contemporary Art  (0) 2021.03.24
백준 16486번 운동장 한 바퀴  (0) 2021.03.24
백준 16431번 베시와 데이지  (0) 2021.03.24