题目地址: http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3791题目描述: 给定两个长度为n的01串s1,s2,要求用k步,每一步反转s1的m个位置的数码(即0变为1,1变为0),问能有多少种做法,在k步之后将s1变成s....
分类:
其他好文 时间:
2014-07-22 22:53:54
阅读次数:
193
一:mmc的命令例如以下:1:对mmc读操作mmc read addr blk# cnt 2:对mmc写操作 mmc write addr blk# cnt3:对mmc擦除操作mmc erase blk# cnt4:又一次搜索mmc设备mmc rescan5:列出mmc的分区mmc part ...
分类:
其他好文 时间:
2014-07-22 22:51:54
阅读次数:
222
Charm Bracelet
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 22621
Accepted: 10157
Description
Bessie has gone to the mall's jewelry store and spies a...
分类:
其他好文 时间:
2014-07-19 23:46:49
阅读次数:
318
In this article, I gathered up all the dumps, who found. If you see something new table will be updated.If you want to replenish the base - write in c...
分类:
移动开发 时间:
2014-07-19 23:12:35
阅读次数:
867
Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space for a...
分类:
其他好文 时间:
2014-07-19 22:19:36
阅读次数:
202
Given inorder and postorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.题解:如下图所示的一棵树: ...
分类:
其他好文 时间:
2014-07-19 19:00:44
阅读次数:
262
Linked List CycleGiven a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?算法思路1:快慢指针,当两个指针相遇,则表示有环,...
分类:
其他好文 时间:
2014-07-19 18:38:30
阅读次数:
198
Given preorder and inorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.类似http://www.cn...
分类:
其他好文 时间:
2014-07-19 18:19:06
阅读次数:
243
D -Mutiples on a circleTime Limit:1000MSMemory Limit:65535KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionTom has a necklace with n jewels. Ther...
分类:
其他好文 时间:
2014-07-19 16:04:54
阅读次数:
275
Y2K Accounting Bug
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 10120
Accepted: 5046
Description
Accounting for Computer Machinists (ACM) has sufferred ...
分类:
其他好文 时间:
2014-07-19 11:11:54
阅读次数:
224