The trick is, we can work on a reversed vector - learnt from EPI.class Solution {public: vector plusOne(vector &digits) { std::reverse(digit...
分类:
其他好文 时间:
2014-07-22 00:33:36
阅读次数:
223
Given an array of integers, every element appearsthreetimes except for one. Find that single one.Note:Your algorithm should have a linear runtime comp...
分类:
其他好文 时间:
2014-07-22 00:28:38
阅读次数:
209
Ceph uniquely delivers object, block, and file storage in one unified system. ceph提供了filesystem, block device, object store三种使用方式. 准确来说下面我们只讲它的block device,由于他们的基础都是要...
分类:
其他好文 时间:
2014-07-21 23:39:36
阅读次数:
641
DZY Loves Modification
Time Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u
Submit
Status
Practice
CodeForces 446B
Description
As we know, DZY loves playing games. One da...
分类:
其他好文 时间:
2014-07-21 23:29:41
阅读次数:
243
Problem Description
The TV shows such as You Are the One has been very popular. In order to meet the need of boys who are still single, TJUT hold the show itself. The show is hold in the Small hall...
分类:
其他好文 时间:
2014-07-21 22:36:27
阅读次数:
249
Sum of Consecutive Prime Numbers
Description
Some positive integers can be represented by a sum of one or more consecutive prime numbers. How many such representations does a given positive ...
分类:
其他好文 时间:
2014-07-21 22:18:12
阅读次数:
222
Description
The multiplication puzzle is played with a row of cards, each containing a single positive integer. During the move player takes one card out of the row and scores the number of points ...
分类:
其他好文 时间:
2014-07-21 22:11:18
阅读次数:
289
Agri-Net
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 38805
Accepted: 15674
Description
Farmer John has been elected mayor of his town! One of his campa...
分类:
其他好文 时间:
2014-07-21 14:12:34
阅读次数:
278
Agri-Net
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 38809
Accepted: 15676
Description
Farmer John has been elected mayor of his town! One of his campa...
分类:
Web程序 时间:
2014-07-21 14:04:09
阅读次数:
312
Agri-Net
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 38801
Accepted: 15671
Description
Farmer John has been elected mayor of his town! One of his campa...
分类:
Web程序 时间:
2014-07-21 11:42:34
阅读次数:
249