A regular box of cupcakes holds 8 cupcakes, while a small box holds 3 cupcakes. There are 28 students in a class and a total of at least 28 cupcakes. Your job is to determine how many cupcakes will be left over if each student gets one cupcake.
The input consists of two lines.
Output the number of cupcakes that are left over.
2 5
3
2 4
0
ID | User | Problem | Subject | Hit | Post Date |
沒有發現任何「解題報告」 |