백준 7단계 no.5
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int m = sc.nextInt(); int[] num = new int[m]; for (int i = 0; i < num.length; i++) { int h = sc.nextInt(); int w = sc.nextInt(); int n = sc.nextInt(); if (n%h == 0) { num[i] = (h*100)+(n/h); } else { num[i] = (n%h*100)+((n/h)+1); } } for( int i : num) { System.out.println(i); } }..