- 博客(4)
- 收藏
- 关注
原创 PAT甲级1045 Favorite Color Stripe分享
题目描述:Eva is trying to make her own color stripe out of a given one. She would like to keep only her favorite colors in her favorite order by cutting off those unwanted pieces and sewing the remaining parts together to form her favorite color stripe.It is s
2025-03-30 10:38:14
1859
原创 1038 Recover the Smallest Number分享
题目描述:Given a collection of number segments, you are supposed to recover the smallest number from them. For example, given { 32, 321, 3214, 0229, 87 }, we can recover many numbers such like 32-321-3214-0229-87 or 0229-32-87-321-3214 with respect to differen
2025-03-25 15:10:59
554
原创 PAT甲级1034Head of Gang
/记录群组号和累计通话时间。对此题写了一个递归式的gangs划分,同一个gangs传播式扩张;//先给每个人分配一个群组。//根据信息来融合群组。//以群组号分开记录。
2025-03-23 11:44:08
1405
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅