题解列表
1262: 邮局选址问题(模拟退火)
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>
using namespace std;
struct poit
{
int x;
int y;
}p[1……
#C++1052——[编程入门]链表合并(STL)
摘要:解题思路:结构体链表,函数参数传对象,排序的时候指明排序规则;注意事项:STL链表下的sort,以及merge函数(归并前,先排序)的使用方法;参考代码:#include <iostream>
#i……