摘要: A 分析 1.写一个结构体排序,把内存小的放前面,相等时,把对应附増的内存量大的放前面。 2.最后输出最大的内存量 AC代码 ​ #include<iostream> #include<algorithm> using namespace std; struct nm { int a,b; }s[1 阅读全文
posted @ 2022-01-24 13:03 szf45 阅读(62) 评论(1) 推荐(0)