
模拟
dherorunner
光电信息科学专业,有志考研计算机。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
例题 5-5 集合栈计算机 Uva 12096
#include #include #include #include #include #include #include using namespace std; const int maxn=10000; typedef set Set; map IDcache; vector Setcache; #define ALL(x) x.begin(),x.end() #define原创 2017-03-11 17:28:20 · 348 阅读 · 0 评论 -
习题5-6 对称轴 UVA1595
#include #include #include using namespace std; const int MAX=100000000; //用一个vector到int的字典来存储所有的点,y值作为Key,相同y值的点被存入同一个vector里。 //判断时,先计算第一个key值下的所有数的平均值,然后将之后的Key值下的平均值与它比较,只要有一个不相同则输出NO。 /原创 2017-03-22 21:08:33 · 276 阅读 · 0 评论 -
ducci序列 Uva1594
#include #include #include #include using namespace std; int main() { int N;//问题数 cin>>N; while(N--) { int number;//数字的数量 cin>>number; vectorin原创 2017-03-22 21:39:13 · 408 阅读 · 0 评论