同学编了两道题来问我,本蒟蒻没有思路,麻烦各位大佬多多指教!可以发一下AC代码来参考一下,谢谢! 以下是链接: https://www.luogu.com.cn/problem/U163072 https://www.luogu.com.cn/problem/U163074