算法之韓信點兵

已知:韓信點兵,不足百人,3人一行多一人,7人一行少兩人,5人一行正好。請問韓信點的兵人數多少?代碼實現以下:it package com.itszt.test8; /** * 韓信點兵 * a total%3 1 * b total%7 5 * c total%5 0 * total {1,100} */ public class Te
相關文章
相關標籤/搜索