摘要: #include #include using namespace std; int a,b; long long qp(int a,int b) { int t=1;int y=a; while (b) { if (b&1) t=t*y;//whether odd or not y=y*y; b=b>>1; ... 阅读全文
posted @ 2017-06-27 15:49 Michael_Zhuang 阅读(176) 评论(0) 推荐(0) 编辑
摘要: Code: Re: Kruskal 水题一枚,初转CPP练练手 (PS:类似HF奥考机试第二题,然而我并没有看粗来,果然是蒟蒻Orz) 阅读全文
posted @ 2017-06-27 15:02 Michael_Zhuang 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 开始转cpp 阅读全文
posted @ 2017-06-27 09:24 Michael_Zhuang 阅读(117) 评论(0) 推荐(0) 编辑