백준/JAVA
2022. 8. 26.
[Baekjoon/JAVA] 8370번 - Plane
Baekjoon Online Judge 문제 Byteland Airlines recently extended their aircraft fleet with a new model of a plane. The new acquisition has n1 rows of seats in the business class and n2 rows in the economic class. In the business class each row contains k1 seats, while each row in the economic class has k2 seats. Write a program which: reads information about available seats in the plane, calculates ..