C++-STL
数论只会GCD
研二在读
展开
-
HDU 1276 STL链表模拟
传送门 : HDU 1276AC code:#include<iostream>#include<list>#include<vector>using namespace std;int main() { int t; cin >> t; int n; while (t--) { cin >> n; list<int> l;原创 2016-12-26 19:12:23 · 673 阅读 · 0 评论 -
蓝书 LA 3135 优先队列入门
传送门:LA 3135题解 优先对列入门运用 优先对列支持<重载, 可保持队列的有序性AC code:/* File : 优先队列.cpp Author : adrui Lang : C++*/#include<iostream>#include<queue>#include<cstdio>using namespace std;struct Node原创 2017-01-17 22:04:22 · 462 阅读 · 0 评论