上一页 1 ··· 3 4 5 6 7 8 9 下一页

2017年8月15日

bitset类型, 标准库类型

摘要: C++ primer 17.2 bitset类型, 标准库类型 1 使得位运算更容易实现, 并且能够处理超过最长整型大小的位集合. bitset定义在bitset中 定义和初始化bitset 1... 阅读全文

posted @ 2017-08-15 21:47 zzuzxy 阅读(223) 评论(0) 推荐(0)

2017年8月9日

大整数类模版(部分)

摘要: 刘汝佳算法竞赛入门经典BigIngeger代码#include //C语言io#include //以下是c语言常用头文件#include #include #include #include #... 阅读全文

posted @ 2017-08-09 23:58 zzuzxy 阅读(128) 评论(0) 推荐(0)

2017年8月7日

C. Ray Tracing

摘要: Intel Code Challenge Final Round (div.1 + div.2 combined) editorial C. Ray Tracing time limit per ... 阅读全文

posted @ 2017-08-07 22:47 zzuzxy 阅读(196) 评论(0) 推荐(0)

2017年8月6日

Fence Repair POJ - 3253

摘要: Fence Repair Farmer John wants to repair a small length of the fence around the pasture. He measu... 阅读全文

posted @ 2017-08-06 23:48 zzuzxy 阅读(102) 评论(0) 推荐(0)

欧几里得扩展

摘要: 源网址 欧几里得扩展证明(自我感觉最好懂得一种写法) ① ,当b = 0 时,gcd(a, b) = a , 此时 x = 1, y = 0;② ,当 a * b 0 时,设 a * x + b... 阅读全文

posted @ 2017-08-06 21:50 zzuzxy 阅读(123) 评论(0) 推荐(0)

Color the ball HDU - 1556

摘要: N个气球排成一排,从左到右依次编号为1,2,3….N.每次给定2个整数a b(a #include #include #include using namespace std;const int ... 阅读全文

posted @ 2017-08-06 07:52 zzuzxy 阅读(101) 评论(0) 推荐(0)

2017年8月2日

Codeforces Round #377 (Div. 2)

摘要: D. Exams 题目http://codeforces.com/problemset/problem/732/D time limit per test 1 second memory limi... 阅读全文

posted @ 2017-08-02 20:28 zzuzxy 阅读(91) 评论(0) 推荐(0)

Tea

摘要: G - Tea HDU - 5881 这一题的复杂之处在于考虑到各种各样的情况#includeusing namespace std;typedef long long LL;int main(v... 阅读全文

posted @ 2017-08-02 18:22 zzuzxy 阅读(157) 评论(0) 推荐(0)

田忌赛马HDU - 1052

摘要: Tian Ji – The Horse Racing HDU - 1052题意两千三百多年前,田忌采取孙膑的方法, 用上等马对齐威王的中等马,中等马对齐威王的下等马,下等马对齐威王的上等马赢得了比... 阅读全文

posted @ 2017-08-02 00:32 zzuzxy 阅读(194) 评论(0) 推荐(0)

2017年7月31日

Codeforces Round #426 (Div. 2)

摘要: C. The Meaningless Game time limit per test 1 second memory limit per test 256 megabytes input sta... 阅读全文

posted @ 2017-07-31 21:03 zzuzxy 阅读(82) 评论(0) 推荐(0)

上一页 1 ··· 3 4 5 6 7 8 9 下一页

导航