- 博客(3)
- 收藏
- 关注
原创 大数运算
C++ 中一直错用cstring,今天终于出错了,改回string 才好了 Round and Round We Go Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 10549 Accepted: 4830 Description A cyclic number is a...
2012-08-18 21:47:15
337
1
转载 poj 1753 翻转棋盘
这个题目花了我很长时间,主要是用在考虑到底哪种方法合适。我只学会了其中关于组合的方法和用bfs加位运算的方法,至于0ms的方法,至今未明白。 下文是我粘到的两种方法 POJ1753 棋盘翻转(位压缩+广度优先搜索) http://poj.org/problem?id=1753 题目大意:有一个4*4的方格,每个方格中放一粒棋子,这个棋子一面是白色,一面是黑色。游戏规则为每次任选16颗中的
2012-08-18 15:03:56
823
原创 ACM 第一天 大数运算
Description As we all know the Train Problem I, the boss of the Ignatius Train Station want to know if all the trains come in strict-increasing order, how many orders that all the trains can get ou
2012-08-07 08:29:56
335
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅