摘要:
【题目来源】 AtCoder:E - Repeat Playback and Partial Matching 【题目描述】 Takahashi has a song represented by a string \(S\) of length \(N\) consisting of lowerc 阅读全文
posted @ 2026-06-21 11:24
团爸讲算法
阅读(11)
评论(0)
推荐(0)
摘要:
【题目来源】 AcWing:867 分解质因数 - AcWing题库 【题目描述】 给定 \(n\) 个正整数 \(a_i\),将每个数分解质因数,并按照质因数从小到大的顺序输出每个质因数的底数和指数。 【输入】 第一行包含整数 \(n\)。 接下来 \(n\) 行,每行包含一个正整数 \(a_i\ 阅读全文
posted @ 2026-06-21 11:23
团爸讲算法
阅读(22)
评论(0)
推荐(0)
浙公网安备 33010602011771号