[백준 알고리즘] 5543번 상근날드 (Python, Java)
언어, 알고리즘 공부/백준2020. 3. 7. 14:47[백준 알고리즘] 5543번 상근날드 (Python, Java)

bur_min = 2000 bev_min = 2000 for i in range(3): n = int(input()) bur_min = min(n, bur_min) for i in range(2): m = int(input()) bev_min = min(bev_min, m) print(bur_min + bev_min - 50) import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(ne..

image