# ============================================================ # Practice Problem 1: Find Maximum (1D List) # ============================================================ # [Problem] # Input 5 integers. # Print the maximum value. # [Input Example] # 3 7 2 9 5 # [Output Example] # 9 # [Hint] # - Use a for loop # - Compare and update max value # Write your code below: # ============================================================ # Practice Problem 2: Find Maximum and Position (1D List) # ============================================================ # [Problem] # Input 5 integers. # Print the maximum value and its position. # (Position starts from 1) # [Input Example] # 3 7 2 9 5 # [Output Example] # 9 # 4 # [Hint] # - Save max value # - Save index of max value # Write your code below: # ============================================================ # Practice Problem 3: Find Maximum (2D List) # ============================================================ # [Problem] # Input a 3x3 grid of integers. # Print the maximum value. # [Input Example] # 1 2 3 # 4 5 6 # 7 8 9 # [Output Example] # 9 # [Hint] # - Use nested for loops # - Compare all numbers # Write your code below: # ============================================================ # Practice Problem 4: Find Maximum and Position (2D List) # ============================================================ # [Problem] # Input a 3x3 grid of integers. # Print the maximum value and its position. # (Row and column start from 1) # [Input Example] # 1 2 3 # 4 9 6 # 7 8 5 # [Output Example] # 9 # 2 2 # [Hint] # - Save max value # - Save row index # - Save column index # - Use nested for loops # # This problem is very similar to BOJ 2566. # Write your code below:
To embed this project on your website, copy the following code and paste it into your website's HTML: