分苹果(小学奥数)
No testdata at current.
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
Background
Description
有两堆一样多的苹果,老师将第一堆苹果分给男生,每人4个,最后剩下6个。 老师又将第二堆苹果分给女生,每个5个,最后剩下5个。 已知男生比女生多1人。 求:女生有多少人?男生有多少人?苹果有多少个?
Format
Input
Output
Samples