1、题目
2-3 (Time Limit: 7 minutes): I gave each friend 28 coins, and I had 1 coin left over. If I had
1 less friend, each would get an equal num‐ber of coins (fewer than 50), and there’d be
none left over. How many coins do I have?
题意:我给每个朋友 28 个金币,还剩1个金币;如果我不给一个朋友金币的话,剩下的每个朋友都有相同的金币,并且没有剩余,请问我一共有多少个金币
2、题解
如果少了一个朋友,那么他的 28 个金币和分剩下的一个金币,共 29 个金币就被平均分给剩下的朋友们了。那么就是说,剩下的朋友有 29个,因此原来一共有 29+1=30个朋友
所以我一共有30 * 28 + 1 = 841个金币。
3、验算
那么,怎么验算呢??
就是把题目给的数据验证一下
841/28=30......1,✔
841/(30-1)=29,✔
所以这道题就✔了