摘要:
【题目来源】 学而思编程:二元函数 【题目描述】 能用非负整数 \(a\),\(b\) 表示为:\(X=a^3+a^2b+ab^2+b^3+a^2+ab+b^2\) 形式的整数 \(X\) 称作“特别数”。给你一个非负整数 \(n\),求大于等于 \(n\) 的最小的“特别数” 【输入】 \(1\) 阅读全文
posted @ 2026-07-04 12:16
团爸讲算法
阅读(4)
评论(0)
推荐(0)
摘要:
【题目来源】 学而思编程:智能饭盒 【题目描述】 有 \(n\) 个食物和一个饭盒。第 \(i\) 个食物含有 \(a_i\) 克脂肪和 \(b_i\) 克蛋白质。 小猴要选择一些食物装进饭盒里,这是个智能饭盒,可以测定食物的脂肪和蛋白质含量,小猴想要选出的食物合计至少含有 \(x\) 克脂肪和 \ 阅读全文
posted @ 2026-07-04 12:14
团爸讲算法
阅读(4)
评论(0)
推荐(0)
摘要:
【题目来源】 AtCoder:A - Bus Departure Time 【题目描述】 Takahashi is a chaperone teacher on a field trip, and his role is to give the departure signal after all 阅读全文
posted @ 2026-07-04 09:37
团爸讲算法
阅读(4)
评论(0)
推荐(0)
摘要:
【题目来源】 AtCoder:B - Bus Tour Group Division 【题目描述】 Takahashi is a tour conductor at a travel agency. For the upcoming bus tour, \(N\) participants have 阅读全文
posted @ 2026-07-04 09:37
团爸讲算法
阅读(4)
评论(0)
推荐(0)
摘要:
【题目来源】 AtCoder:C - Farm Harvest Festival 【题目描述】 Takahashi manages a vast farm. The farm has \(N\) plots arranged in a row, numbered from \(1\) to \(N\ 阅读全文
posted @ 2026-07-04 09:37
团爸讲算法
阅读(7)
评论(0)
推荐(0)
摘要:
【题目来源】 AtCoder:B - Connecting Pipes 【题目描述】 Takahashi has \(N\) pipes. The length of the \(i\)-th pipe is \(A_i\). Some pipes are rusted. If the \(i\)- 阅读全文
posted @ 2026-07-04 09:22
团爸讲算法
阅读(7)
评论(0)
推荐(0)
摘要:
【题目来源】 AtCoder:A - Correcting the Household Account Book 【题目描述】 Takahashi is keeping a household account book for \(N\) days. Takahashi's account bala 阅读全文
posted @ 2026-07-04 09:22
团爸讲算法
阅读(6)
评论(0)
推荐(0)
摘要:
【题目来源】 AtCoder:D - City Tour Rally 【题目描述】 Takahashi is participating in a rally that goes through \(N\) cities. The cities are numbered \(1\) through 阅读全文
posted @ 2026-07-04 09:16
团爸讲算法
阅读(6)
评论(0)
推荐(0)
摘要:
【题目来源】 AtCoder:B - Library Book Lending 【题目描述】 Takahashi works part-time at a university library. At this library, the books a student can borrow are 阅读全文
posted @ 2026-07-04 09:16
团爸讲算法
阅读(2)
评论(0)
推荐(0)
摘要:
【题目来源】 AtCoder:A - Error Analysis of Temperature Forecasts 【题目描述】 Takahashi aims to become a weather forecaster and is practicing by forecasting the d 阅读全文
posted @ 2026-07-04 09:16
团爸讲算法
阅读(2)
评论(0)
推荐(0)
浙公网安备 33010602011771号